Protocol
ACP
Type
SDK
Stars
345
License
Apache-2.0
Last push
Nov 7, 2026
Source
Official

ACP Python SDK ACP SDK

by agentclientprotocol• 345•
ACPSDKPython

Python SDK for ACP clients and agents

About ACP Python SDK

ACP Python SDK is an open-source ACP SDK by agentclientprotocol, written mainly in Python. Python SDK for ACP clients and agents. It has 345 GitHub stars and uses the Apache-2.0 license, and its code was last pushed on Nov 7, 2026.

New to ACP? Our ACP Protocol guide explains how it works and lists other projects built on it.

At a glance

Protocol
ACP
Type
SDK
Language
Python
License
Apache-2.0
GitHub stars
345
Last push
Nov 7, 2026

Listed from public GitHub data, checked 2026-11-08. Not scanned by AgenticMart.

Questions about ACP Python SDK

What is ACP Python SDK?

Python SDK for ACP clients and agents It is listed as a ACP SDK, maintained in the agentclientprotocol/python-sdk repository on GitHub.

How do I install ACP Python SDK?

The README in agentclientprotocol/python-sdk has the setup steps. Clone the repository with git clone https://github.com/agentclientprotocol/python-sdk.git and follow its instructions.

Is ACP Python SDK an official ACP project?

Yes. It is published by the organisation that runs ACP or by its official project.

What license does ACP Python SDK use?

It is published under the Apache-2.0 license. Check the license file in the repository before using it commercially.

Is ACP Python SDK still maintained?

Its code was last pushed on Nov 7, 2026, and it had 345 GitHub stars when we checked on 2026-11-08. Look at recent issues and releases in the repository for a fuller picture.

README

<a href="https://agentclientprotocol.com/"> <img alt="Agent Client Protocol" src="https://zed.dev/img/acp/banner-dark.webp"> </a>

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.schema track 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

NeedLink
Docs hubhttps://agentclientprotocol.github.io/python-sdk/
Quickstarthttps://agentclientprotocol.github.io/python-sdk/quickstart/
Use caseshttps://agentclientprotocol.github.io/python-sdk/use-cases/
Contrib helpershttps://agentclientprotocol.github.io/python-sdk/contrib/
Releasing workflowhttps://agentclientprotocol.github.io/python-sdk/releasing/
Exampleshttps://github.com/agentclientprotocol/python-sdk/tree/main/examples
Testshttps://github.com/agentclientprotocol/python-sdk/tree/main/tests
PyPIhttps://pypi.org/project/agent-client-protocol/

Project layout

  • src/acp/: runtime package (agents, clients, transports, schema bindings, contrib utilities)
  • schema/: upstream JSON schema sources (regenerate via make gen-all)
  • docs/: MkDocs content backing the published documentation
  • examples/: runnable scripts covering stdio orchestration patterns
  • tests/: pytest suite with golden fixtures and optional Gemini coverage

Developer commands

  • make install provisions the uv virtualenv and installs pre-commit hooks.
  • make check runs Ruff formatting/linting, type analysis, dependency hygiene, and lock verification.
  • make test executes pytest (with doctests) inside the managed environment.
  • ACP_SCHEMA_VERSION=<ref> make gen-all refreshes 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

More ACP projects

All 20 →