Agent2Agent (A2A) Samples
Official code samples for the Agent2Agent protocol, demonstrating multi-agent interoperability with example agent servers and clients in Python, Go, .NET, Java and Node.js.
This repository provides official code samples and demonstrations for the Agent2Agent (A2A) protocol, a standardized way for agents built on different frameworks to communicate, collaborate and delegate tasks. Samples are organized by language, each demonstrating agent implementations using that language's A2A SDK.
A Helloworld example gets a first agent running quickly: starting an agent server in one terminal and a Python CLI host client in another, over a virtual environment with the sample's own dependencies.
The project welcomes contributions of new samples, bug fixes and documentation improvements, and is documented in multiple languages.