Multi Agent Chat
Multiple parallel AI chat agents with shared codebase context for VS Code.
Interact with multiple AI agents simultaneously, each with its own conversation history, while sharing the same file context. Seamlessly switch between providers like Gemini, Claude, and OpenAI.
(Screenshot placeholder)
Features
- Parallel Agents: Open multiple independent chat panels (Agent 1, Agent 2, etc.) to handle different tasks concurrently.
- Shared Context: All active agents automatically stay in sync with your currently open file.
- Multi-Provider Support: Choose between Google Gemini, Anthropic Claude, and OpenAI GPT models.
- Direct Code Application: Propose code changes and apply them to your active file with a single click.
- Agent Manager: A centralized Quick Pick menu to quickly jump between active agents.
- Clean UI: Modern, VS Code-native dark theme with message timestamps, character counters, and markdown support.
Installation
- Open VS Code.
- Go to the Extensions view (
Ctrl+Shift+X).
- Search for
Multi Agent Chat.
- Click Install.
Configuration
Before using the extension, you need to set up your AI provider and API key:
- Open VS Code Settings (
Ctrl+,).
- Search for
Multi Agent Chat.
- Configure the following 8 settings:
multi-agent-chat.apiKey: Your API key.
multi-agent-chat.provider: Choose Gemini, Claude, or OpenAI.
multi-agent-chat.geminiModel: (Default: gemini-2.5-flash)
multi-agent-chat.claudeModel: (Default: claude-sonnet-4-20250514)
multi-agent-chat.openaiModel: (Default: gpt-4o-mini)
multi-agent-chat.maxTokens: Max response length.
multi-agent-chat.temperature: Sampling creativity.
multi-agent-chat.systemPrompt: Customize the AI's behavior.
How to Use
Opening a Chat
Run the command Multi Agent Chat from the Command Palette (Ctrl+Shift+P) to open a new agent panel. You can do this multiple times to create parallel agents.
Managing Agents
Run Multi Agent Chat: Open Manager to see a list of all active agents and focus on a specific one.
Applying Code
When an agent provides a code solution in triple backticks, an Apply to File button will appear. Clicking this will replace the content of your current active file with the suggested code.
Switching Files
As you switch between files in VS Code, all open agents will update their status bar to show which file they are currently targeting.
Supported Providers
| Provider |
Default Model |
Configuration Setting |
| Gemini |
gemini-2.5-flash |
multi-agent-chat.geminiModel |
| Claude |
claude-sonnet-4-20250514 |
multi-agent-chat.claudeModel |
| OpenAI |
gpt-4o-mini |
multi-agent-chat.openaiModel |
License
MIT