Set up a file-based system for Copilot agent chats
Use VS Code workspaces and prompt files to route tasks to the right GitHub Copilot agent without juggling dozens of separate chats.
- What they did
- They built a file-based setup in VS Code instead of relying on scripts or a framework. One workspace acted as the coordinator, with files for task handoffs, agent-to-agent messages, and a history folder. A command like /assign Python "task 1" would look for an open agent, pull the right item from a spec, write a short assignment into that agent’s file, and then they opened the matching workspace with the needed repo access.
- How it went
- The setup let them handle work across about 100 repos by turning many one-off Copilot chats into a smaller set of reusable agents that could keep context over time. They had only been using it for about a week, so they had not yet learned how well it would hold up if the conversation history kept growing.
- Tips
- This kind of system works best when the shared files stay simple and easy to scan. Plan for regular cleanup, since they expected to move old communication into history each week.
Try it yourself with GitHub Copilot
I need a simple way to manage multiple GitHub Copilot agent chats across [number] workspaces and [number] projects in VS Code. Design a file-based workflow with one coordinator area, a place for task assignments, a place for agent messages, and a history folder. Show me a naming scheme, a process for assigning a task to the right agent, and a template I can reuse in each workspace. Pause and ask me to approve the assignment before you do anything that would send, submit, delete, or change files.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Have Copilot repair an existing pull request
A developer used GitHub Copilot to patch a PR, but it created a separate PR instead of updating the original branch.
Use Copilot to handle small site edits in draft PRs
A developer handed GitHub Copilot two minor website tweaks and got back separate draft pull requests that were easy to test and merge.
Have Copilot plan, patch, and open the PR for you
A developer used GitHub Copilot to shape a ticket into a plan, make the edits, and prepare the ticket and pull request after a manual check.
Use Copilot agents to ship a staff roster app
They built a Next.js staff roster app with Copilot agents, including 20 sample employees and editable records.
Set up a staged Copilot workflow in VS Code
A developer split a feature job into several Copilot roles in VS Code and used files on disk to carry the work across stages.
Use Copilot to break a Terraform project into small steps
A writer used GitHub Copilot to learn Terraform on the job and finish infrastructure work by leaning on repo docs and strict tool limits.