AI

What Is the A2A Protocol? Agent-to-Agent Explained

The A2A protocol lets AI agents from different teams and vendors work together. Learn how agent cards, tasks, and messages work, with examples and limits.

By OmniAI Editorial · Nov 17, 2026 · 9 min read

The A2A protocol (short for Agent2Agent) is an open standard that lets AI agents talk to each other and share work, even when they were built by different companies on different frameworks. One agent can find another, hand it a task, follow its progress, and get the result back, all in a common format.

This guide explains what A2A is, how it works step by step, where it is useful, and the limits most introductions leave out.

What Is the A2A Protocol?

An AI agent is a program that uses a language model to plan, use tools, and act on its own. Companies are now building many of them: a sales agent, a support agent, a scheduling agent, a research agent. Each one is good at its own job.

The trouble starts when those agents need to work together. They may come from different vendors, run on different frameworks, and live on different servers. Without a shared standard, every connection between two agents needs its own custom code.

The Agent2Agent protocol fixes that. It gives agents one shared way to:

  • Find each other and learn what each one can do.
  • Send tasks and the information needed to complete them.
  • Talk during a task, for example to ask a follow-up question.
  • Return results in a format the other agent can use.

Who is behind Google A2A

Google A2A was announced by Google in April 2025, with support from a long list of technology and consulting companies. A few months later, Google handed the project to the Linux Foundation, so it is now run as a neutral, open project rather than by a single company.

The specification is public, and the official software libraries are open source. Anyone can use it for free.

How the A2A Protocol Works

A2A builds on ordinary web technology: HTTP requests, JSON data, and standard ways of streaming updates. That makes it easy to add to existing systems. Here are the moving parts.

Client agents and remote agents

Every A2A conversation has two sides:

  • The client agent needs something done. It sends the request.
  • The remote agent does the work and sends back the result.

The same agent can play both roles at different times. A travel agent may be a remote agent for a user's assistant, and a client agent when it asks a flights agent for prices.

The agent card

Before agents can work together, they need to know what each other can do. In A2A, each agent publishes an agent card: a small public file, available at a standard web address, that works like a business card.

An agent card typically lists:

  • The agent's name and a short description.
  • Its skills, meaning the kinds of tasks it accepts.
  • The address where it can be reached.
  • How other agents must log in to use it.
  • Which features it supports, such as streaming updates.

A client agent reads the card and decides whether this remote agent is the right one for the job.

A grey circle on the left looking along a dashed line toward an orange card that sits above a second grey circle on the right.
Before sending work, a client agent reads the remote agent's card to learn what it can do and how to reach it.

Tasks and their lifecycle

The core unit of work in A2A is a task. When a client agent asks for something, a task is created with its own ID and a status that changes as work progresses.

Common statuses include:

  • Submitted: the request has arrived.
  • Working: the remote agent is busy on it.
  • Input required: the remote agent needs more information, such as "Which date do you prefer?"
  • Completed, failed, or canceled: the task has ended.

The "input required" step is important. It lets a task pause, wait for an answer from the client agent or a human, and then continue. That is how A2A handles real-world work that cannot be done in one step.

Four small circles in a row joined by arrows, with a curved arrow looping from the third circle back to the second, and the last circle in orange.
An A2A task moves from submitted to working to completed, and can loop back when the remote agent needs more input.

Messages, parts, and artifacts

While a task runs, the agents exchange messages. Each message is made of one or more parts, and each part holds one kind of content:

  • Text, such as instructions or questions.
  • Files, such as a PDF or an image.
  • Structured data, such as a form or a list of values.

When the work is done, the remote agent returns artifacts: the finished output, like a report, a spreadsheet, or a booking confirmation. Artifacts are built from the same kinds of parts.

An open envelope holding three shapes side by side: a sheet with lines, a folded file, and a small grid in orange.
A2A messages can carry text, files, and structured data together, so agents can exchange more than plain chat.

Streaming and notifications

Some tasks take seconds. Others take hours. A2A supports both:

  • Streaming: the remote agent sends live progress updates while it works.
  • Push notifications: for very long tasks, the remote agent can notify the client agent when something changes, so the client does not have to keep checking.

The Design Ideas Behind the Agent2Agent Protocol

Google described a few principles that shaped A2A. They explain why it looks the way it does.

Agents stay opaque

A remote agent shares what it can do, not how it does it. Its memory, tools, prompts, and private data stay hidden. That lets companies work with outside agents without exposing their internal systems.

Built on existing standards

A2A uses familiar web technology instead of inventing new transport layers. Most teams can add it with tools they already know.

Secure by default

A2A supports the same kinds of login and permission methods businesses already use for web APIs. Each agent card says which methods it requires.

Long-running tasks

Tasks can last for minutes, hours, or days, and can pause for human input. Many real business processes look like this.

Any type of content

Agents can exchange text, files, and structured data, and the protocol was designed with audio and video in mind too.

A2A vs MCP: How They Fit Together

The most common follow-up question is A2A vs MCP. The short answer: they do different jobs.

  • MCP (Model Context Protocol) connects one agent to its tools and data, like databases, files, and apps.
  • A2A connects agents to other agents, so they can split up and share work.

Many systems use both: agents coordinate with each other through A2A, and each agent reaches its own tools through MCP. We cover this in detail in our MCP vs A2A comparison.

A2A Protocol Examples

Here are a few situations where the A2A protocol makes sense.

Hiring

A recruiting agent finds candidates, then asks a scheduling agent from a different vendor to book interviews, and a background-check agent to run checks. Each returns its result as a task artifact.

Customer support

A front-line support agent handles a customer's question, then hands a refund request to the billing team's agent, which runs on a different platform. The support agent tracks the task until it is complete.

Supply chain

A company's purchasing agent sends a request to suppliers' agents to check stock and delivery times. The suppliers never expose their internal systems; they only answer through A2A.

Travel planning

A personal assistant asks a travel agent to plan a trip. The travel agent then sends tasks to flights, hotels, and car rental agents and combines the results into one plan.

Each of these is a multi-agent system. What A2A adds is the ability to build that team from agents that were never designed to work together.

How to Get Started with A2A

If you want to try A2A, the path is fairly short:

  1. Build or pick an agent with a clear job. A2A does not make an agent smarter; it only lets it work with others. Our guide on how to build an AI agent covers the basics.
  2. Read the official specification. It is public and fairly readable.
  3. Use an official SDK. There are open-source libraries for several popular programming languages, so you do not need to handle the low-level details yourself.
  4. Write your agent card. Describe your agent's skills, address, and login requirements.
  5. Start with two agents. Get one client agent and one remote agent working end to end before adding more.
  6. Log everything. Record every task, message, and status change so you can debug problems.

Several agent frameworks, including Google's own agent development tools, can expose agents over A2A with little extra code.

Limits and Open Questions

A2A solves a real problem, but it is not magic. Here is what to keep in mind.

It is overkill for small setups

If all your agents live in one codebase and one team owns them, a framework or simple function calls may be easier. A2A shines when agents cross team, company, or vendor boundaries.

Trust is still your job

An agent card tells you what an agent says it can do, not whether it is honest or good at it. Text from another agent can also contain hidden instructions meant to manipulate your agent. Only connect to agents you trust, and treat what they send as untrusted input.

Errors travel between agents

If a remote agent returns a wrong answer, the client agent may accept it and build on it. Add checks, especially for important decisions.

Costs add up

Every agent in the chain makes its own model calls. A task that touches five agents can cost far more than one agent doing the job alone.

The ecosystem is still growing

Support is spreading across major platforms, but many tools and vendors are still catching up. Check that the agents and frameworks you rely on support A2A before you design around it.

FAQ

What does A2A stand for?

A2A stands for Agent2Agent, often written as Agent-to-Agent. It is an open protocol that lets AI agents from different vendors and frameworks communicate and share tasks.

Who created the A2A protocol?

Google announced it in April 2025 with support from many technology companies. It was later moved to the Linux Foundation, where it is developed as an open, vendor-neutral project.

Is the A2A protocol free and open source?

Yes. The specification is public, and the official SDKs are open source. You can use A2A for free, though you still pay for the AI models and hosting your agents use.

Does A2A replace MCP?

No. MCP connects an agent to tools and data, while A2A connects agents to each other. They are designed to be used together.

Do I need A2A to build a multi-agent system?

Not always. If all your agents are built and run by one team in one system, a framework or plain code is often simpler. A2A is most useful when agents come from different teams, vendors, or platforms.

All articles

Read next

Language

EnglishEnglish · en TürkçeTurkish · tr DeutschGerman · de العربيةArabic · ar

Account

Enter your email. We’ll send you a sign-in link and a 6-digit code. No password needed.

Sign in

Theme

Language

Show our email address

To keep spam out of our inbox, please confirm your own email first. We will send you a 6-digit code.

We send codes only to these providers: gmail.com, googlemail.com, outlook.com, hotmail.com, live.com, msn.com, proton.me, protonmail.com, pm.me, icloud.com, me.com, mac.com, yahoo.com, aol.com, gmx.de, gmx.net, web.de, t-online.de, yandex.com, omniai.blog