The open platform for AI agents

Describe a task and let agents plan it and keep going autonomously until it's done. Your choice of agents and models, regardless of where you work.

From prompt to finished task

Give an agent a goal and it does the work — researching, editing, running commands, and checking its own results.

Agents work where you do

When you use Copilot, your agents follow you across VS Code, the command line, the browser, and your phone. Start a task anywhere, finish it anywhere.

VS Code with a local agent chat session running alongside the editor. VS Code with a local agent chat session running alongside the editor.

Work however the task demands

Pick your agent, GitHub Copilot or a third-party agent running locally or in the cloud, then move freely between an agent-first flow for high-level tasks and a code-first flow for the details, all in one session.

And whenever you want to edit code yourself, the complete VS Code editor is right there, with full IntelliSense, refactoring, and debugging included.

Get started with agents in VS Code

Choose the right agent for the job

Use GitHub Copilot, your own custom agents, or the third-party agents you already rely on. Run them locally on your machine or in the cloud for scale.

All your agents, one view

Monitor and manage all your agent sessions from a unified view, regardless of where they run.

Use the Agents window for an agent-first workflow, where you instruct agents with high-level tasks.

Use the Chat view for a code-first workflow, where agents run alongside the code editor to help you accomplish coding tasks. Switch freely between the two at any time.

Manage agent sessions
Screenshot of VS Code showing the Sessions panel with a mix of local, background, and cloud agent sessions with status badges and action buttons. Screenshot of VS Code showing the Sessions panel with a mix of local, background, and cloud agent sessions with status badges and action buttons.

Swap the model, keep the workflow

Choose from dozens of models across OpenAI, Anthropic, Google, and more.

Bring your own API key to use any model from any provider, including models you host yourself.

Learn more about language models
Model picker dropdown showing models from different providers. Model picker dropdown showing models from different providers.

Native MCP integration

Model Context Protocol support is built in. Connect agents to your databases, APIs, and services through MCP servers — install them from the marketplace or bring your own, and manage them right inside the editor. No glue code, no extra tooling.

Explore MCP servers
Screenshot of VS Code showing MCP servers configured for agents. Screenshot of VS Code showing MCP servers configured for agents.

Agents that work your way

Define custom instructions, add skills, and build custom agents so they follow your team's conventions and workflows. Browse the marketplace to install ready-made customizations from the community.

Learn how to customize your agents
Screenshot of VS Code showing MCP servers configured for agents. Screenshot of VS Code showing MCP servers configured for agents.

Real tasks. Real results.

Agents help everyone on the team, from prototyping ideas to shipping features as pull requests.

Build a feature end-to-end

Describe a feature in natural language. The agent scaffolds, implements across files, and runs tests to verify.

Debug and fix failing tests

Point an agent at a failing test. It traces the root cause, applies a fix, and re-runs to confirm.

Refactor or migrate a codebase

Plan a migration between frameworks or APIs. The agent applies coordinated changes and verifies with builds.

Ship prototypes, not specs

Product managers and designers turn user feedback, a Figma file, or a rough idea into a working pull request the team can review and iterate on.

Audit accessibility and UX

An agent launches your app with Playwright, navigates to the feature, and verifies behavior, layout, and accessibility with screenshots.

Write docs, release notes, and summaries

Summarize the day's commits across repos into API docs, changelogs, release notes, or social posts.

Start building with agents

No setup required. Just your GitHub account.