Official Python SDK for the Agent2Agent Protocol. Provides async A2A client/server abstractions with optional HTTP/gRPC/OpenTelemetry integrations and SQL database support.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
Official Python SDK for the Agent2Agent (A2A) Protocol. The repository describes a Python library to run agentic applications as A2A Servers, with compatibility to A2A Protocol versions 1.0 and 0.3 in compatibility mode.
How it works
The SDK is built for asynchronous Python and supports various optional integrations including HTTP servers (FastAPI, Starlette), gRPC, OpenTelemetry for tracing, and SQL databases (PostgreSQL, MySQL, SQLite). It provides a core SDK and extras that can be installed via pip or uv. The README lists installation options for core and extras, indicating modular installation depending on desired capabilities.
Getting started
Prerequisites:
- Python 3.10+
- uv (recommended) or pip
Installation commands provided for core and extras:
| Feature |
uvCommand |pipCommand | | ------------------------ | ------------------------------------------ | -------------------------------------------- | | 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]"|
Examples show running a Hell World-like setup using uv, and client interaction via separate terminals. The repository provides compatibility details for A2A spec 1.0 with support for multiple transport layers (JSON-RPC, HTTP REST, gRPC) and compatibility mode for 0.3.
Recent releases
Latest releases (latest 5):
- v1.1.2 (2026-07-22) with commit reference likely between v1.1.1 and v1.1.2
- v1.1.1 (2026-07-16)
- v1.1.0 (2026-05-29)
- v1.0.3 (2026-05-13)
- nightly-metrics (2026-05-05)
Traction
Stars: 2062 Forks: 466 Open issues: 51
License
Apache-2.0
Getting started notes
This SDK implements the A2A Protocol Specification 1.0 with compatibility for 0.3. It supports optional integrations for HTTP servers, gRPC, OpenTelemetry, and SQL database drivers. The installation instructions include multiple pip install examples for core and extras, indicating modular usage.





