Documentation
Topics Overview Overview Agents Quickstart Editor Tutorial Intro Videos Overview Get Started Set Up GitHub Copilot Agents Quickstart Agents Tutorial Best Practices Find a Guide Chat & Context Use Chat Inline Chat & Quick Chat Add Prompt Context Choose and Configure Models Run Agents Overview Chat View & Layout Agents Window Choose an Agent Harness Configure the Agents Window Review & Revert Changes Plan and Run Tasks Plan Work Compare Model Results Use Tools Add MCP Servers Manage MCP Servers Browser Tools Subagents Automations Sessions Manage Sessions Session History Remote Agent Sessions Memory Artifacts Permissions and Security Approvals & Permissions Agent Sandboxing AI Security Customize Agents Create and Manage Instructions Agent Skills Custom Agents Hooks Plugins Prompt Files Migrate Existing Customizations Tutorials & Guides Find a Guide Explore a Codebase Add a Feature Fix a Bug Refactor Safely Add Tests Test Web Apps Run Parallel Tasks Get Back on Track Adapt Agents to Your Project Context Engineering Test-Driven Development Jupyter Notebooks Reduce Credit Usage Prompt Examples Concepts Agents How Models Work Context Tools Sessions and Chats Trust & Safety Agent Customization Agent Harnesses Workspace Context Reference Cheat Sheet Tools and Context Settings Reference VS Code Pet Custom Agent File Reference Agent Plugin Authoring Reference MCP Configuration Hooks Reference OpenTelemetry Monitoring Agent Host Architecture Troubleshooting Troubleshooting Debug Chat Interactions Diagnose Prompt Caching FAQ 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 Overview Quickstart Repositories & Remotes Staging, Commits & Undo History & Blame Branches, Stashes & Worktrees Merge Conflicts Collaborate on GitHub Troubleshooting FAQ Get Started Terminal Basics Terminal Profiles Shell Integration Appearance Advanced Debugging Debug Configuration Tasks Testing Integrated Browser Port Forwarding Guides & Tutorials Test-Driven Development Test Web Apps Overview Enterprise Policies Manage AI Settings Extensions Telemetry Updates 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 GitHub Copilot Setup Linux macOS Windows Raspberry Pi Network Portable Mode Additional Components Uninstall Languages & Runtimes Extension DocsVisual 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 →What do you want to do?
Latest
release
VS Code 1.143 release
Get the Copilot harness by default, compare model results in the Agents window, and try experimental worktree cleanup, and a multi-diff file list.
[]
documentation
Agent harness concepts
Understand the core concepts and how to use different types of harnesses within VS Code.
[]
blog
Modernizing the VS Code UI
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.
[]