Cette page est affichée en anglais. Une traduction française est en cours.
SkillsApr 7, 2026·2 min de lecture

Google A2A — Agent-to-Agent Communication Protocol

Open protocol by Google for AI agents to discover, authenticate, and communicate with each other. Enables multi-agent systems across different frameworks and providers. 10,000+ stars.

Prêt pour agents

Installation agent prête

Cet actif peut être installé après choix du runtime, vérification du plan et exécution de la commande adaptée.

Native · 98/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
Google A2A — Agent-to-Agent Communication Protocol
Commande d'installation directe
npx -y tokrepo@latest install 165627cf-cebe-47d3-9293-f75353499fd9 --target codex

À exécuter après confirmation du plan en dry-run.

TL;DR
Google A2A lets AI agents discover, authenticate, and communicate with each other across different frameworks.
§01

What it is

Google A2A (Agent-to-Agent) is an open protocol that enables AI agents to discover, authenticate, and communicate with each other regardless of the framework or provider that built them. Each agent publishes an Agent Card describing its capabilities, and other agents use that card to initiate structured communication.

A2A targets teams building multi-agent systems where agents from different vendors or frameworks need to collaborate on tasks, share context, or delegate subtasks.

§02

How it saves time or tokens

Without A2A, connecting agents from different frameworks requires custom integration code for each pair. A2A provides a standard protocol so any compliant agent can talk to any other compliant agent. The discovery mechanism (Agent Cards) eliminates manual configuration of agent endpoints. Structured message formats reduce the token overhead of free-form natural language communication between agents. Estimated token usage is around 2,600 tokens per multi-agent interaction.

§03

How to use

  1. Install the A2A SDK:
pip install a2a-sdk
  1. Create an A2A server with an Agent Card:
from a2a import A2AServer, AgentCard

card = AgentCard(
    name='code-reviewer',
    description='Reviews code for bugs and style issues',
    capabilities=['code-review', 'security-audit'],
    endpoint='https://my-agent.example.com/a2a'
)

server = A2AServer(card=card)

@server.on_task
async def handle_task(task):
    code = task.input['code']
    return {'review': 'Looks good, no issues found.'}

server.run(port=8000)
  1. Discover and call another agent:
from a2a import A2AClient

client = A2AClient()
agent = await client.discover('https://other-agent.example.com/a2a')
result = await agent.send_task({
    'type': 'code-review',
    'input': {'code': 'def hello(): print("hi")'}
})
§04

Example

Agent Card JSON structure:

{
  "name": "code-reviewer",
  "description": "Reviews code for bugs and style issues",
  "capabilities": ["code-review", "security-audit"],
  "endpoint": "https://my-agent.example.com/a2a",
  "authentication": {
    "type": "bearer",
    "token_url": "https://auth.example.com/token"
  }
}
§05

Related on TokRepo

§06

Common pitfalls

  • A2A is a communication protocol, not an agent framework. You still need LangGraph, CrewAI, or similar to build the agent logic.
  • Agent Card discovery requires a well-known URL or registry. Without proper DNS or service discovery, agents cannot find each other.
  • Authentication between agents must be configured explicitly. Do not expose agent endpoints without proper token-based auth in production.

Questions fréquentes

How is A2A different from MCP?+

MCP (Model Context Protocol) connects models to tools and data sources. A2A connects agents to other agents. They are complementary: an agent might use MCP to access tools and A2A to delegate tasks to specialized agents.

Does A2A work with any agent framework?+

Yes. A2A is framework-agnostic. Agents built with LangGraph, CrewAI, AutoGen, or custom code can all implement the A2A protocol. The only requirement is publishing an Agent Card and handling the message format.

Who created A2A?+

Google introduced A2A as an open protocol. It is designed to be vendor-neutral, with the specification available for any team to implement.

Can A2A agents communicate asynchronously?+

Yes. A2A supports both synchronous request-response and asynchronous task patterns. Agents can submit tasks and poll for results or use webhooks for completion notifications.

Is A2A production-ready?+

A2A is an emerging protocol. Early adopters are using it in multi-agent prototypes and internal systems. Evaluate stability and community adoption before deploying in mission-critical production systems.

Sources citées (3)
🙏

Source et remerciements

Created by Google. Licensed under Apache 2.0.

A2A — stars 10,000+

Thanks to Google for standardizing how agents talk to each other.

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires