# Agent2Agent Protocol (A2A)

> Rules that let agents from two firms talk and work as one team.

**Field:** Artificial Intelligence  
**Category:** AI Agents  
**Also known as:** A2A, A2A Protocol, Agent-to-Agent Protocol, Agent2Agent

## Think of it like

Think of it like a shared language. Robots from different shops can use it to work as a team.

## Definition

The Agent2Agent protocol, or A2A, is an open standard that lets AI agents work together. It works even when the agents were built by different makers. Each agent posts an agent card, a small JSON file with its name, what it can do and where to reach it. Another agent reads the card, sends it a task and gets back updates and a result. A2A links agent to agent, while MCP links an agent to its tools. It came out in 2025 and is now run by the Linux Foundation.

## Example

Jack's travel agent needs a hotel. It reads a booking agent's card, sends it the dates and city, and gets back three options to show him.

## Example code

```json
{
  "name": "Hotel Booking Agent",
  "description": "Finds and books hotel rooms.",
  "url": "https://hotels.example.com/a2a",
  "skills": [
    { "id": "find-room", "name": "Find a room" }
  ]
}
```

An agent card says who the agent is, what it can do and where to send it work.

## Why it matters

With no shared standard, each pair of agents needs its own code just to talk.

## Common mistake

Mixing it up with MCP. A2A is for agents talking to other agents, and MCP is for giving one agent tools and data.

## Three principles

- **Agent to agent.** Across makers.
- **Agent cards.** Say what each can do.
- **Tasks and results.** Sent back and forth.

## Related terms

- [Multi-Agent System](https://learn.benibix.com/term/ai/multi-agent-system)
- [Agent Handoff](https://learn.benibix.com/term/ai/agent-handoff)
- [JavaScript Object Notation (JSON)](https://learn.benibix.com/term/development/json)
- [Model Context Protocol (MCP)](https://learn.benibix.com/term/ai/model-context-protocol)

## Told apart from

- [A2A vs MCP](https://learn.benibix.com/compare/agent2agent-protocol-vs-model-context-protocol): People often think A2A and MCP are rival standards that do the same job. MCP connects one agent to its tools and data, such as files or a database. A2A connects one agent to other agents, so they can hand each other tasks. Many systems use both: MCP inside each agent, and A2A between them.

![Two agents from different companies. One reads the other's agent card, then sends it a task and gets back a result.](https://learn.benibix.com/diagrams/ag-agent2agent.svg)

---

Source: https://learn.benibix.com/term/ai/agent2agent-protocol
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
