simlock
병렬 코딩 에이전트가 동일 시뮬레이터를 놓고 충돌하지 않도록 제어 평면 제공
Agent2Agent(A2A) 프로토콜용 공식 파이썬 SDK
Official Python SDK for the Agent2Agent (A2A) Protocol
개발 도구Python · ShellGitHub @a2aproject직접 설치운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗[!IMPORTANT] Upgrading the SDK from
0.3to1.0? See the v0.3 → v1.0 migration guide. For supported A2A spec versions, see Compatibility.
This SDK implements the A2A Protocol Specification 1.0, with compatibility mode for 0.3. See #742 for details on the compatibility scope.
| Spec Version | Transport | Client | Server |
|---|---|---|---|
1.0 | JSON-RPC | ✅ | ✅ |
1.0 | HTTP+JSON/REST | ✅ | ✅ |
1.0 | gRPC | ✅ | ✅ |
0.3 (compat) | JSON-RPC | ✅ | ✅ |
0.3 (compat) | HTTP+JSON/REST | ✅ | ✅ |
0.3 (compat) | gRPC | ✅ | ✅ |
uv (recommended) or pipInstall the core SDK and any desired extras using your preferred package manager.
| Feature | uv Command | pip Command |
|---|---|---|
| Core SDK | uv add a2a-sdk | pip install a2a-sdk |
| All Extras | uv add "a2a-sdk[all]" | pip install "a2a-sdk[all]" |
| HTTP Server | uv add "a2a-sdk[http-server]" | pip install "a2a-sdk[http-server]" |
| FastAPI Integration | uv add "a2a-sdk[fastapi]" | pip install "a2a-sdk[fastapi]" |
| gRPC Support | uv add "a2a-sdk[grpc]" | pip install "a2a-sdk[grpc]" |
| OpenTelemetry Tracing | uv add "a2a-sdk[telemetry]" | pip install "a2a-sdk[telemetry]" |
| Encryption | uv add "a2a-sdk[encryption]" | pip install "a2a-sdk[encryption]" |
| Database Drivers | ||
| PostgreSQL | uv add "a2a-sdk[postgresql]" | pip install "a2a-sdk[postgresql]" |
| MySQL | uv add "a2a-sdk[mysql]" | pip install "a2a-sdk[mysql]" |
| SQLite | uv add "a2a-sdk[sqlite]" | pip install "a2a-sdk[sqlite]" |
| All SQL Drivers | uv add "a2a-sdk[sql]" | pip install "a2a-sdk[sql]" |
Run Remote Agent
git clone https://github.com/a2aproject/a2a-samples.git
cd a2a-samples/samples/python/agents/helloworld
uv run .
In another terminal, run the client
cd a2a-samples/samples/python/agents/helloworld
uv run test_client.py
You can validate your agent using the agent inspector. Follow the instructions at the a2a-inspector repo.
You can find a variety of more detailed examples in the a2a-samples repository:
Contributions are welcome! Please see the CONTRIBUTING.md file for guidelines on how to get involved.
This project is licensed under the Apache 2.0 License. See the LICENSE file for more details.