Back to directory

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.

Agent2Agent (A2A) Samples

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.

More in Agent frameworks

See all 902
  • Recurse

    recurse.run

    A serverless harness that lets a coding agent design, test, and deploy its own specialist sub-agents as tools, MCP servers, or bots, defined by a schema-validated manifest.

  • ProofForge

    shulgin.is-a.dev

    An AI-agent pipeline that decomposes a mathematics problem, proves each piece, and formalizes the result in Lean 4 and Mathlib until the Lean kernel accepts it, with six of its proofs already merged into Google DeepMind's formal-conjectures repository.

  • local-coder

    github.com

    Builds a local coding-agent team on top of Ollama and OpenCode by detecting the machine's hardware, recommending models for seven specialist roles, and testing whether each assigned model can actually use tools, edit a repository and pass verification.