agentclientprotocol/python-sdk
Python SDK for ACP clients and agents.
What it solves
Building communication bridges between AI agents and client applications requires handling data models and network transports. This SDK provides the Python tooling needed to implement the Agent Client Protocol easily.
How it works
It offers generated Pydantic data models and asynchronous transports over standard input/output (stdio), Streamable HTTP, and WebSockets. Developers can subclass provided classes to build custom agents or drive agents programmatically from Python code.
Who it’s for
Python developers who want to build AI agents or client applications compatible with the Agent Client Protocol, or connect agents to editors and tools like Zed, Toad, Lody, or T3 Code.
Highlights
- Generated Pydantic models for safe data handling
- Asynchronous transports supporting stdio, Streamable HTTP, and WebSockets
- Support for building both agents and driving them as a client
- Built-in handling for protocol versions, sessions, and prompts
Related
- Project
modelcontextprotocol/python-sdkA Python SDK for the Model Context Protocol that enables developers to build standardized servers and clients to connect LLM applications with external data and tools.
- Project
a2aproject/a2a-pythonA Python SDK for building agentic applications that follow the Agent2Agent (A2A) Protocol for standardized inter-agent communication.
- Project
agentclientprotocol/agent-client-protocolAgent Client Protocol (ACP) is a language‑agnostic JSON‑RPC standard that lets code editors talk to generative‑AI coding agents. The repository provides the Rust schema crate, versioned JSON‑Schema files, and links to official SDKs (Kotlin, Java, Python, Rust, TypeScript). It defines a stable protocol version (1) negotiated at runtime, enabling editors and agents to interoperate without custom adapters.
- Project
agent-network-protocol/anpAgentConnect is the official multi-language SDK and reference implementation for the Agent Network Protocol (ANP). It provides tools for agents to publish discoverable interfaces, authenticate with decentralized identities, exchange verifiable proofs, and communicate securely, with packages for Python, Go, Rust, Dart, TypeScript, and Java.
- Project
pydantic/pydantic-aiPydantic AI is a Python SDK for building typed, model-agnostic AI agents that can run across many interfaces, with tools, durable execution, voice, image generation, and observability built in.