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.

Done with GitHub Copilot· Intermediate

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.