This release is a pre-release and may not be stable for production use.
Agent Client Protocol (Python)
Build ACP-compliant agents and clients in Python with generated schema models, asyncio transports, and runnable demos.
Releases track the upstream ACP schema; contributions that tighten coverage or tooling are always welcome.
Install
pip install agent-client-protocol
# or
uv add agent-client-protocol
At a glance
- Spec parity: Generated Pydantic models in
acp.schematrack every ACP release so payloads stay valid. - Direct construction: Generated discriminator fields have defaults, so models can be instantiated directly.
- Runtime ergonomics: Async base classes, stdio JSON-RPC plumbing, and lifecycle helpers keep custom agents tiny.
- Examples ready: Streaming, permissions, Gemini bridge, and duet demos live under
examples/. - Contrib utilities: Session accumulators, tool call trackers, and permission brokers share patterns from real deployments.
Who benefits
- Agent authors who need typed models and event-stream ergonomics for ACP-compatible assistants.
- Client integrators embedding ACP parties inside Python applications or wrapping existing CLIs via stdio.
- Tooling teams experimenting with permission flows, streaming UX, or Gemini bridges without re-implementing transports. See real adopters like kimi-cli in the Use Cases list.
How to get started
- Follow the Quickstart guide for installation, echo-agent validation, editor wiring (e.g. Zed), and programmatic launch recipes.
- Browse the example gallery to see progressively richer integrations you can copy or extend.
- Skim the docs hub for focused references on contrib helpers, releasing, and transport details.
Quick links
Project layout
src/acp/: runtime package (agents, clients, transports, schema bindings, contrib utilities)schema/: upstream JSON schema sources (regenerate viamake gen-all)docs/: MkDocs content backing the published documentationexamples/: runnable scripts covering stdio orchestration patternstests/: pytest suite with golden fixtures and optional Gemini coverage
Developer commands
make installprovisions theuvvirtualenv and installs pre-commit hooks.make checkruns Ruff formatting/linting, type analysis, dependency hygiene, and lock verification.make testexecutespytest(with doctests) inside the managed environment.ACP_SCHEMA_VERSION=<ref> make gen-allrefreshes protocol artifacts when the schema advances.
Keep docs and examples current whenever you ship public API or transport changes, and prefer Conventional Commits (feat:, fix:, etc.) when submitting patches.
Community & support
- File issues or feature requests at https://github.com/agentclientprotocol/python-sdk.
- Discuss ideas or get help via GitHub Discussions: https://github.com/agentclientprotocol/python-sdk/discussions.
- Join the broader ACP conversations at https://agentclientprotocol.com/, the Zed community channels, or the community Zulip: https://agentclientprotocol.zulipchat.com/.
- Shared learnings, integrations, or third-party transports are welcome additions to the documentation—open a PR!
Metadata
Release files for agent-client-protocol 1.0.0rc3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agent_client_protocol-1.0.0rc3.tar.gz | 182.8 kB | Without provenance | Details for agent_client_protocol-1.0.0rc3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agent_client_protocol-1.0.0rc3-py3-none-any.whl | Python 3 | none | any | Details for agent_client_protocol-1.0.0rc3-py3-none-any.whl |
Total release size: 310.0 kB
Release files / agent_client_protocol-1.0.0rc3.tar.gz
| Download URL | agent_client_protocol-1.0.0rc3.tar.gz |
|---|---|
| Size | 182.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5bdaab0a0bc7e5a0a660c82f5acf7804d60aa8c65a373acc743dd88c7a72cf5
|
|
BLAKE2b-256 checksum How to use checksums |
66ad2c00ce0a2d1381cec36f2841c74ab67a4436d490d7c432b36b76b901f49c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / agent_client_protocol-1.0.0rc3-py3-none-any.whl
| Download URL | agent_client_protocol-1.0.0rc3-py3-none-any.whl |
|---|---|
| Size | 127.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
003c087eae1b03f2410f2e06bcfbaaa26ae99abbdd011c7a2183e5a699a3426f
|
|
BLAKE2b-256 checksum How to use checksums |
9c40f1f64b3a439ac8fe0e66208d3d5cd8c87db3c8ceac8d06864143fb2414c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Security for agent-client-protocol 1.0.0rc3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.