VS Code does not have native ACP support. This extension is maintained by Omer Cohen and is not officially supported by OpenHands or Microsoft.
Prerequisites
Before configuring VS Code:- OpenHands CLI installed - See Installation
- LLM settings configured - Run
openhandsand use/settings - VS Code - Download from code.visualstudio.com
Installation
Step 1: Install the Extension
- Open VS Code
- Go to Extensions (
Cmd+Shift+Xon Mac orCtrl+Shift+Xon Windows/Linux) - Search for “VSCode ACP”
- Click Install
Step 2: Connect to OpenHands
- Click the VSCode ACP icon in the Activity Bar (left sidebar)
- Click Connect to start a session
- Select OpenHands from the agent dropdown
- Start chatting with OpenHands!
How It Works
The VSCode ACP extension auto-detects installed agents by checking your system PATH. If OpenHands CLI is properly installed, it will appear in the agent dropdown automatically. The extension runsopenhands acp as a subprocess and communicates via the Agent Client Protocol.
Verification
Ensure OpenHands is discoverable:Advanced Usage
Custom Arguments
The VSCode ACP extension may support custom launch arguments. Check the extension’s settings for options to pass flags like--llm-approve.
Resume Conversations
To resume a conversation, you may need to:- Find your conversation ID:
openhands --resume - Configure the extension to use custom arguments (if supported)
- Or use the terminal directly:
openhands acp --resume <id>
The VSCode ACP extension’s feature set depends on the extension maintainer. Check the extension documentation for the latest capabilities.
Troubleshooting
OpenHands Not Appearing in Dropdown
-
Verify OpenHands is installed and in PATH:
- Restart VS Code after installing OpenHands
-
Check if the extension recognizes agents:
- Look for any error messages in the extension panel
- Check the VS Code Developer Tools (
Help > Toggle Developer Tools)
Connection Failed
-
Ensure your LLM settings are configured:
-
Check that
openhands acpworks in terminal:
Extension Not Working
- Update to the latest version of the extension
- Check for VS Code updates
- Report issues on the extension’s GitHub
Limitations
Since this is a community extension:- Feature availability may vary
- Support depends on the extension maintainer
- Not all OpenHands CLI flags may be accessible through the UI
- Terminal Mode - Direct CLI usage
- Zed - Native ACP support
See Also
- IDE Integration Overview - ACP concepts and other IDEs
- VSCode ACP Extension - Extension marketplace page
- Terminal Mode - Use OpenHands in terminal

