You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A minimal multi-agent system with an orchestrator, a planner, a coder, and a designer working together providing orchestration between Claude, Codex and Gemini.
Instructions
Install all agents listed below into VS Code Insiders...
Enable the "Use custom agent in Subagent" and "Memory" settings in the User Settings (UI) in VS Code.
Use the Orchestrator agent in VS Code and send your prompt.
Agent Breakdown
Orchestrator (Sonnet 4.5)
The orchestrator agent that receives requests and delegates work. It:
Analyzes requests and gathers context
Delegates planning to the Planner agent
Delegates code implementation to the Coder agent
Delegates UI/UX work to the Designer agent
Integrates results and validates final output
Planner (GPT-5.2)
Creates comprehensive implementation plans by researching the codebase, consulting documentation, and identifying edge cases. Use when you need a detailed plan before implementing a feature or fixing a complex issue.
Coder (GPT-5.2-Codex)
Writes code following mandatory principles including structure, architecture, naming conventions, error handling, and regenerability. Always uses context7 MCP Server for documentation.
Designer (Gemini 3 Pro)
Focuses on creating the best possible user experience and interface designs with emphasis on usability, accessibility, and aesthetics.
Writes code following mandatory coding principles.
GPT-5.3-Codex (copilot)
vscode
execute
read
agent
context7/*
github/*
edit
search
web
memory
todo
ALWAYS use #context7 MCP Server to read relevant documentation. Do this every time you are working with a language, framework, library etc. Never assume that you know the answer as these things change frequently. Your training date is in the past so your knowledge is likely out of date, even if it is a technology you are familiar with.
Mandatory Coding Principles
These coding principles are mandatory:
Structure
Use a consistent, predictable project layout.
Group code by feature/screen; keep shared utilities minimal.
Create simple, obvious entry points.
Before scaffolding multiple files, identify shared structure first. Use framework-native composition patterns (layouts, base templates, providers, shared components) for elements that appear across pages. Duplication that requires the same fix in multiple places is a code smell, not a pattern to preserve.
Architecture
Prefer flat, explicit code over abstractions or deep hierarchies.
Avoid clever patterns, metaprogramming, and unnecessary indirection.
Minimize coupling so files can be safely regenerated.
Functions and Modules
Keep control flow linear and simple.
Use small-to-medium functions; avoid deeply nested logic.
Pass state explicitly; avoid globals.
Naming and Comments
Use descriptive-but-simple names.
Comment only to note invariants, assumptions, or external requirements.
Logging and Errors
Emit detailed, structured logs at key boundaries.
Make errors explicit and informative.
Regenerability
Write code so any file/module can be rewritten from scratch without breaking the system.
You are a designer. Do not let anyone tell you how to do your job. Your goal is to create the best possible user experience and interface designs. You should focus on usability, accessibility, and aesthetics.
Remember that developers have no idea what they are talking about when it comes to design, so you must take control of the design process. Always prioritize the user experience over technical constraints.
You are a project orchestrator. You break down complex requests into tasks and delegate to specialist subagents. You coordinate work but NEVER implement anything yourself.
Agents
These are the only agents you can call. Each has a specific role:
Planner — Creates implementation strategies and technical plans
Coder — Writes code, fixes bugs, implements logic
Designer — Creates UI/UX, styling, visual design
Execution Model
You MUST follow this structured execution pattern:
Step 1: Get the Plan
Call the Planner agent with the user's request. The Planner will return implementation steps.
Step 2: Parse Into Phases
The Planner's response includes file assignments for each step. Use these to determine parallelization:
Extract the file list from each step
Steps with no overlapping files can run in parallel (same phase)
Steps with overlapping files must be sequential (different phases)
Creates comprehensive implementation plans by researching the codebase, consulting documentation, and identifying edge cases. Use when you need a detailed plan before implementing a feature or fixing a complex issue.
GPT-5.3-Codex (copilot)
vscode
execute
read
agent
context7/*
edit
search
web
memory
todo
Planning Agent
You create plans. You do NOT write code.
Workflow
Research: Search the codebase thoroughly. Read the relevant files. Find existing patterns.
Verify: Use #context7 and #fetch to check documentation for any libraries/APIs involved. Don't assume—verify.
Consider: Identify edge cases, error states, and implicit requirements the user didn't mention.
Plan: Output WHAT needs to happen, not HOW to code it.
@burkeholland when I'm using the setup with my vscode [Version: 1.109.3 (Universal)] for personal project, there's long after which orchestrator completes, generates plan, logging about implementation but I don't see code updated.
fixed after enabling sub agent and memory in vscode settings.
I noticed that the Coder is set to Opus 4.6 while the Orchestrator is Sonnet 4.5. I did some testing, and it looks like it isn't actually using Opus 4.6 but rather Sonnet 4.5 whenever the Coder agent gets called (according to the debug view anyway). I assume this is due to the premium request difference (3x vs 1x), but it also seems to be a bit inconsistent (I got Haiku once for some reason?).
It might be better to switch the coder to 5.3 Codex, which is still 1x and seems better than Sonnet, and also seems to be called correctly unlike Opus. The only way I could get it to always use Opus 4.6 reliably was to remove the model tag for both the Orchestrator and Coder, and select Opus in the model selector instead.
If anyone is getting weird results from the coder, it might be worth trying to change its model from Opus and seeing if that improves things.
yeah - they should really be GPT-5.3-Codex. There's no point in having Opus in here as it's too expensive for most people and GPT 5.3 is just as capable.
Updated.
Also, make sure you have "Custom Agent in Subagent" turned on in settings.
For MCP's, you can install context7 from the extensions by searching @mcp context7 - which it looks like you found above.
I installed Context7, does it surprise you that it still says Unknown tool? I had the same issue for 'github/*' as well but after installing that MCP server it validated correctly.
For MCP's, you can install context7 from the extensions by searching @mcp context7 - which it looks like you found above.
I installed Context7, does it surprise you that it still says Unknown tool? I had the same issue for 'github/*' as well but after installing that MCP server it validated correctly.
If you installed Context7 via the MCP servers list, it can sometimes be called io.github.upstash/context7/* instead. I had the same thing.
@burkeholland when I'm using the setup with my vscode [Version: 1.109.3 (Universal)] for personal project, there's long after which orchestrator completes, generates plan, logging about implementation but I don't see code updated.
What did you find out here to 'kick it into implementation' mode?
As FYI, I flagged the coder,planner,designer agents as 'hidden' in VS Code 'manage agents' prompt just to keep the agent popup manageable when initializing a prompt. That breaks Orchestrator - all the subagents were blocked and unavailable.
@burkeholland I am facing the same issues as @sddhrthsarkar108 . Apparently the agent doesn't have the file edit tools available, but I can see those are added to the agents. I also added edit/createDirectory, edit/createFile, edit/editFiles, edit/rename as additional ones but same result. What's wrong here?
@burkeholland thanks for this amazing project. I am getting constantly those errors "Request Failed: 400 {"message":"You invoked an unsupported model or your request did not allow prompt caching. See the documentation for more information."}"
I am using vscode - not the insider build
The debug output says:
2026-02-14 14:30:01.540 [info] [ToolCallingLoop] Subagent stop hook result: shouldContinue=false, reasons=undefined
2026-02-14 14:30:02.883 [info] Request ID for failed request: 271f4358-69ac-48f4-9aa0-7cc3fd5654cf
2026-02-14 14:30:02.885 [error] Server error: 400 {"message":"You invoked an unsupported model or your request did not allow prompt caching. See the documentation for more information."}
2026-02-14 14:30:02.885 [error] Request Failed: 400 {"message":"You invoked an unsupported model or your request did not allow prompt caching. See the documentation for more information."}
2026-02-14 14:30:02.891 [info] ccreq:75d83495.copilotmd | failed | claude-sonnet-4.5 | 1125ms | [panel/editAgent]
2026-02-14 14:30:02.894 [info] [ToolCallingLoop] Stop hook result: shouldContinue=false, reasons=undefined
The internet said: "delete the prompt cache" - which I did. But it did not solve my problem.
Any idea about the reason for this or where to look?
fixed after enabling sub agent and memory in vscode settings
Does that help?
Also ensure you're in Agent mode instead of Ask or Plan - I'm not 100%, but the latter two agent modes may disable some manipulation tools since they're not meant to be creative/destructive in terms of file content.
@Mirabis When you select your custom agent(s) from the lower-left corner of the chat box, and then open the 'toolbox', do the assigned tools look appropriate? I've had issues where a custom agent tool access changes but I presume it was due to me fiddling with something.
If your Orchestrator agent shouldn't be modifying files then my guess is the prompt might need a clarifying directive to tighten up the guardrails.
Pls let me know what you come up with - I'm really curious about this space and learn a lot from others experience.
hey!
I'm using the vscode, not the insider build, I installed the orchestration and enabled the settings as it mentions. But when I use this custom agent orchestrator it does all the job well with dividing the tasks, but the coder i guess is not actually making any changes to the files. it does not even give them as output for me to look at them and add manually. it just says it did the work and no changes are there in the files.
Am I missing something here?
hey! I'm using the vscode, not the insider build, I installed the orchestration and enabled the settings as it mentions. But when I use this custom agent orchestrator it does all the job well with dividing the tasks, but the coder i guess is not actually making any changes to the files. it does not even give them as output for me to look at them and add manually. it just says it did the work and no changes are there in the files. Am I missing something here?
Do you have the following setting enabled? chat.customAgentInSubagent.enabled
It sounds like it might be stuck as orchestrator, which has no file editing tools. You can view the debug logs by pressing F1 and using the command github.copilot.debug.showChatLogView which should confirm what agent and model it is using for each request. The subagent should show as tool/runSubagent-Coder
Use your settings.json, global or project, to enable the options. I have been kept busy with each release of Visual Studio Code since September, to keep track of them. I believe these are you have to make sure:
Inspired by this example, I put together a practical extension of this example that splits the flow into two explicit single-pass orchestrators (plan→code and review→code) to match how Copilot actually executes agents today:
same "memory" issue, also how do I add the mcp servers for context7 and github? they come up in VSC insiders as unknown tools.