Let Claude and OpenAI collaborate on your code from one VS Code panel. Claude plans and reviews; OpenAI models help execute, debug, and generate code. Bring your own API keys.
Features
- Auto mode - Routes tasks by intent: Claude for planning/review, OpenAI for implementation/debug support.
- Parallel mode - Sends the same prompt to both agents so you can compare answers.
- Debate mode - Claude drafts, then OpenAI reviews and improves the response.
- Claude Only / Codex Only - Use either provider standalone.
- Model picker - Choose Claude and OpenAI models directly in the DualAgent panel.
- BYOK - Uses your own Anthropic and OpenAI API keys.
- Send selection - Select code and send it with context using the command or shortcut.
- Insert code - Insert generated code blocks into the active editor.
Setup
- Install the extension.
- Run DualAgent: Open Orchestrator Panel or press
Cmd+Shift+D/Ctrl+Shift+D. - Click Keys or Configure Keys.
- Add your Anthropic API key from console.anthropic.com.
- Add your OpenAI API key from platform.openai.com.
- Pick your preferred Claude and OpenAI models from the panel dropdowns.
Model Selection
DualAgent defaults the OpenAI side to gpt-4.1 for direct API usage. If your account does not have access to a selected model, choose another model from the OpenAI dropdown in the panel or update it in Settings under DualAgent.
Available OpenAI options include:
gpt-4.1gpt-4.1-minigpt-4.1-nanogpt-4ogpt-4o-minio4-minio3-mini
Available Claude options include:
claude-opus-4-5claude-sonnet-4-5claude-haiku-4-5-20251001
How Auto Routing Works
| Task type | Claude | OpenAI |
|---|---|---|
| Architecture / planning | Leads | Implements plan |
| Code review | Leads | Optional follow-up |
| Bug fix / debug | Explains and reviews | Diagnoses and fixes |
| General coding | Generates response | Optional depending on mode |
Keyboard Shortcuts
Cmd+Shift+D/Ctrl+Shift+D- Open DualAgent panelCmd+Shift+A/Ctrl+Shift+A- Send selected code to agents
What's New in 0.1.3
- Added New Chat to reset the conversation, prompt, and attached context.
- Added Attach File to attach the active editor file to the next prompt.
- Added Scan Package to attach a compact package/source summary.
- Added a visible pending-context banner with a remove action.
- Improved mode switching so Claude/OpenAI status indicators reflect the selected mode.
What's New in 0.1.2
- Added Claude and OpenAI model dropdowns inside the panel.
- Changed the default OpenAI model to
gpt-4.1. - Persisted mode changes when clicking Auto, Parallel, Debate, Claude Only, or Codex Only.
- Improved API key settings so keys are masked in VS Code Settings.
- Fixed webview link/control click handling.