AI agents: See llms.txt for documentation discovery and navigation. Documentation articles are also available as Markdown by appending .md to the article URL.
Skip to content
AI development
  • Agents
  • Models
  • Customizations
  • Continuity
Editor
  • Write code
  • Enterprise
  • Extensibility
Release notes Blog
Help
  • Documentation
  • Learn
  • API
  • FAQ
Extensibility
  • Extension Marketplace (opens in new tab)
  • MCP registry (opens in new tab)
Connect
  • Events (opens in new tab)
  • GitHub repository (opens in new tab)
Download
Search ⌘ ⇧ P
Download
VS Code Insiders Other platforms
Command line interface CLI for Apple silicon CLI for Intel
Command line interface CLI for x64 CLI for Arm64
Command line interface CLI for x64 CLI for Arm64 CLI for Arm32

By using VS Code, you agree to its license and privacy statement. By using VS Code, you agree to License & Privacy.

🎬 Watch the VS Code session recordings from Microsoft Ignite.

⚠️ The Local harness is deprecated and will be removed in February 2027. Learn about the move to the Copilot harness.

Documentation

  • Overview
  • Get Started
    • Download and Install
    • Get to Know VS Code
    • Complete Your First Agent Task
    • Editor Tutorial
    • Intro Videos
  • AI in VS Code
    • Overview
    • Get Started
      • Find a Guide
      • AI Features Cheat Sheet
      • Set Up GitHub Copilot
      • Complete Your First Agent Task
      • Build, Refine, and Commit an App
      • Best Practices
    • Tutorials and Guides
      • Find a Guide
      • Work on a Project
        • Explore a Codebase
        • Fix an API Bug
        • Add a Feature
        • Refactor Safely
        • Work with Jupyter Notebooks
      • Test and Validate
        • Add Tests to Existing Code
        • Test-Driven Development
        • Test Web Apps
      • Customize and Coordinate Agents
        • Adapt Agents to Your Project
        • Run Parallel Tasks
        • Continue a Cloud Session in Your Terminal
      • Improve Results and Recover
        • Compare and Choose Models
        • Get Back on Track
        • Reduce Credit Usage
    • Work with AI
      • Inline Suggestions
      • Smart Actions
      • Use the Chat View
      • Agents Window
      • Work with Agents in Worktrees
      • Inline Chat and Quick Chat
      • Chat Messages and Responses
      • Canvases
      • Add Prompt Context
      • Review and Undo Changes
      • Configure the Agents Window
      • Plan and Run Tasks
        • Plan Work
        • Use Tools
        • Use Browser Tools
        • Use Subagents
        • Automations
      • Sessions
        • Manage Sessions
        • Organize and Triage Sessions
        • Memory
        • Artifacts
      • Permissions and Security
        • Approvals and Permissions
        • Configure Agent Sandboxing
        • Secure Development with AI
    • Choose Models and Agents
      • Choose and Configure Models
      • Choose an Agent Harness
      • Move from Local to Copilot
      • Compare Models Side by Side
      • Guide: Choose the Right Model
    • Customize and Extend
      • Overview
      • Agent Plugins
      • Agent Skills
      • Custom Instructions
      • Custom Agents
      • Copilot Connectors
      • Add and Use MCP Servers
      • Manage MCP Servers
      • Agent Hooks
      • Prompt Files
      • Advanced: Connect Planning and Implementation
      • Migrate Existing Customizations
    • Work Across Apps and Machines
      • Tutorial: Agent Continuity
      • Remote Agent Sessions
      • Cloud Sessions
      • Session History
    • Concepts
      • Agents
      • How Models Work
      • Context
      • Tools
      • Sessions and Chats
      • Trust and Safety
      • Agent Harnesses
      • Agent Customization
    • Reference and Help
      • Reference
        • AI Features Cheat Sheet
        • Prompt Examples
        • Tool Names and Context References
        • Workspace Context
        • AI Settings
        • VS Code Pet
        • Custom Agent File Reference
        • Custom Instructions Reference
        • Agent Plugin Authoring Reference
        • MCP Configuration
        • Hooks Reference
        • OpenTelemetry Monitoring
        • Agent Host Architecture
      • Troubleshooting
        • Troubleshooting
        • Debug Chat Interactions
        • Diagnose Prompt Caching
        • FAQ
  • Editor
    • Overview
    • Getting Started
      • Editor Tutorial
      • User Interface
      • Tips and Tricks
    • Write code
      • Basic Editing
      • IntelliSense
      • Inline Suggestions
      • Smart Actions
      • Code Navigation
      • Refactoring
      • Snippets
      • Workspaces
        • Overview
        • Multi-Root Workspaces
        • Workspace Trust
    • Configure the editor
      • Display Language
      • Layout
      • Keyboard Shortcuts
      • Settings
      • Settings Sync
      • Extensions
        • Overview
        • Extension Marketplace
        • Extension Runtime Security
      • Themes
      • Profiles
      • Accessibility
        • Overview
        • Voice Interactions
      • Command Line Interface
      • Telemetry
    • Reference
      • Default Keyboard Shortcuts
      • Default Settings
      • Substitution Variables
      • Tasks Schema
  • Source Control
    • Overview
    • Quickstart
    • Repositories & Remotes
    • Staging, Commits & Undo
    • History & Blame
    • Branches, Stashes & Worktrees
    • Merge Conflicts
    • Collaborate on GitHub
    • Troubleshooting
    • FAQ
  • Terminal
    • Get Started
    • Terminal Basics
    • Terminal Profiles
    • Shell Integration
    • Appearance
    • Advanced
  • Debugging & Testing
    • Debugging
    • Debugging Quickstart
    • Debug Configuration
    • Tasks
    • Testing
    • Integrated Browser
    • Port Forwarding
    • Guides & Tutorials
      • Fix an API Bug
      • Add Tests
      • Test-Driven Development
      • Test Web Apps
  • Enterprise
    • Overview
    • Deploy to Managed Devices
    • Manage AI Settings
    • Enterprise Policies
    • Extensions
    • Telemetry
    • Updates
    • Network Configuration
    • Troubleshoot Managed Deployments
  • Remote
    • Overview
    • VS Code for the Web
    • SSH
    • SSH Tutorial
    • Tunnels
    • Dev Containers
    • WSL
    • WSL Tutorial
    • GitHub Codespaces
    • VS Code Server
    • Linux Prerequisites
    • Tips and Tricks
    • FAQ
  • Advanced Setup
    • GitHub Copilot Setup
    • Linux
    • macOS
    • Windows
    • Raspberry Pi
    • Network
    • Portable Mode
    • Additional Components
    • Uninstall
  • Languages & Runtimes
  • Extension Docs

Visual Studio Code documentation

Build your first app with AI

Build a small web app with an AI agent, test it in the browser, and review the generated changes.

Get started →

What do you want to do?

Set up VS Code

Install VS Code, open your code, and choose a guided path for your first task.

Learn the editor

Create, preview, and debug a small app, then explore settings, extensions, and Git. No AI required.

Set up your language

Set up editing, running, and debugging for Python, JavaScript, C++, and more.

Use AI on your codebase

Find guides to explore a codebase, add features, fix bugs, and test changes with AI agents.

Customize AI for your project

Configure custom instructions, skills, and MCP servers to tailor AI to your workflow.

Manage VS Code for your team

Configure policies, extensions, AI access, and network settings for your organization.

Latest

release

VS Code 1.148 release

Keep agents awake while they work, create isolated Dev Containers, and clean up remote worktrees.

documentation

Continue agents across apps

Start an agent task in VS Code, then continue the same conversation in your terminal with Copilot CLI.

blog

The Copilot harness: Building on a shared foundation

Learn why VS Code is moving from the Local harness to the Copilot harness.

    Microsoft

    Community

    • GitHub
    • Reddit
    • X
    • Bluesky
    • LinkedIn

    Watch & listen

    • YouTube
    • Podcast
    • TikTok
    • Instagram

    Legal

    • Privacy
    • Terms of Use

    Help

    • Support
    • License
    Community
    • GitHub
    • Reddit
    • X
    • Bluesky
    • LinkedIn
    Watch & listen
    • YouTube
    • Podcast
    • TikTok
    • Instagram
    Legal
    • Privacy
    • Terms of Use
    Help
    • Support
    • License
    Consumer Health Privacy

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

    Your Privacy Choices