The open source
AI code editor

Web, Insiders edition, or other platforms

By using VS Code, you agree to its license and privacy statements.

Screenshot of VS Code UI

Any model for any team

Use AI models like Claude Sonnet out of the box, or bring your own key to access models from Azure, Anthropic, Google, Ollama, OpenAI, and OpenRouter.

Choose Model

An expert on your codebase

Your codebase is indexed locally and remotely (on GitHub) to understand what's relevant, enabling fast, context-aware interactions.

Expert on Codebase

AI that works the way your team does

Personalize interactions using custom instructions and reusable prompt files tailored to your workflows, tools, and projects.

Team Workflow

Agent mode


Tackle complex, multi-step tasks. Agent mode reads your codebase, suggests edits across files, runs terminal commands, and responds to compile or test failures — all in a loop until the job is done. Further refine agent mode to fit your team's workflows with VS Code extensions and Model Context Protocol (MCP) servers.
Build with agent mode