ACP adapter for Amp Code β Use Amp in any Agent Client Protocol (ACP) compatible client like Zed.
π Documentation β’
| If you prefer... | Install | Package |
|---|---|---|
| Python | pip install acp-amp |
PyPI |
| Node.js | npm install -g @superagenticai/acp-amp |
npm |
Both versions provide identical functionality β full Amp Code agent capabilities in ACP-compatible clients.
# Install (recommended)
uv tool install acp-amp
# Run
acp-amp run# Install
npm install -g @superagenticai/acp-amp
# Run
acp-ampAdd to your Zed settings (~/.config/zed/settings.json):
{
"agent_servers": {
"Amp": {
"command": "npx",
"args": ["@superagenticai/acp-amp"]
}
}
}No installation needed β npx downloads and runs automatically!
Before using acp-amp, you need:
-
Paid Amp credits required:
- ACP access requires a paid Amp credit balance.
- The free credit version does not work for ACP.
- Top up a few dollars in Amp to include the ACP functionality.
-
Amp CLI installed and authenticated:
curl -fsSL https://ampcode.com/install.sh | bash amp login -
Runtime (one of):
- Python 3.10+ and uv (for Python version)
- Node.js 18+ (for Node.js version)
The Python version is ideal for Python developers and integrates with Python-based ACP clients.
# Recommended
uv tool install acp-amp
# Alternative: pip
pip install acp-amp# Default: uses Python SDK
acp-amp run
# Explicit Python SDK
acp-amp run --driver python
# Node shim fallback (if Python SDK has issues)
acp-amp run --driver node
# Auto-detect (tries Python first, falls back to Node)
acp-amp run --driver auto| Driver | Description | When to Use |
|---|---|---|
python |
Native Python SDK (amp-sdk) |
Default, best performance |
node |
Node.js shim fallback | If Python SDK has issues |
auto |
Tries Python, falls back to Node | Maximum compatibility |
Only needed if you want to use --driver node:
# Create shim files
acp-amp setup
# Install shim dependencies
cd ~/.acp-amp/shim
npm install{
"agent_servers": {
"Amp": {
"command": "acp-amp",
"args": ["run"]
}
}
}With explicit driver:
{
"agent_servers": {
"Amp": {
"command": "acp-amp",
"args": ["run", "--driver", "python"]
}
}
}The Node.js version is ideal for JavaScript/TypeScript developers and npm-based workflows.
# Global install
npm install -g @superagenticai/acp-amp
# Or run directly with npx (no install)
npx @superagenticai/acp-amp# If installed globally
acp-amp
# Using npx (no install needed)
npx @superagenticai/acp-ampWith global install:
{
"agent_servers": {
"Amp": {
"command": "acp-amp"
}
}
}With npx (no install needed):
{
"agent_servers": {
"Amp": {
"command": "npx",
"args": ["@superagenticai/acp-amp"]
}
}
}{
"agent_servers": {
"Amp": {
"command": "npx",
"args": ["@superagenticai/acp-amp"]
}
}
}{
"agent_servers": {
"Amp": {
"command": "acp-amp",
"args": [],
"env": {
"AMP_API_KEY": "your-api-key-here"
}
}
}
}{
"agent_servers": {
"Amp": {
"command": "acp-amp",
"args": ["run", "--driver", "python"],
"env": {
"AMP_API_KEY": "your-api-key-here"
}
}
}
}agents:
amp:
description: "Amp Code agent"
protocol: acp
command: acp-amp
args: []superqode connect acp ampAny ACP client that can launch a subprocess and speak JSON-RPC over stdio:
# Python version
acp-amp run
# Node.js version
npx @superagenticai/acp-ampThese Python-based ACP clients work great with acp-amp:
acp-amp works with any ACP-compatible client. See the official ACP ecosystem list on the Zed ACP page and the ACP Registry announcement for the latest editors and agents.
Agents on ACP (from the ecosystem list):
- Gemini CLI (ACP Registry)
- Claude Code (ACP Registry, via adapter)
- Codex (ACP Registry, via adapter)
- GitHub Copilot (ACP Registry)
- JetBrains Junie (In Progress)
- Goose
- Kimi CLI
- OpenCode (ACP Registry)
- Stakpak
- VT Code
- Auggie CLI (ACP Registry)
- Code Assistant
- cagent
- fast-agent
- LLMling-Agent
- Full Amp Code capabilities β All Amp features available in your ACP client
- Multi-turn conversations β Thread continuity across interactions
- Tool execution β Run tools with permission modes (default/bypass)
- MCP server integration β Connect to Model Context Protocol servers
- Image support β Send and receive images
- Session management β Multiple concurrent sessions
acp-amp/
βββ acp_amp/ # Python package (pip install acp-amp)
β βββ cli.py # Command-line interface
β βββ server.py # ACP server implementation
β βββ driver/
β βββ python_sdk.py # Python SDK driver (default)
β βββ node_sdk.py # Node shim driver (fallback)
βββ node/ # Node.js package (@superagenticai/acp-amp)
β βββ src/
β βββ index.js # Entry point
β βββ server.js # ACP server implementation
β βββ to-acp.js # Event conversion
βββ node-shim/ # Minimal shim for Python's --driver node
βββ docs/ # Documentation
# Clone and install
git clone https://github.com/SuperagenticAI/acp-amp.git
cd acp-amp
pip install -e .[test]
# Run tests
pytest
# With uv
uv sync
uv run pytestcd node
npm install
npm startpip install -e .[docs]
mkdocs serve
# Visit http://localhost:8000Install the Amp CLI:
curl -fsSL https://ampcode.com/install.sh | bash
amp loginUpdate to the latest version:
pip install --upgrade acp-ampUse the Node shim fallback:
acp-amp run --driver node- Check your settings.json syntax
- Restart Zed
- Check Zed's output panel for errors
Apache-2.0
Brought to you by Superagentic AI
Built with:
- Amp Code by Amp
- Agent Client Protocol
