Any harness, any model

Choose the harness you want the agent to run in, then pair that agent with the model that fits the task.

A setup that adapts to the task

Keep the harness you know, pick the model that fits the task, and decide where that model runs.

Start with the harness that fits

The agent harness determines where work runs, how it interacts with your workspace, and when it asks for approval. Switch harnesses mid-session and VS Code carries your conversation history and context along with it.

Learn about code isolation and handoff
Agent picker in VS Code with Copilot, Codex, and Claude available. Agent picker in VS Code with Copilot, Codex, and Claude available.
Language Models editor in VS Code showing available models and their capabilities. Language Models editor in VS Code showing available models and their capabilities.

Pair it with the right model

Switch models as your needs change, compare how they handle the same task, and adopt new releases as they land.

See supported language models

Get more from every AI credit

Different models consume AI credits at different rates, so the model you pick shapes what a task costs.

Optimize AI credit usage
Agent session for applying accessibility improvements to a web page, showing changes to the code and option to create a PR. Agent session for applying accessibility improvements to a web page, showing changes to the code and option to create a PR.

Bring your own key

Add your own API key to use a provider account directly, or configure a custom endpoint to route requests through infrastructure you control.

Configure your own model provider
Model picker in VS Code showing models from multiple providers. Model picker in VS Code showing models from multiple providers.

And much more

Pick the agent and model that fit the work

Bring the agents and models you already use, then switch either one as your needs change.