Bring your own DeepSeek key to Claude Code and GitHub Copilot — the two best agentic extensions in VS Code — while everything stays native. Copilot keeps its deep VS Code Chat integration, so the built-in commit-message and comment generation, inline chat and edits keep working for free. One check i
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
The best agentic extensions — Claude Code, OpenAI Codex & GitHub Copilot — on DeepSeek prices.
DeepAgent routes Claude Code, OpenAI Codex and GitHub Copilot to DeepSeek's models with one API key, and it does it without sacrificing anything:
Copilot stays 100% native in the VS Code chat. Because the routing happens inside Copilot's own BYOK support, you keep the entire native Chat integration for free: the ✨ commit-message button in the Source Control box, comment generation, inline chat, edits — everything.
Claude Code keeps its full power — backed by DeepSeek through its Anthropic-compatible endpoint, mirrored to ~/.claude/settings.json so terminal Claude agrees.
OpenAI Codex — routed through ~/.codex/config.toml with a DeepSeek provider (Responses wire API) and DeepSeek Pro as the default model.
One check installs, unchecking restores. DeepAgent snapshots your original settings before it touches anything. Turning a target off puts your original setup back — including Claude's full OAuth sign-in.
Every action verifies itself. After each apply/restore the panel reads the real settings and files back and only then reports ✓ verified, naming the surface if anything failed.
Vision. Images work on both routes — Claude Code (Anthropic-compatible API) and Copilot (OpenAI-compatible API) — when the session uses the vision model. Set it in the Vision field, or per-session: /model deepseek-v4-flash-vision-exp in Claude Code, "DeepSeek V4 Vision (exp)" in Copilot's picker.
Auto-detects whether each target is installed (extension or CLI).
Native DeepSeek (platform.deepseek.com) or DeepInfra hosting the same models cheaper (deepinfra.com) — URLs and model ids are preconfigured for both.
Open it
Click the $(beaker) DeepAgent status-bar icon or run DeepAgent: Open Control Center.
What it configures
Target
What happens under the hood
API key
one password field, stored as deepagent.apiKey
Provider
preconfigured base URLs for both the OpenAI- and Anthropic-compatible APIs per endpoint
Models
provider defaults, or custom ids via the panel's Models selector
Claude Code
claudeCode.environmentVariables gets ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN, ANTHROPIC_MODEL, ANTHROPIC_SMALL_FAST_MODEL, plus the model tiers: Pro on the sonnet tier, Flash on the haiku tier and the vision model as a custom option with the vision capability — so Claude Code's /model picker lists all three; mirrored to ~/.claude/settings.json. Original values snapshotted and restored on uncheck
OpenAI Codex
~/.codex/config.toml gets [model_providers.deepseek] plus model = "deepseek/deepseek-v4-pro". Previous config restored on uncheck
GitHub Copilot
the DeepSeek group (Pro + Flash + vision + key + base URL) is registered in Copilot's model picker via VS Code's built-in BYOK command; tuning (temperature, thinking) written to the native Copilot settings
Chat:Utility models
Chat:Utility → DeepSeek Flash, Inline Chat → DeepSeek Pro (deepagent.utilityModels mirrors the checkbox)
Settings
| Setting | Default | Meaning |
|---|---|---|
| deepagent.apiKey | — | Your key. Get one from DeepSeek or DeepInfra. |
| deepagent.endpoint | deepseek | deepseek (native) or deepinfra (cheaper). |
| deepagent.temperature | 0.7 | Sampling temperature applied to Copilot's agent model. |
| deepagent.reasoningEffort | auto | Thinking level for Copilot inline chat (auto/none/low/medium/high). |
| deepagent.modelMode | provider | provider uses the endpoint's preconfigured model ids; custom applies the Pro/Flash/Vision overrides below (empty field = provider default) in case DeepSeek renames models. |
| deepagent.proModel | | Pro model id override, used only in custom mode. | | `deepagent.flashModel` | | Flash model id override, used only in custom mode. |
| deepagent.visionModel | `` | Vision model id override, used only in custom mode; empty = provider default. |
| deepagent.utilityModels | false | Route Chat:Utility → Flash, Inline Chat → Pro. |
Everything in the panel auto-saves as you change it — no Save button.