Skip to content

ai-boost/awesome-a2a

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✨ Awesome A2A (Agent2Agent Protocol) ✨

Awesome A2A Banner - Abstract network or connection graphic

A curated list of awesome resources, implementations, tools, and examples related to the Agent2Agent (A2A) Protocol for AI agent interoperability.

Deutsch | English | Español | français | 日本語 | 한국어 | Português | Русский | 中文

Awesome License: MIT GitHub stars GitHub forks

The Agent2Agent (A2A) Protocol is revolutionizing how AI agents communicate and collaborate - enabling seamless interoperability across different frameworks, vendors, and platforms. This repository collects the best resources to help developers build A2A-compatible agents.

Contents


🤔 What is A2A? (Briefly)

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: a2aproject.github.io/A2A | ⭐ Official GitHub: github.com/a2aproject/A2A | 🌐 Multilingual Docs (EN/ZH/JA): agent2agent.ren

💡 Key Principles

  • 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 Samples Repo and follow its instructions to run a client (like the CLI) and a sample agent (e.g., LangGraph or Genkit agent).
  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.

🏛️ Official Resources

📜 Specification & Core Concepts

(See How Does A2A Work? above for summaries)

⚙️ Implementations & Libraries

Official Samples

These demonstrate basic A2A client/server communication.

Language Sample Name One-line Description GitHub URL
🔷 TypeScript Genkit SDK Core TS SDK + CLI, builds shared code for front- and backend https://github.com/a2aproject/a2a-samples/tree/main/samples/js
Movie Recommendation Agent Movie-recommendation conversational agent built with Genkit https://github.com/a2aproject/a2a-samples/tree/main/samples/js/src/agents/movie-agent
TypeScript Client Pure-frontend call example written in TS https://github.com/a2aproject/a2a-samples/tree/main/samples/js/client
Node Express Server A2A HTTP service implemented with Node/Express https://github.com/a2aproject/a2a-samples/tree/main/samples/js/server
Java Custom Client Java client with streaming listener https://github.com/a2aproject/a2a-samples/tree/main/samples/java/custom_java_impl/client
Data Models Complete set of POJO data models https://github.com/a2aproject/a2a-samples/tree/main/samples/java/custom_java_impl/model
Custom Server Spring Boot A2A server implementation https://github.com/a2aproject/a2a-samples/tree/main/samples/java/custom_java_impl/server
Dice Agent (Multi-Transport) Agent supporting multiple transport protocols https://github.com/a2aproject/a2a-samples/tree/main/samples/java/agents/dice_agent_multi_transport
Magic 8-Ball (Security) Security-focused agent with OAuth2 https://github.com/a2aproject/a2a-samples/tree/main/samples/java/agents/magic_8_ball_security
Content Writer Agent Content generation agent https://github.com/a2aproject/a2a-samples/tree/main/samples/java/agents/content_writer
Content Editor Agent Content editing agent https://github.com/a2aproject/a2a-samples/tree/main/samples/java/agents/content_editor
Weather MCP Agent Weather agent with MCP integration https://github.com/a2aproject/a2a-samples/tree/main/samples/java/agents/weather_mcp
💠 .NET Basic A2A Demo Echo and Calculator server examples https://github.com/a2aproject/a2a-samples/tree/main/samples/dotnet/BasicA2ADemo
CLI Demo Command-line client and server demo https://github.com/a2aproject/a2a-samples/tree/main/samples/dotnet/A2ACliDemo
Semantic Kernel Demo Integration with Semantic Kernel https://github.com/a2aproject/a2a-samples/tree/main/samples/dotnet/A2ASemanticKernelDemo
🐍 Python CLI Host Command-line interface for interacting with A2A agents https://github.com/a2aproject/a2a-samples/tree/main/samples/python/hosts/cli
Hello World Recommended first-run "Hello World" scaffold https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/helloworld
LangGraph Agent Uses LangGraph to orchestrate multi-turn dialogue https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/langgraph
CrewAI Agent Demonstrates multi-role collaboration with CrewAI https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/crewai
Semantic Kernel Agent Orchestrates tools with Semantic Kernel https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/semantickernel
AG2 Agent Minimal AG2 mutual-call example https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/ag2
ADK Expense Reimbursement Multi-turn expense reimbursement with forms https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/adk_expense_reimbursement
Birthday Planner (ADK) Multi-step birthday-party planner with ADK https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/birthday_planner_adk
Azure AI Foundry Agent Example using Azure AI Foundry SDK https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/azureaifoundry_sdk
A2A MCP Integration Multi-agent collaboration with MCP servers https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/a2a_mcp
MCP without Framework Bare-metal MCP integration without frameworks https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/a2a-mcp-without-framework
Travel Planner Agent One-stop travel-planning agent https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/travel_planner_agent
Headless OAuth2 OAuth2 flow for headless agents https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/headless_agent_auth
Analytics Workflow Multi-agent orchestration for data-analytics https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/analytics
A2A Telemetry Collects and displays agent telemetry data https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/a2a_telemetry
Multiagent Host Comprehensive multi-agent orchestration example https://github.com/a2aproject/a2a-samples/tree/main/samples/python/hosts/a2a_multiagent_host
GitHub Agent Agent with GitHub toolset integration https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/github-agent
Veo Video Generator Generates video via Veo API https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/veo_video_gen
LlamaIndex File Chat Q&A retrieval over local files https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/llama_index_file_chat
Marvin Agent Builds domain agents with Marvin https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/marvin
MindsDB Agent Calls MindsDB for prediction and querying https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/mindsdb
🐹 Go Go Reference Impl Full A2A server + client implemented in Go https://github.com/a2aproject/a2a-samples/tree/main/samples/go

Quick Start First-time users: try TypeScript Movie Recommendation Agent, Python Hello World, or Go Go Reference Impl — minimal dependencies and the simplest startup commands.

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 Multi-turn dialogue orchestration Tools, Streaming, Multi-turn Link
🐍 Python CrewAI Multi-role collaboration Non-textual Artifacts (Files) Link
🐍 Python Google ADK Expense reimbursement Multi-turn, Forms (DataPart) Link
🐍 Python Semantic Kernel Tool orchestration Tools, Multi-turn Link
🐍 Python AG2 Mutual agent calls Agent-to-Agent communication Link
🐍 Python Azure AI Foundry Azure AI integration Cloud deployment, Tools Link
🐍 Python LlamaIndex File Q&A retrieval RAG, Document processing Link
🚀 JS/TS Genkit Movie info / Code generation Tools, Artifacts (Files), Async Link
☕ Java Spring Boot Multi-transport agent HTTP/gRPC, Security Link
💠 .NET Semantic Kernel .NET AI integration Tools, .NET ecosystem Link

Community Implementations

SDKs & Libraries (by language)
  • Go
    • 🌟 trpc-a2a-go by @trpc-group Stars - 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 Stars - A Go library for building A2A servers, with example implementations.
    • 🌟 a2a-go by @yeeaiclub Stars - Agent-to-Agent Protocol Implementation for Go, fully supports all methods of the A2A protocol, referring to the official Python SDK implementation.
  • Rust
    • 🌟 a2a-rs by @EmilLindfors Stars - An idiomatic Rust implementation following hexagonal architecture principles.
    • 🌟 Agentic by @jeremychone Stars - A Rust crate providing essential building blocks for agentic applications, with an ergonomic API for MCP and A2A support. (Work in Progress)
  • Python
    • 🌟 a2a-python by @a2aproject Stars - Official Python SDK for running agentic applications as A2A servers following the Agent2Agent Protocol.
    • 🌟 a2a_min by @pcingola Stars - A minimalistic Python SDK for A2A communication.
    • 🌟 python-a2a by @themanojdesai Stars - An easy-to-use Python library for implementing the A2A protocol.
    • 🌟 A2AServer by @johnson7788 Stars - A Python server framework implementing Google's A2A protocol with MCP integration.
    • 🌟 adk-modular-architecture by @k-jarzyna Stars - A Python project demonstrating a modular architecture for ADK (Agent Development Kit) based agents, with A2A protocol considerations.
  • C#/.NET
    • 🌟 a2adotnet by @azixaka Stars - A C#/.NET implementation of the A2A protocol.
    • 🌟 a2a-net by @neuroglia-io Stars - .NET implementation of the Agent2Agent (A2A) protocol to enable secure, interoperable communication between autonomous agents across frameworks and vendors.
  • JavaScript/TypeScript
    • 🌟 a2a-js by @a2aproject Stars - Official JavaScript SDK for the Agent2Agent (A2A) Protocol.
    • 🌟 nestjs-a2a by @thestupd Stars - A module for integrating the A2A protocol into NestJS applications.
    • 🌟 Artinet SDK by @the-artinet-project Stars - TypeScript (Node.js) A2A compliant server/client simplifying interoperable AI agent creation, focusing on DX and production-readiness.
  • Java
    • 🌟 a2a-java by @a2aproject Stars - Official Java SDK for the Agent2Agent (A2A) Protocol.
    • 🌟 a2ajava by @vishalmysore Stars - Java A2A server/client implementation using Spring Boot with annotations. Supports WebSockets, MCP integration, and includes enterprise/Kubernetes deployment tutorials.
    • 🌟 a2a4j by @a2ap Stars - A2A4J is a comprehensive Java implementation of the Agent2Agent Protocol, including server, client, examples, and a starter — ready to use out of the box.
Frameworks

Developer-first frameworks specifically designed for building A2A-compliant agents.

  • 🚀 AgentUp by @RedDotRocket Stars - A developer-first, open-source AI agent framework designed to make agents portable, scalable, and secure. Features configuration-driven architecture, built-in OAuth2/JWT/API key authentication, automatic A2A discovery, asynchronous task management, and support for both A2A and MCP protocols. Built by engineers who've created open-source solutions powering mission-critical systems at Google, GitHub, Nvidia, Red Hat, Shopify and more.
Platforms & Integrated Solutions
  • 🌟 AG2 (AutoGen) by @ag2ai Stars - Open-source multi-agent framework with native A2A protocol support. Features A2aAgentServer for exposing AG2 agents as A2A services and A2aRemoteAgent for connecting to any A2A-compatible agent. Enables cross-framework interoperability (e.g., with Pydantic AI).
  • 🌟 Elkar by @elkar-ai Stars - An open-source task-management layer for AI agents — based on Google's Agent2Agent Protocol (A2A). Send, track, and orchestrate tasks across AI agents — effortlessly.
  • 🌟 Aira by @IhateCreatingUserNames2 Stars - An A2A network implementation for hosting, registering, discovering, and interacting with agents. Includes agent discovery mechanisms.
  • 🌟 Cognisphere by @IhateCreatingUserNames2 Stars - An AI agent development framework built on Google's ADK, facilitating agent creation potentially for A2A networks.
  • 🌐 Grasp by @adcentury Stars - A Self-hosted Browser Using Agent with built-in MCP and A2A support.
  • 🌟 swissknife by @daltonnyx Stars - 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.
  • 🌟 n8n-nodes-agent2agent by @pjawz Stars - Adds nodes to n8n for interacting with AI agents using Google's Agent2Agent (A2A) protocol.
  • 🌟 google-calendar-agent by @inference-gateway Stars - A standalone A2A agent that can manage a user's Google Calendar, compatible with any OpenAI-compatible API for its LLM.
  • 🌟 A2AApp by @tanaikech Stars - An Agent2Agent (A2A) network built with Google Apps Script, enabling secure, decentralized AI communication and integration within Google Workspace as both an A2A server and client.

🛠️ Tools & Utilities

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-inspector by @a2aproject Stars - Official validation tools for A2A agents, including compliance checking and debugging utilities.
    • ⚙️ 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.
    • 🌟 autoa2a by NapthaAI Stars - Easily convert agents and orchestrators from existing agent frameworks to A2A servers.

📚 Tutorials & Articles

🎬 Demos & Examples

🔗 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.

💬 Community


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!


Contributing

Contributions are welcome! 🙌 Please read the contributing guidelines first. Let's build this list together!

About

Agent2Agent (A2A) – awesome A2A agents, tools, servers & clients, all in one place.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6