Agent Control Center
Run, watch, and control several AI agents at once in VS Code, using GitHub Copilot models, Claude models, or both. It's built for everyone, not just developers: writers, researchers, analysts, project managers, students, support teams, developers, and testers.
An agent works on a task step by step: it reads files, searches, drafts, analyzes, or edits. You can see every step, pause or stop it at any time, approve its changes before they happen, and undo them afterwards.
Highlights
- Dashboard and sidebar. All agents in one place, with live activity, a "Researching… 2 steps done" progress line, usage and estimated cost, and a status bar item showing how many agents are running.
- Safe by default. New agents start in Research mode, which only reads. File changes, deletions, shell commands, web requests, and external tools all ask for your approval. File changes show a diff first.
- Undo. Every step that changes files is saved first. Use Undo back to here to restore files and rewind the agent's conversation, or Undo this step to revert one step.
- Copilot and Claude. Pick a model per agent and change it between steps, or let routing rules choose. If a model fails, the agent switches to a fallback model automatically.
- Usage limits. Each agent has a token or dollar limit. When it reaches the limit, it pauses and asks before going further.
- Role presets, templates, and a setup wizard. Simple mode uses plain words; Advanced mode shows everything.
- Non-code files. Reads Markdown, text, CSV, PDF, Word (.docx), and Excel (.xlsx). Exports results as Markdown, Word, or PDF, or copies them to the clipboard.
- AI sessions. See what your other AI tools are doing, including the Copilot chat you're typing in right now: prompts, answers, every tool call, files changed, MCP servers used, permissions, tokens, and premium requests. Covers the Copilot agent (VS Code agent mode, Copilot CLI), Claude Code, and VS Code chat history.
- MCP servers. One page that records every MCP server configured for VS Code, Copilot CLI, Claude Code, Claude Desktop, and Cursor. Search servers and their tools, start, stop, and restart VS Code servers, find new servers in the MCP registry, add, copy, or remove them, and choose which ones agents may use.
Getting started
- Open Agent Control Center from the activity bar (robot icon), or click Agents in the status bar.
- The first time, choose what you do (Writer, Researcher, Analyst, Project Manager, Student, Support Agent, Developer, or Tester). This sets safe defaults and gives you starter tasks.
- Make sure a model is available:
- GitHub Copilot: install Copilot and sign in. No API key is needed. VS Code asks once for permission to let this extension use Copilot models.
- Claude: run Agents: Set Claude API Key. The key is stored in VS Code's secret storage (your system keychain), never in settings.
- Click + New agent, pick a template or describe the task, add any files it should use, and press Start.
Running agents
| Action |
What happens |
| Start |
Begins the task. |
| Pause |
Waits for the current step to finish, then pauses. A model call can't be frozen halfway, so the agent shows "Pausing after this step". |
| Resume |
Carries on. Pressing it while a pause is pending cancels the pause. |
| Stop |
Cancels the step in progress right away. |
| Continue |
Picks up a stopped, finished, or failed agent from where it left off. You can add a follow-up such as "make it shorter". |
| Restart |
Starts the task from scratch. Its conversation and undo history are cleared; files stay as they are. |
| Rename / Delete |
Delete also removes the agent's helpers, history, and unapplied suggestions. Files it already changed are not touched. |
Several agents can run in parallel. Any change you make to an agent's model, mode, or limit applies from its next step.
Modes
The mode decides which tools the model is even offered. Every call is checked again right before it runs, so a model can't use a tool it wasn't given.
| Mode |
Simple name |
Can do |
| Research (default) |
Look only |
Read files, list and search them, and fetch web pages (each site needs approval unless you allow it in settings). Never changes anything. |
| Plan |
Suggest changes |
Everything in Research, plus proposing file changes. Nothing is applied until you review each change and choose Apply or Apply all. |
| Edit |
Make changes |
Change files (with a diff to approve each change, configurable) and run commands (always asks). |
| Team |
Team of helpers |
Splits the work, hands parts to helper agents (which can only read or suggest), and combines their answers. Helpers appear nested under it. |
Custom modes (agentControlCenter.customModes) can set allowed tools, how changes are handled, a default model, a usage limit, and extra instructions:
"agentControlCenter.customModes": [
{
"id": "docs-writer",
"label": "Docs writer",
"allowedTools": ["read_file", "list_files", "search_text", "write_file", "edit_file"],
"writes": "approve",
"defaultModel": "claude:claude-sonnet",
"budget": { "maxCostUsd": 1 },
"systemPrompt": "Only edit files in docs/."
}
]
| Tool |
Risk |
Notes |
read_file |
read |
Text, Markdown, code, CSV, PDF, Word, Excel; long files are read in parts |
list_files, search_text |
read |
Skips build output and anything on the deny list |
web_fetch |
read, can't be undone |
Asks first unless the site is in webFetch.allowedDomains |
write_file, edit_file |
changes files |
Saved first so it can be undone; approval and diff in Edit mode; becomes a suggestion in Plan mode |
delete_file |
changes files |
Always asks |
run_command |
can't be undone |
Always asks; risky commands (git push, rm -r, sudo, …) are flagged |
| External / MCP tools |
can't be undone |
Tools from MCP servers configured in VS Code (vscode.lm.tools, names matching mcp_* by default, minus servers turned off on the MCP page); Edit or custom modes only; always asks |
remember |
- |
Saves a short note to workspace memory that later agents read |
delegate_task |
- |
Team mode only |
AI sessions
The AI sessions tab (and the AI Sessions list in the sidebar) shows sessions from other AI tools on this computer. Sessions that are running right now are marked Live and update every two seconds while the tab is open. The status bar shows how many are live in this workspace.
| Tool |
Where its log lives |
| Copilot agent (VS Code agent mode, Copilot CLI, Copilot SDK) |
~/.copilot/session-state/<id>/events.jsonl |
| Claude Code |
~/.claude/projects/<folder>/<id>.jsonl |
| VS Code chat |
VS Code's chatSessions storage for each workspace |
For each session you get:
- The title, folder, branch, models, mode, and whether it's live.
- Prompts, tool calls (and failures), files changed (with lines added and removed when the tool reports them), tokens in and out and from cache, premium requests or cost, permission prompts, and active time. Active time counts only time spent working, so a session resumed over several days isn't shown as days long.
- Files changed. Click a file to open it.
- MCP servers used and Most used tools.
- A timeline, newest first, filtered by Conversation, Tools, MCP, Permissions, Problems, or Everything. You can search it. Each tool call shows what it was for, how long it took, and its arguments and result under details. Long messages are collapsed.
- Export as Markdown, Open raw log, and Continue as an agent here, which starts a new agent pre-filled with the session's last prompt.
By default only sessions for the open workspace are listed. Switch to All to see every folder, or set sessions.showAllWorkspaces. Use sessions.sources to turn a tool off.
Sessions are read-only. Agent Control Center can show everything another tool did, but it can't pause, stop, or change that tool's session. Logs are read on this computer, never modified, and never sent to any model.
MCP servers
The MCP servers tab (and the MCP Servers list in the sidebar) is a record of every MCP server configured on this computer for the open workspace.
| App |
Files read |
| VS Code |
User mcp.json (and profiles), the workspace .vscode/mcp.json, and a workspace-root .mcp.json (VS Code runs those too) |
| Copilot CLI |
~/.copilot/mcp-config.json |
| Claude Code |
~/.claude.json (user, and per project), and the project's .mcp.json |
| Claude Desktop |
claude_desktop_config.json |
| Cursor |
~/.cursor/mcp.json and the project's .cursor/mcp.json |
What you can do:
- Search by server name, command, URL, or any tool name or description. A matching tool expands its server.
- Start, Stop, Restart, and Output for servers VS Code runs. These use VS Code's own MCP commands, so VS Code still asks you to trust a server the first time.
- Tools. See each VS Code server's tools. MCP tools VS Code knows about that don't belong to a listed server are shown under Other MCP tools.
- Agents may use it. Turn this off to keep a server's tools away from your agents (setting
mcp.blockedServers). It also shows how many times your agents have called that server.
- Find new servers. Searches the MCP registry (
mcp.registryUrl, GitHub's registry by default). Choose how to run a server (remote, npm, Python, Docker, or .NET), where to add it, and a name; you're asked for any required values. For VS Code, secrets become ${input:...} prompts, so VS Code stores them securely instead of writing them to the file.
- Add manually (local command, or remote HTTP/SSE), Copy to… another app (the config is converted to that app's format), Edit (opens the file at that server), Show JSON, and Remove.
- History of when servers were added, changed, removed, started, or stopped, and a list of all config files with links.
Safety: the page never shows secret values. Environment variables and headers are listed by name only, and tokens in arguments or URLs are hidden. Before any config file is changed, a backup copy is saved in the extension's storage. Files that contain comments are never rewritten. Instead, the new entry is copied to your clipboard and the file is opened so you can paste it in. Registry search sends only your search words to the registry.
Approvals and safety
- Approvals appear at the top of the dashboard and as a notification, with Approve, Reject, an optional note for the agent, and Review changes (VS Code's diff view). Each one says plainly whether it can be undone.
- Allow and deny lists. Agents can never read or change
.env files, keys and certificates, .ssh, .aws, .git, secrets/, .npmrc, and similar files. Add your own with files.deny, or restrict agents to certain folders with files.allow.
- Secret redaction. Anything that looks like a password, API key, token, connection-string password, or private key is replaced with
[REDACTED] before it is sent to any model.
- Isolation (optional). An agent can run in its own git worktree and branch, so your working copy is untouched until you merge that branch.
- Audit log. Every tool call, file change, approval, rejection, and blocked action is recorded. Run Agents: Export Audit Log to save it as CSV, Markdown, or JSON Lines.
- Files with unsaved changes in the editor are never overwritten.
Undo and history
Each agent's History (called Timeline in Advanced mode) lists its steps, the files each step changed, and anything that can't be undone.
- Undo back to here puts every file back the way it was before that step and rewinds the conversation to that point. Then use Continue.
- Undo this step reverts only that step's file changes. The agent is told about it, and you're warned if later steps changed the same files.
- What can't be undone: shell commands, web requests, and external tools have already had their effect. They are marked "Can't be undone", and you are asked before they run.
Save points are stored in VS Code's extension storage, not in your repository, so this also works in folders that aren't git repositories.
Models and routing
Agents set to Automatic use routing rules. Rules are checked top to bottom, and the first match wins:
- keywords: any of these words appears in the task
- regex: a regular expression matches the task
- min/max prompt length
- file types: for example
pdf or docx attached
- modes: for example only in
edit
- task types: a cheap "classifier" model labels the task as simple, complex, writing, analysis, or code, and you map each label to a model
If nothing matches, the default model is used. If a model fails (rate limit, overload, not available, no access), the agent tries the fallback models in order and logs the switch.
Use Agents: Edit Model Routing (Advanced mode) to add, edit, reorder, and test rules ("Which model would this prompt use?"). Rules can also live in a workspace file, .vscode/agent-control-center.json, which overrides your settings:
{
"mode": "research",
"defaultModel": "copilot:gpt-4o",
"budget": { "maxTokens": 200000, "maxCostUsd": 2 },
"routing": [
{ "if": { "keywords": ["refactor", "architecture"] }, "use": "claude:claude-sonnet" },
{ "if": { "maxPromptLength": 300 }, "use": "copilot:gpt-4o-mini" }
],
"fallback": ["copilot:gpt-4.1"],
"deny": [".env", "secrets/**"]
}
A model name such as claude:claude-sonnet picks the newest matching model. An exact id such as claude:claude-sonnet-4-5-20250929 pins one.
Compare models (Advanced mode) runs one prompt on two models side by side.
Usage and cost
- Only what an agent needs is sent: your instructions, the files you attach, and the files it chooses to read. Your whole workspace is never sent.
- When a conversation gets long, older turns are condensed into a short summary to save usage.
- For Claude, the instructions, attached files, and conversation so far use prompt caching, so repeated steps cost less.
- Each agent has a usage limit (tokens and/or dollars). When it's reached, the agent pauses and you're notified, with a Raise Limit option.
- The Usage tab shows spend per day, per agent, and per model over the last 30 days.
- Claude costs are estimates based on published prices, which you can override with
agentControlCenter.pricing. Copilot usage is included in your Copilot plan, so it shows as "included" and its token counts are estimated.
Built for everyone
- Simple and Advanced modes. Simple mode uses plain words ("Usage" instead of "tokens", "Undo back to here" instead of "restore checkpoint", "Look only" instead of "Research mode") and hides model and routing settings behind sensible defaults.
- Role presets (stored in
presets/) set the mode, model, usage limit, and starter tasks for each role.
- Templates (stored in
templates/): summarize a document, draft an email, compare two files, clean up a spreadsheet, turn notes into a report, proofread text, create test cases, and review code.
- Readable results. Results are shown as formatted text and can be exported as Markdown, Word, or PDF, or copied.
Document support
| Type |
Reading |
Notes |
| Markdown, text, code |
✓ |
|
| CSV / TSV |
✓ |
Includes row and column count |
| PDF |
✓ text |
Built-in reader: text and Unicode fonts; no images; scanned PDFs have no text to read |
| Word (.docx) |
✓ text |
Paragraphs, tabs, and tables as text |
| Excel (.xlsx) |
✓ values |
All sheets as comma-separated rows; no formulas or formatting |
Exports: Markdown; Word (headings, lists, bold, code); PDF (text with headings; characters outside Latin-1 are replaced).
Commands
All commands are under Agents: in the Command Palette:
- Open Agent Dashboard
- New Agent
- New Agent from Template
- Start, Pause, Resume, Stop, Continue, Restart, Rename, Delete
- Export Result
- Clear Finished Agents
- Show Usage and Cost
- Edit Model Routing
- Which Model Would This Prompt Use?
- Compare Two Models
- Run Setup Wizard
- Switch Simple / Advanced Mode
- Set Claude API Key
- Remove Claude API Key
- Open Agent Memory
- Show AI Sessions (Copilot, Claude Code, Chat)
- Refresh AI Sessions
- Show MCP Servers
- Export Audit Log
- Open Settings
- Rate Agent Control Center
Under MCP: there are also Refresh MCP Servers, Add MCP Server, and Find MCP Servers in the Registry. You can start, stop, restart, open, or remove a server from the MCP Servers list in the sidebar.
Settings
| Setting |
Default |
Description |
agentControlCenter.uiMode |
simple |
simple or advanced |
agentControlCenter.defaultMode |
research |
Mode for new agents |
agentControlCenter.defaultModel |
copilot:gpt-4o |
Used when no routing rule matches |
agentControlCenter.fallbackModels |
Copilot then Claude |
Tried in order when a model fails |
agentControlCenter.routing |
[] |
Routing rules |
agentControlCenter.classifier.* |
off |
Task labeling with a cheap model |
agentControlCenter.budget.maxTokens / maxCostUsd |
200000 / 2 |
Default usage limits per agent |
agentControlCenter.maxSteps |
25 |
Step limit per run |
agentControlCenter.maxOutputTokens |
8000 |
Longest reply per step |
agentControlCenter.summarizeAfterTokens |
60000 |
When to condense older turns |
agentControlCenter.edit.approveEachChange |
true |
Ask before each file change in Edit mode |
agentControlCenter.files.deny / files.allow |
[] |
Extra blocked files / only-allowed files |
agentControlCenter.redactSecrets |
true |
Hide secrets before sending |
agentControlCenter.webFetch.allowedDomains |
[] |
Sites that don't need approval |
agentControlCenter.commands.timeoutSeconds |
120 |
Time limit for approved commands |
agentControlCenter.isolation.useWorktree |
false |
Default for new agents |
agentControlCenter.externalTools.enabled / include |
true / ["mcp_*"] |
MCP and other extension tools |
agentControlCenter.memory.enabled |
true |
Shared workspace memory |
agentControlCenter.customModes |
[] |
Your own modes |
agentControlCenter.pricing |
{} |
Price overrides (USD per million tokens) |
agentControlCenter.claude.baseUrl |
Anthropic API |
For a company proxy or gateway |
agentControlCenter.notifyOnFinish |
true |
Notification when an agent finishes or fails |
agentControlCenter.sessions.sources |
all three |
Which tools' sessions to show: copilot-agent, claude-code, vscode-chat |
agentControlCenter.sessions.showAllWorkspaces |
false |
Show sessions from every folder |
agentControlCenter.mcp.registryUrl |
GitHub's MCP registry |
Where Find new servers searches (for example https://registry.modelcontextprotocol.io/v0) |
agentControlCenter.mcp.blockedServers |
[] |
MCP servers whose tools agents may never use |
Limitations
- Agent Control Center only controls the agents it runs. It can't pause or stop Copilot's built-in agent or Claude Code's own panel, but it can show their sessions (see AI sessions).
- A step that is already talking to a model can't be paused halfway. Pause always waits for the step to end; Stop cancels it.
- Commands, web requests, and external tools can't be undone; that's why they always ask first.
- Copilot doesn't report usage or price to extensions, so Copilot token counts are estimates and cost is shown as "included".
- Agents only work in trusted workspaces, and only with files inside the open folder.
- AI sessions are read from each tool's log files. If a tool changes its log format, some details may be missing until the extension is updated. Very long sessions show their latest 1,500 events; the export and raw log have everything.
- "Live" means the Copilot agent's process is running. For Claude Code and VS Code chat, it means the log was written to in the last two minutes.
- VS Code doesn't tell extensions whether an MCP server is running, so the MCP page shows the tools VS Code has loaded rather than a running/stopped status. Servers for other apps are listed and editable, but those apps start them.
Enjoying Agent Control Center?
If it's helping you get work done with AI agents, a quick rating helps others find it. After a few finished tasks, a small prompt appears with Rate Agent Control Center, Remind me later, and No thanks. Your choice is remembered. You can also run Agents: Rate Agent Control Center at any time.
Requirements
- VS Code 1.95.0 or higher
- GitHub Copilot (signed in) and/or a Claude API key
- Git, only for the optional worktree isolation
Author
Kanaihya Kumar - kanaihyakmr@gmail.com
License
MIT
| |