Skip to content

This repository gathers concrete implementations and usage examples of the A2A protocol across popular agentic AI frameworks. The goal is to lower the barrier to entry for developers and researchers looking to adopt A2A in their own systems.

Notifications You must be signed in to change notification settings

iteimouri/a2a-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– A2A Protocol Examples Repository

What is A2A?

A2A (Agent-to-Agent) is a communication protocol introduced by Google that enables autonomous agents to interact with each other through standardized message passing, goal negotiation, and task coordination. Rather than treating agents as isolated LLM wrappers or task-specific bots, A2A enables them to:

  • Exchange structured messages (intents, plans, results, etc.)
  • Negotiate roles and responsibilities
  • Form dynamic workflows through coordination and planning
  • Collaborate asynchronously on complex objectives

The protocol is inspired by the need for multi-agent collaboration at scaleβ€”an essential step for complex use cases like automated research, enterprise automation, and multi-modal AI systems.


πŸ“ About This Repository

This repository gathers concrete implementations and usage examples of the A2A protocol across popular agentic AI frameworks. The goal is to lower the barrier to entry for developers and researchers looking to adopt A2A in their own systems.

βœ… Goals

  • Provide plug-and-play examples of A2A in action
  • Demonstrate how to adapt A2A for various frameworks
  • Highlight best practices for multi-agent messaging, intent resolution, and coordination

πŸ“¦ Included Frameworks & Examples

  • πŸͺ„ Agno Agents
  • πŸ“š LlamaIndex
  • 🧠 LangGraph
  • πŸ› οΈ AutoGen
  • πŸ“Š CrewAI
  • πŸ’‘ Pydantic AI
  • πŸ“– OpenAI Agent SDK

πŸ› οΈ How It Works

Each example illustrates the core A2A flow:

  1. Agent Registration: Define agents with roles, goals, capabilities.
  2. Intent Messaging: Agents send/receive intent messages like "propose_plan", "evaluate_output", "request_input".
  3. Coordination: Agents negotiate or agree on task boundaries (e.g., "you validate my output").
  4. Execution Loop: Messages are processed and results are passed to the next agent.
  5. Finalization: Agents may jointly agree on when a task is considered β€œdone”.

πŸš€ Getting Started

Simple go to each folder and follow the instructions and explore the examples

About

This repository gathers concrete implementations and usage examples of the A2A protocol across popular agentic AI frameworks. The goal is to lower the barrier to entry for developers and researchers looking to adopt A2A in their own systems.

Topics

Resources

Stars

Watchers

Forks

Languages