English | 简体中文 | 日本語 | Español | Deutsch | Français
A curated list of awesome resources, implementations, tools, and examples related to the Google Agent2Agent (A2A) Protocol for AI agent interoperability.
- 🤔 What is A2A? (Briefly)
- 💡 Key Principles
- ⚙️ How Does A2A Work? (High Level)
- 🚀 Getting Started with A2A
- 🏛️ Official Resources
- 📜 Specification & Core Concepts
- ⚙️ Implementations & Libraries
- 🛠️ Tools & Utilities
- 📚 Tutorials & Articles
- 🎬 Demos & Examples
- 🔗 Related Protocols & Concepts
- 💬 Community
- Contributing
A2A (Agent2Agent) is an open protocol from Google and partners enabling different AI agents (from various vendors/frameworks) to communicate securely and collaborate on tasks. It aims to break down silos between isolated agent systems, allowing for more complex cross-application automation.
⭐ Official Website: google.github.io/A2A | ⭐ Official GitHub: github.com/google/A2A | 🌐 Multilingual Docs (EN/ZH/JA): agent2agent.ren
- Simple: Uses existing standards (HTTP, JSON-RPC, SSE).
- Enterprise Ready: Focuses on Auth, Security, Privacy, Monitoring.
- Async First: Handles long-running tasks & human-in-the-loop.
- Modality Agnostic: Supports Text, Files, Forms, Streams, etc.
- Opaque Execution: Agents interact without sharing internal logic/tools.
- Discovery: Agents publish an
Agent Card
(JSON) describing capabilities, endpoint, and auth needs. - Communication: A
Client
agent sends aTask
request (containing aMessage
withParts
) to aRemote Agent (Server)
using HTTP/JSON-RPC 2.0. - Execution & Response: The Server processes the task, updating its
status
. It responds with the final status and any generatedArtifacts
(results, also containingParts
). - Updates: For long tasks, the Server can optionally stream
TaskStatusUpdateEvent
orTaskArtifactUpdateEvent
via Server-Sent Events (SSE) or use Push Notifications.
For details, see the Official Technical Documentation.
New to A2A? Here's a suggested path:
- Understand the Basics: Read the sections above (What is A2A?, Key Principles, How it Works). Check the 📰 Announcement Blog Post.
- Explore Core Concepts: Dive into the 📖 Official Technical Documentation, focusing on
Agent Card
,Task
,Message
,Part
, andArtifact
. - See it in Action: Watch the 🎥 Official Demo Video and explore the code for the 🌐 Multi-Agent Web App Demo.
- Run the Samples: Clone the Official Repo and follow the instructions in
/samples
to run a client (like the CLI) and a sample agent (e.g., LangGraph or Genkit agent). See the Official Samples tables below for links. - Review the Code: Look at the
common
(Python) orserver
/client
(JS/TS) libraries in the official samples to see how A2A communication is implemented. - Try Building: Adapt a sample or use a library to create your own basic A2A agent or client.
- 📄 A2A Protocol Website - The main documentation site.
- 💻 google/A2A GitHub Repository - Source code for the spec, docs, and official samples.
- 📰 Google Developers Blog Post - Announcement blog post explaining the motivation and partners.
(See How Does A2A Work? above for summaries)
- 📖 A2A Technical Documentation - (Full Details) Detailed explanation of actors, transport, auth, core objects (Task, Artifact, Message, Part), Agent Card, etc.
- 📄 JSON Specification - The raw JSON schema definition for A2A structures.
- 💡 Key Principles (Docs) - Link to the principles section in the official docs.
- 🃏 Agent Card Specification (Docs) - Link to the Agent Card section in the official docs.
- 🗺️ Agent Discovery (Topic) - Discussion on how clients can find agent cards.
- 🔔 Push Notifications (Topic) - Details on the push notification mechanism.
- 🛡️ Enterprise Readiness (Topic) - Discussion on security, auth, privacy aspects.
These demonstrate basic A2A client/server communication.
Language | Type | Framework | Description | Link |
---|---|---|---|---|
🐍 Python | Common Library | - | Core HTTP, JSON-RPC, SSE handling | Link |
🐍 Python | Host (Client) | CLI | Command-line client example | Link |
🐍 Python | Host (Agent) | ADK | Orchestrator agent delegating to A2A agents | Link |
🚀 JS/TS | Server Library | Express | Core server implementation | Link |
🚀 JS/TS | Client Library | - | Client implementation | Link |
🚀 JS/TS | Host (Client) | CLI | Command-line client example | Link |
These show how agents built with specific frameworks can expose an A2A interface.
Language | Agent Framework | Agent Description | Key A2A Features Demonstrated | Link |
---|---|---|---|---|
🐍 Python | LangGraph | Currency conversion | Tools, Streaming, Multi-turn | Link |
🐍 Python | CrewAI | Image generation | Non-textual Artifacts (Files) | Link |
🐍 Python | Google ADK | Expense reimbursement | Multi-turn, Forms (DataPart) | Link |
🚀 JS/TS | Genkit | Movie info / Code generation | Tools, Artifacts (Files), Async | Link |
- 🌟 trpc-a2a-go by @trpc-group
- Go A2A implementation by the tRPC team featuring full client/server support, in-memory task management, streaming responses, session management, multiple auth methods (JWT, API Key, OAuth2), and comprehensive examples.
- 🌟 a2a-go by @a2aserver
- A Go library for building A2A servers, with example implementations.
- 🌟 a2a-rs by @EmilLindfors
- An idiomatic Rust implementation following hexagonal architecture principles.
- 🌟 a2a_min by @pcingola
- A minimalistic Python SDK for A2A communication.
- 🌟 a2adotnet by @azixaka
- A C#/.NET implementation of the A2A protocol.
- 🌟 nestjs-a2a by @thestupd
- A module for integrating the A2A protocol into NestJS applications.
- 🌟 python-a2a by @themanojdesai
- An easy-to-use Python library for implementing the A2A protocol.
- 🌟 Aira by @IhateCreatingUserNames2
- An A2A network implementation for hosting, registering, discovering, and interacting with agents.
- 🌟 Cognisphere by @IhateCreatingUserNames2
- An AI agent development framework built on Google's ADK, facilitating agent creation potentially for A2A networks.
- 🌐 Grasp by @adcentury
- A Self-hosted Browser Using Agent with built-in MCP and A2A support.
- 🌟 swissknife by @daltonnyx
- A multi-agent chat application with MCP support, aiming to expose agents via the A2A protocol and connect to remote A2A agents as a client.
- 🔍 Agent Discovery Services - [Link] - Description (e.g., implementation of an 'Agent Catalog').
- ✅ A2A Validation Tool - [Link] - Tool to check compliance of an A2A endpoint.
- 📊 Monitoring/Tracing Adapters - [Link] - Integrations for observability platforms.
- 📄 Official A2A Conceptual Overview (README) - High-level explanation in the official repo's README.
- 🚀 Getting Started Guide (Official README) - Links to docs, spec, samples in the official repo's README.
- 🌐 Agent2Agent Protocol Documentation Site - Community-driven, open-source documentation site for the A2A protocol. Built with React/TypeScript, supports English, Chinese, and Japanese. (Source Code)
- 📄 A Survey of AI Agent Protocols - Academic paper surveying existing LLM agent communication protocols (including the category A2A falls into), classifying them, analyzing performance, and discussing future challenges.
- 🌐 Official Multi-Agent Web App (Python/Mesop) - Demonstrates the orchestrator agent interacting with multiple remote agents, rendering text, images, and forms. Requires running Python code.
- 🎥 Official Demo Video (Section Link) - Link to the video embedded in the official repository's README.
- 📦 Model Context Protocol (MCP) - Complementary protocol focused on providing tools/context to agents. (A2A and MCP Discussion).
- 📞 Function Calling / Tool Use Standards - [Link] - Relevant standards (e.g., OpenAI function calling).
- 🐞 google/A2A GitHub Issues - For reporting bugs or suggesting protocol improvements.
- 💬 google/A2A GitHub Discussions - For general questions, ideas, and community discussions about the A2A protocol.
- 🔒 Private Feedback Form - Google form for private feedback.
Let's Make Awesome A2A More Useful, Together!
A2A is still pretty new, and good resources or practical tips can be scattered. We created this list to bring the good stuff together, making it easier for everyone to find, learn, and reference.
Keeping this list high-quality and up-to-date relies on the community:
- ⭐ Star it: If you find it useful, it's a great way to show support and makes it easy to find later.
- ➕ Share what you find: Found a great library, article, tool, or even a common pitfall? Add it via an Issue or PR – let's build this resource together.
- 📣 Spread the word: Let others know about this list if they're exploring or working with A2A.
Thanks for your interest and contributions!
Contributions are welcome! 🙌 Please read the contributing guidelines first. Let's build this list together!