✕
Visual Studio Code
  • Features
    • Agents
    • Agent Customization
    • Models & Agent Harnesses
    • Enterprise
    • Extensibility
  • Docs
    • Documentation
    • API
    • FAQ
  • Release Notes
  • Blog
  • Learn
  • Events
  • Resources
    • Extensions
    • MCP
  • Download
Image Image Search
Download

🤖 GPT-5.6 Sol has a new lower price, plus 50% off through Sept. 3. Try it in VS Code!

Dismiss this update

Documentation

  • Overview
  • Get Started
    • Overview
    • Agents Quickstart
    • Editor Tutorial
    • Intro Videos
  • Agents
    • Overview
    • Get started
      • Agents Quickstart
      • Agents Tutorial
      • Best Practices
    • Concepts
      • Agents
      • Agent Harnesses
      • Language Models
      • Context
      • Tools
      • Sessions & Handoff
      • Agent Host Architecture
      • Customization
      • Workspace Context
      • Trust & Safety
    • Run agents
      • Agents Window
      • Chat View
      • Choose an Agent Harness
      • Use Tools
      • Browser Tools
      • Approvals & Permissions
      • Review & Revert Changes
      • Artifacts
      • Remote Agent Sessions
      • Plan Work
      • Memory
      • Subagents
      • Sessions
        • Manage Sessions
        • Session History
      • AI Security
    • Customize agents
      • Create and Manage
      • Instructions
      • Agent Skills
      • Custom Agents
      • Language Models
      • MCP
      • Hooks
      • Plugins
      • Tools
      • Prompt Files
    • Use chat
      • Chat Basics
      • Inline & Quick Chat
      • Add Prompt Context
    • Tutorials & guides
      • Customize AI
      • Context Engineering
      • Test-Driven Development
      • Test with AI
      • Test Web Apps with Browser Tools
      • Debug with AI
      • Edit Notebooks with AI
      • Optimize AI Credit Usage
      • MCP Dev Guide
      • Prompt Examples
    • Reference
      • Cheat Sheet
      • Settings Reference
      • MCP Configuration
      • Hooks Reference
      • OpenTelemetry Monitoring
    • Troubleshooting
      • Troubleshooting
      • Debug Chat Interactions
      • Diagnose Prompt Caching
      • FAQ
  • Editor
  • Source Control
    • Overview
    • Quickstart
    • Repositories & Remotes
    • Staging & Committing
    • Source Control History
    • Branches & Worktrees
    • Merge Conflicts
    • Collaborate on GitHub
    • Troubleshooting
    • FAQ
  • Terminal
    • Get Started
    • Terminal Basics
    • Terminal Profiles
    • Shell Integration
    • Appearance
    • Advanced
  • Debugging & Testing
    • Debugging
    • Debug Configuration
    • Tasks
    • Testing
    • Integrated Browser
    • Port Forwarding
    • Guides & Tutorials
      • Test-Driven Development
      • Test Web Apps with Browser Tools
  • Enterprise
    • Overview
    • Enterprise Policies
    • AI Settings
    • Extensions
    • Telemetry
    • Updates
  • 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

Get started with AI agents

Hand off tasks to autonomous AI agents that iterate until the job is done. Run them locally, in the background, or in the cloud, with your choice of AI provider. Track all sessions without leaving VS Code.

Get started →
Image

What do you want to do?

Optimize your AI usage

Tips to help you get the most out of AI agents, while optimizing for cost and performance.

Test and debug with browser agents

Let AI agents use the integrated browser to validate and fix issues in your application.

Customize AI for your project

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

Set up VS Code

Install VS Code on Windows, macOS, or Linux and get running.

Learn VS Code basics

Explore the editor, settings, extensions, and key features.

VS Code for enterprise

Learn how to configure VS Code for enterprise environments with policies, extension management, and AI customization options.

Latest

release

VS Code 1.135 release

Continue Copilot or Claude agent sessions from other applications, get a second opinion with Rubber Duck, and inspect detailed chat usage.

Image
documentation

Agent harness concepts

Understand the core concepts and how to use different types of harnesses within VS Code.

Image
blog

Introducing the Agent Host

Learn how the VS Code Agent Host and Agent Host Protocol (AHP) enable persistent, portable agent sessions across windows, clients, and local or remote environments.

Image
    • VS Code on Github
    • Follow us on X
    • VS Code on LinkedIn
    • VS Code on Bluesky
    • Join the VS Code community on Reddit
    • The VS Code Insiders Podcast
    • VS Code on TikTok
    • VS Code on YouTube
    Microsoft homepage
    • Support
    • Privacy
    • Manage Cookies
    • Terms of Use
    • License
    • Your Privacy Choices Opt-Out Icon Your Privacy Choices
    • Consumer Health Privacy