# What Is Agent2Agent (A2A)?

> What Agent2Agent (A2A) is, how one agent hands a task to another, how it differs from MCP, and where it stands, explained for your AI interview.

**In short:** Agent2Agent (A2A) is an open protocol that lets AI agents built on different platforms hand tasks to each other and get the results back. It works alongside MCP, which connects one agent to tools and data.

AI and LLM interview question Q168, Agents and tool use. Intermediate, occasional (our estimate). From Venkat R. Murty's free Interview Kit: https://designervenkat.online/interview/ai/what-is-agent2agent-a2a

## Say it in 30 seconds

A2A, or Agent2Agent, is an open protocol for one AI agent to hand a task to another agent. Each agent can publish an agent card that says what it can do. The other agent reads the card, takes the task and sends back a reply, even when the two come from different platforms. MCP is a different link: it connects an agent to tools and data, and A2A connects agents to each other. I'd say it's real and useful, but the details differ by platform, so I'd test it before I build on it.

## Say it in 2 minutes

A2A stands for Agent2Agent. It is an open protocol that lets an AI agent hand a task to another agent. The two agents can be built by different vendors and run on different platforms, because the protocol only defines how they talk.

Here is how it works. The other agent publishes an agent card, a short description of what it can do and where to send work. My agent reads that card, sends a task with the details it needs, and gets a reply. In version 1.0, Microsoft's docs for Foundry, its platform for building AI agents, say the messages use JSON-RPC, a simple request and reply format.

People often mix it up with MCP. MCP connects one agent to tools and data, like a database. A2A connects an agent to another agent. Google's developer guide says the two work together. So I'd explain it as two links that work side by side.

The honest part: Google gave A2A to the Linux Foundation, and Foundry supports version 1.0. But the details still differ by platform, some platforms limit what a call can carry, and incoming calls need proper identity. So I'd pin the version, test it, and check every reply in code before anyone acts on it. A wrong quote in a claims system can mean a wrong payment.

## What is A2A, in plain words?

Most AI apps today are one agent with a set of tools. A2A is an agreed way for one agent to ask another agent for help. The two agents can come from different vendors, run on different clouds and use different frameworks.

Think of a claims handler at an insurer phoning the estimator at a body shop. Neither sees the other's files. They agree on a shared form for the request and the reply. A2A is that shared form for agents, plus a public card that lists what each agent can do.

A real case: an insurer's claims agent gets a windscreen claim. It needs a repair quote from a garage network whose agent runs on another vendor's platform. With A2A, the claims agent asks that agent for a quote. It gets the quote back, not the garage's price list, prompts or database.

- **Agent card:** A short public description of an agent: its name, its skills and where to send work.
- **Task:** One piece of work one agent hands to another, sent with the details it needs.
- **Remote agent:** The agent on the other end. It does the work and sends back a reply.
- **JSON-RPC:** A simple request and reply format written as JSON. A2A version 1.0 uses it.
- **MCP:** Model Context Protocol. The standard that connects one agent to tools and data.

## How does an A2A handoff work?

The handoff has four moves. Each one is a plain request, so each part is easy to test.

1. **Find the agent:** Read its agent card to see what it can do and where to send work.
2. **Send a task:** Post the job with the details it needs, and nothing more.
3. **Wait for the reply:** The remote agent does the work and sends back the result.
4. **Check before using it:** Your agent checks the reply in its own code before it uses the answer or passes it on.

*Diagram, A claims agent hands off a repair quote: The claims agent reads the garage agent's card, then sends it a repair task. Only the quote comes back, so each agent keeps its own data.*
1. The claims agent reads the garage agent's card to see what it does.
2. It then writes the repair task it needs done.
3. The task goes to the garage agent, which does the work.
4. Only the reply comes back, so each agent keeps its own data.

Google's developer guide sums up the idea like this:

> "Agents using A2A can discover each other's capabilities, negotiate how they'll interact, and collaborate on tasks through a secure and structured exchange of messages." (Google Cloud, developer guide)

Microsoft's Foundry, its platform for building AI agents, describes the publishing side. Once incoming A2A is switched on, the platform publishes an agent card for the agent and accepts calls from outside callers.

## How is A2A different from MCP?

They cover different halves. MCP links an agent to its tools, data and APIs. A2A links an agent to other agents. Google's guide describes MCP as a standard way for agents to reach outside data and stateless tools.

- **MCP: Agent to tools.** Connects one agent to databases, files and APIs that it calls itself.
- **A2A: Agent to agent.** Connects one agent to another agent that does part of the job.
- **Rule of thumb: Use both.** Tools for facts and actions. Another agent when the job needs its own data and reasoning.

*Diagram, MCP and A2A are two different links: One agent sits in the middle. Its own tools connect through MCP, and a partner agent connects through A2A. Both links are calls the agent makes, so both need checks in your code.*
1. Your agent reaches its own tools and data through MCP.
2. It hands part of the job to another agent through A2A.

## Who runs A2A, and is it ready to use?

Google first announced A2A in April 2025, then handed it to the Linux Foundation, an open-source foundation, in June 2025. Google's own post says it this way:

> "We announced the A2A protocol in April to lead the industry toward interoperable agent systems, and in June, we advanced that commitment by contributing it to the Linux Foundation." (Google Cloud blog)
>
> "Incoming A2A requests require Microsoft Entra ID authentication." (Microsoft Foundry docs)

Microsoft's Foundry docs list the current limits for Foundry agent targets. Version 1.0 is generally available, and version 0.3 is a preview. For those targets, only text is supported, and streaming replies (answers that arrive in pieces as they are written) are not.

> **Tip:** Asked if A2A is ready? Say it is an open protocol that Google handed to the Linux Foundation, and that Microsoft's Foundry supports. Then name what still moves: versions, streaming, and identity. Pin the version and test it.

### How would you add A2A to a claims system?

An insurer's claims agent needs a repair quote from a partner's garage agent. Keep the design small and clear.

1. **Agree the task:** Define the exact job, such as a repair quote for one vehicle, and the fields the reply must carry.
2. **Authenticate every call:** Use company identity for each call. An anonymous caller must not reach the garage agent.
3. **Check the reply:** Treat the reply as untrusted input. Validate it in code before a payment or a decision uses it.
4. **Log every handoff:** Keep a record of who asked, what was sent and what came back, for audits and disputes.

## What does the interviewer want to hear?

**A strong answer covers**

- [ ] A plain definition: an open protocol for one agent to hand a task to another.
- [ ] The agent card: how an agent is found and what it can do.
- [ ] A2A and MCP are different links: agent to agent, and agent to tools.
- [ ] Where it stands: who it was handed to, which version, and what is still moving.
- [ ] Security: callers must be authenticated, and replies checked like any outside input.

**Common traps**

- Trap: "A2A replaces MCP." Better: No. MCP links an agent to tools and data. A2A links agents to each other, and the two work together.
- Trap: "Agents trust each other, so skip the checks." Better: Treat the reply as untrusted input. Check it in code before anyone acts on it.
- Trap: "A2A is finished, so nothing will change." Better: Versions and limits still differ by platform. Check the current docs and pin the version.

## Can you spot the mistake?

**Spot the mistake:** Which line on the architecture slide is wrong?

A. The claims agent finds the garage agent through its agent card.
B. Tools for the claims agent connect through MCP, not A2A.
C. The garage agent's reply is trusted, so we skip checks on it.
D. Calls to the garage agent carry company identity.

**Answer:** C. The reply is outside input, and A2A does not make it trusted. Check it in code before any payment or decision uses it.

**Quick check:** A garage agent's reply comes back to the claims agent. What should happen next?

A. Use it at once, because agents trust each other by design
B. Check it in code, as outside input, before a payment or decision uses it
C. Send it to the customer as it is
D. Ask the model whether the reply looks trustworthy

**Answer:** B. A reply from another agent is outside input, so code checks it before anything acts on it. Asking the model to judge trust is not a control, because a fooled model can say yes.

## Can you answer these from memory?

**Flash cards**

- **What is A2A?** An open protocol for agents built on different platforms to hand tasks to each other.
- **What is an agent card?** A public description of an agent: its skills and where to send work.
- **A2A vs MCP?** MCP links an agent to tools and data. A2A links agents to other agents.
- **Who took A2A on?** The Linux Foundation, an open-source foundation. Google handed the protocol to it.
- **Is it fully settled?** No. Versions and limits differ by platform, so pin the version and test.
- **Can you trust a reply?** No. It is outside input, so check it in code before using it.

## Likely follow-up questions

- Q164 What is the Model Context Protocol (MCP)? https://designervenkat.online/interview/ai/what-is-the-model-context-protocol
- Q167 MCP vs a plain REST API? https://designervenkat.online/interview/ai/mcp-vs-a-plain-rest-api
- Q169 When is a multi-agent system worth it? https://designervenkat.online/interview/ai/when-is-a-multi-agent-system-worth-it
- Q170 Orchestrator and sub-agent trade-offs? https://designervenkat.online/interview/ai/orchestrator-and-sub-agent-trade-offs
- Q174 What are common agent failure modes? https://designervenkat.online/interview/ai/common-ai-agent-failure-modes
