> ## Documentation Index
> Fetch the complete documentation index at: https://acp-docs.cxykevin.top/llms.txt
> Use this file to discover all available pages before exploring further.

# Python

> 代理客户端协议的Python库

[agentclientprotocol/python-sdk](https://github.com/agentclientprotocol/python-sdk) 仓库打包了Pydantic模型、异步基类和JSON-RPC管道，因此您可以在Python中构建兼容ACP的代理和客户端。它镜像官方ACP schema，并为协议的双方提供辅助工具。

开始使用，将SDK添加到您的项目中：

```bash theme={null}
pip install agent-client-protocol
```

（使用[uv](https://github.com/astral-sh/uv)？运行 `uv add agent-client-protocol`。）

该仓库在 [`examples/`](https://github.com/agentclientprotocol/python-sdk/tree/main/examples) 下包含了代理、客户端、Gemini CLI桥接以及双代理/客户端演示的可运行示例。

浏览完整文档 - 包括快速入门、贡献助手和API参考 - 在 [agentclientprotocol.github.io/python-sdk](https://agentclientprotocol.github.io/python-sdk/)。
