Skip to main content

ACP — Agent Communication Protocol CLI

Command-line interface for ACP identity management, discovery, and message delivery. ACP (Agent Communication Protocol) is a secure, identity-driven protocol for autonomous systems to communicate, collaborate, and coordinate across environments. Unlike traditional API integrations or message brokers, ACP is designed for AI agents operating in dynamic, distributed ecosystems. This project is not related to other packages using the acronym "ACP"

HTTP is for services. ACP is for agents.

What is ACP?

ACP provides:

  • Identity-first communication between agents
  • Signed and optionally encrypted message envelopes
  • Transport independence (HTTP, AMQP, MQTT)
  • Relay-based routing across network boundaries
  • Capability-driven interaction patterns

This enables agents to discover each other, exchange messages, and collaborate without tight coupling.

What ACP Is Not

  • Not a message broker.
  • Not a JSON schema format.
  • Not a framework-specific tool protocol.

Why ACP?

Modern systems are evolving from services into autonomous agents. Current approaches (REST APIs, webhooks, point-to-point messaging) lead to:

  • brittle integrations
  • hidden coupling
  • limited interoperability
  • lack of governance

ACP introduces a protocol layer for agent communication, similar to how HTTP enabled the web.

When to Use ACP

Use ACP when:

  • autonomous agents need to communicate across teams, runtimes, or network boundaries
  • identity and message verification are required at the protocol level
  • you want one protocol across direct and relay delivery paths

ACP may be unnecessary when:

  • one application calls one service with stable, tightly controlled APIs
  • plain HTTP/REST already solves the integration with low coordination overhead

ACP vs Typical Approaches

Approach Good fit Gaps for autonomous agent communication
REST APIs stable service-to-service calls endpoint coupling and custom identity/discovery conventions
Webhooks event callbacks delivery and trust rules vary by implementation
Message brokers high-throughput internal messaging broker-specific semantics, no shared agent protocol layer
Agent tool protocols tool invocation inside one framework often framework-scoped, not cross-runtime protocol contracts
ACP cross-agent protocol with identity + secure envelopes adds protocol concepts not needed for trivial single-service cases

SDK Installation Parity

Status labels used in this repo:

  • Published
  • Available from repo
  • Coming

| SDK | Status | | Python (acp-runtime) | Published| | TypeScript (acp-runtime) | Published| | Rust (acp) | Available from repo| | Go (github.com/acp/sdk-go) | Available from repo| | Java (io.acp:acp-sdk) | Available from repo | | Mojo wrapper (acp-sdk-mojo) | Available from repo |

No SDK in this repository snapshot is currently labeled Coming.

Repo Structure

  • getting-started/: verified local ping flow
  • examples/: runnable demos (hello_world_agent.py, one-to-one, one-to-many, capabilities)
  • sdks/: language SDK implementations
  • cli/: ACP CLI (acp)
  • relay-dev/: developer relay for local/test routing

Open Source Scope

This repository is for learning, local development, and interoperability testing.


Install

Published packages:

pip install acp-runtime acpctl

From this repository:

pip install -e sdks/python -e cli

Check installation:

acp --help

First run

Use the repository quickstart ping flow:

./getting-started/quickstart_ping.sh

Details: getting-started/README.md.

Common commands

acp identity create --agent-id agent:demo.bot@localhost:9010 --direct-endpoint http://localhost:9010/acp/inbox
acp message send --from agent:demo.bot@localhost:9010 --to agent:peer.bot@localhost:9011 --payload-json '{"type":"ping"}' --delivery-mode direct --allow-insecure-http
acp message capabilities --from agent:demo.bot@localhost:9010 --to agent:peer.bot@localhost:9011 --allow-insecure-http

Metadata

Release files for acpctl 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acpctl 0.1.3
File Size Uploaded
acpctl-0.1.3.tar.gz 28.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for acpctl 0.1.3
File Interpreter ABI Platform
acpctl-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 62.5 kB

Release files / acpctl-0.1.3.tar.gz

Download URL acpctl-0.1.3.tar.gz
Size 28.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ceec0190ee536e0849867bf7cb401c96e8f98fabebd6a3a81b1513bb13e3a656
BLAKE2b-256 checksum
How to use checksums
3222504351e226b89a4d772d6b6f980866dad58f34b9ddbbd80a17e6aecc8d88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / acpctl-0.1.3-py3-none-any.whl

Download URL acpctl-0.1.3-py3-none-any.whl
Size 34.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8426ae3d316d391b7d6f07c9c6685a65f59815ca17ce737b98162fa1324cd6fb
BLAKE2b-256 checksum
How to use checksums
3522c08ed268d0b1145962fab848e74cf678994a3fb867751dd57682a609a2ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page