ACP adapter that bridges Amp Code to Agent Client Protocol
Project description
acp-amp
acp-amp is an open source ACP adapter for Amp Code. It runs as a standard ACP agent over stdin and stdout and can be used from any ACP client, for example Zed or SuperQode.
Where you can use it
- Zed editor via
agent_servers - SuperQode via ACP agent config
- Any ACP client that can launch a subprocess and speak JSON-RPC over stdio
Install (recommended)
uv tool install acp-amp
Install (pip)
pip install acp-amp
Install (dev)
pip install -e .
Install with uv
uv sync
Install Node shim deps
cd node-shim
npm install
Run
acp-amp
Tests
pip install -e .[test]
pytest
Tests with uv
uv run pytest
Docs
pip install -e .[docs]
mkdocs serve
Docs with uv
uv run mkdocs serve
Use from an ACP client (example: SuperQode)
agents:
amp:
description: "Amp ACP adapter"
protocol: acp
command: acp-amp
args: []
Then connect:
superqode connect acp amp
Zed example
{
"agent_servers": {
"Amp": {
"command": "acp-amp",
"args": [],
"env": {
"AMP_API_KEY": "your-api-key-here"
}
}
}
}
Notes
- Stdout is reserved for ACP JSON-RPC messages, logs go to stderr
- The Node shim lives in
node-shim/and is launched automatically
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
acp_amp-0.1.0.tar.gz
(10.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
acp_amp-0.1.0-py3-none-any.whl
(10.8 kB
view details)
File details
Details for the file acp_amp-0.1.0.tar.gz.
File metadata
- Download URL: acp_amp-0.1.0.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
067673989bf9dbcf25d94f0405aa019665639ba0d0cbf4051c4ac3a27ec3a6b8
|
|
| MD5 |
15ee511c9af3b90ec0f08985b27c93ac
|
|
| BLAKE2b-256 |
fa5ceb6df33418c73fe51ab4769924a456ea6fc1736e51f0986d8c44f3369c7b
|
File details
Details for the file acp_amp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: acp_amp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d386e6239ecd469a3ecb0dd0b50e1298e911daff51267a27cd85a7e45df73c01
|
|
| MD5 |
0ff5ac2a9a486735d2f3eb840bb4af68
|
|
| BLAKE2b-256 |
18f9b70844e890f21b2aff057944ac4b745d3fc307768819313693ecb2149285
|