VS Code
VS Code can connect to ACP-compatible agents through the VSCode ACP community extension.
Prerequisites
Before configuring VS Code:
- Faheem Code CLI installed - See Installation
- LLM settings configured - Run
faheemcodeand 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
Or install directly from the VS Code Marketplace.
Step 2: connect to Faheem Code
- Click the VSCode ACP icon in the Activity Bar (left sidebar)
- Click Connect to start a session
- Select Faheem Code from the agent dropdown
- Start chatting with Faheem Code.
How it works
The VSCode ACP extension auto-detects installed agents by checking your system PATH. If Faheem Code CLI is properly installed, it will appear in the agent dropdown automatically.
The extension runs faheemcode acp as a subprocess and communicates via the Agent Client Protocol.
Verification
Ensure Faheem Code is discoverable:
which faheemcode
# Should return a path like /Users/you/.local/bin/faheemcode
If the command is not found, install Faheem Code CLI:
uv tool install faheemcode --python 3.12
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:
faheemcode --resume - Configure the extension to use custom arguments (if supported)
- Or use the terminal directly:
faheemcode acp --resume <id>
Troubleshooting
Faheem Code not appearing in dropdown
-
Verify Faheem Code is installed and in PATH:
which faheemcodefaheemcode --version -
Restart VS Code after installing Faheem Code
-
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:
faheemcode# Use /settings to configure -
Check that
faheemcode acpworks in terminal:faheemcode acp# Should start without errors (Ctrl+C to exit)
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 Faheem Code CLI flags may be accessible through the UI
For the most control over Faheem Code, consider using:
- 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 Faheem Code in terminal