Skip to main content

ACP adapter that bridges Amp Code to Agent Client Protocol

Project description

acp-amp

CI License

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.1.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acp_amp-0.1.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file acp_amp-0.1.1.tar.gz.

File metadata

  • Download URL: acp_amp-0.1.1.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

Hashes for acp_amp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 16e2a68dfc26977a424d4a2d0247474f07265bf8001f57828e2df8733d5ccc26
MD5 77cf9d3803782c8bb40518053443e49a
BLAKE2b-256 901f93ee1513869d8ddecc788d2ee4dbf9496f98d846717960264f8f12e1d2d0

See more details on using hashes here.

File details

Details for the file acp_amp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: acp_amp-0.1.1-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

Hashes for acp_amp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5361c3465e13cdec31b60c80fc9de4e218b96ed6f085e2722ee12440cd27ee71
MD5 6f9270130ad1c11e0b09b0c4417e082d
BLAKE2b-256 ec5b83197a2fc3656089911845cb2c910f122b47dc832444cb67751757ab97f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page