Show HN: A2A – curated resources for Google's Agent2Agent protocol

4 days ago 2

✨ Awesome A2A (Agent2Agent Protocol) ✨

Awesome A2A Banner - Abstract network or connection graphic

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.


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.

⚙️ How Does A2A Work? (High Level)

  1. Discovery: Agents publish an Agent Card (JSON) describing capabilities, endpoint, and auth needs.
  2. Communication: A Client agent sends a Task request (containing a Message with Parts) to a Remote Agent (Server) using HTTP/JSON-RPC 2.0.
  3. Execution & Response: The Server processes the task, updating its status. It responds with the final status and any generated Artifacts (results, also containing Parts).
  4. Updates: For long tasks, the Server can optionally stream TaskStatusUpdateEvent or TaskArtifactUpdateEvent via Server-Sent Events (SSE) or use Push Notifications.

For details, see the Official Technical Documentation.


🚀 Getting Started with A2A

New to A2A? Here's a suggested path:

  1. Understand the Basics: Read the sections above (What is A2A?, Key Principles, How it Works). Check the 📰 Announcement Blog Post.
  2. Explore Core Concepts: Dive into the 📖 Official Technical Documentation, focusing on Agent Card, Task, Message, Part, and Artifact.
  3. See it in Action: Watch the 🎥 Official Demo Video and explore the code for the 🌐 Multi-Agent Web App Demo.
  4. 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.
  5. Review the Code: Look at the common (Python) or server/client (JS/TS) libraries in the official samples to see how A2A communication is implemented.
  6. Try Building: Adapt a sample or use a library to create your own basic A2A agent or client.

📜 Specification & Core Concepts

(See How Does A2A Work? above for summaries)

⚙️ Implementations & Libraries

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

Framework Integrations (Official Samples)

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

Community Implementations

SDKs & Libraries (by language)
  • Go
  • Rust
  • Python
  • C#/.NET
  • JavaScript/TypeScript
  • Java
    • 🌟 a2ajava by @vishalmysore Stars - Java A2A server/client implementation using Spring Boot with annotations. Supports WebSockets, MCP integration, and includes enterprise/Kubernetes deployment tutorials.
Platforms & Integrated Solutions

This section aims to list standalone tools and utilities related to the A2A protocol. The ecosystem is still developing, and community contributions are welcome!

  • Agent Discovery Services
    • Some platform-level implementations (like Aira) include agent registration and discovery mechanisms within their features.
    • Community contributions welcome: Standalone agent directory service implementations, Agent Card search engines, etc.
  • A2A Validation Tool
    • ⚙️ A2A Validation Tool by @llmx-de Stars - Cross-platform desktop app for testing & validating A2A protocol implementations, with features like multi-agent connection and session management.
    • Community contributions welcome: Online or command-line validators for checking if Agent Card, Task/Artifact structures comply with A2A JSON Schema specifications, or IDE plugins, etc.
  • Monitoring/Tracing Adapters
    • Community contributions welcome: Adapters or libraries for integrating A2A task flow data into mainstream monitoring platforms like OpenTelemetry, Prometheus, Grafana, etc.
  • Other Utilities
    • Community contributions welcome: e.g., A2A message construction helper tools, Agent Card generators, Mock A2A Server/Client, etc.

🔗 Related Protocols & Concepts

  • 📦 Model Context Protocol (MCP) - Complementary protocol focused on providing tools/context to agents. (A2A and MCP Discussion).
  • 📞 Function Calling / Tool Use Standards - Community contributions welcome: Discussion on patterns, best practices, or relevant standards for function calling/tool use in conjunction with A2A.

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!

Read Entire Article