VSCode ACP
AI coding agents in VS Code via the Agent Client Protocol (ACP)

Chat with Claude, OpenCode, and other ACP-compatible AI agents directly in your editor. No context switching, no copy-pasting code.

Features
- 🤖 Multi-Agent Support — Connect to OpenCode, Claude Code, or any ACP-compatible agent
- 💬 Native Chat Interface — Integrated sidebar chat that feels like part of VS Code
- 🔧 Tool Visibility — See what commands the AI runs with expandable input/output
- 📝 Rich Markdown — Code blocks, syntax highlighting, and formatted responses
- 🔄 Streaming Responses — Watch the AI think in real-time
- 🎛️ Mode & Model Selection — Switch between agent modes and models on the fly
Requirements
You need at least one ACP-compatible agent installed:
Installation
From VS Code Marketplace
- Open VS Code
- Go to Extensions (
Cmd+Shift+X / Ctrl+Shift+X)
- Search for "VSCode ACP"
- Click Install
From VSIX
- Download the
.vsix file from Releases
- In VS Code:
Extensions → ... → Install from VSIX...
Usage
- Click the VSCode ACP icon in the Activity Bar (left sidebar)
- Click Connect to start a session
- Select your preferred agent from the dropdown
- Start chatting!
When the AI uses tools (like running commands or reading files), you'll see them in a collapsible section:
- ⋯ — Tool is running
- ✓ — Tool completed successfully
- ✗ — Tool failed
Click on any tool to see the command input and output.
Configuration
The extension auto-detects installed agents. Supported agents:
| Agent |
Command |
Detection |
| OpenCode |
opencode |
Checks $PATH |
| Claude Code |
claude |
Checks $PATH |
Development
# Clone the repo
git clone https://github.com/omercnet/vscode-acp.git
cd vscode-acp
# Install dependencies
npm install
# Compile
npm run compile
# Run in VS Code
# Press F5 to open Extension Development Host
Contributing
Contributions are welcome! Please read our Contributing Guide first.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature)
- Commit your changes (
git commit -m 'Add amazing feature')
- Push to the branch (
git push origin feature/amazing-feature)
- Open a Pull Request
License
MIT © Omer Cohen
Report a Bug · Request a Feature