Early-bird price on the GenAI & Agentic AI Engineer Bootcamp batch. Grab a seat →

Agent2Agent (A2A) is an open protocol that lets one AI agent find another agent, send it a task and get results back, even when the two were built by different teams on different frameworks and clouds. The Model Context Protocol (MCP) connects an agent to its tools and data. A2A connects an agent to other agents. They solve different problems, and many systems use both.

Key takeaways

  • A2A is an open-source project under the Linux Foundation, contributed by Google, licensed under Apache 2.0. The specification is at version 1.0.
  • An agent advertises itself with an Agent Card, a JSON document usually served at /.well-known/agent-card.json.
  • Work is tracked as a Task with a defined lifecycle, which suits jobs that run for minutes or hours and may pause for input.
  • The protocol has three standard bindings: JSON-RPC, gRPC and HTTP+JSON (REST).
  • You need A2A when agents cross a team, vendor or organisation boundary. Inside one codebase, a function call is simpler.

This article is part of our comparison of AI agents on AWS, Azure and Google Cloud. All three platforms covered there support A2A; see Amazon Bedrock AgentCore and its building blocks, Microsoft Foundry Agent Service and Agent Framework and ADK and Gemini Enterprise Agent Platform on Google Cloud.

Who governs A2A?

The project's repository states that A2A is "an open source project under the Linux Foundation, contributed by Google". In August 2026 the project announced that A2A had been accepted as a Growth Stage project at the Agentic AI Foundation (AAIF), which it describes as Linux Foundation-directed. The announcement names MCP, goose and AGENTS.md as other projects there. A2A and MCP now sit under the same foundation.

For an architect, the practical points are: no single vendor controls the specification, the licence is Apache 2.0, and the normative definition of the protocol is a single file in the repository, spec/a2a.proto. Official SDKs are listed for Python, Go, JavaScript, Java, .NET and Rust.

What are the core concepts?

A2A has two roles. The client is the agent (or application) that asks for work. The server, often called the remote agent, does the work. The remote agent is opaque: the client does not see its prompts, tools or memory, only what it sends back.

ConceptWhat it is
Agent CardA JSON document describing an agent: identity, skills, endpoints and security requirements
MessageOne turn of communication, with a role (user or agent) and one or more parts
PartA piece of content: text, a file (inline or by URL) or structured data
TaskA unit of work with an ID, a status and a history
ArtifactAn output produced by a task, such as a document or structured result, made of parts

A client sends a message. The remote agent may answer directly with a message, or create a task and return it. Tasks are what make A2A suitable for long-running work.

What is in an Agent Card?

The Agent Card is how agents are discovered. In version 1.0 the required fields are name, description, supportedInterfaces, version, capabilities, defaultInputModes, defaultOutputModes and skills. A small card looks like this:

{
  "name": "Invoice Checker",
  "description": "Checks supplier invoices against purchase orders.",
  "version": "1.0.0",
  "supportedInterfaces": [
    {
      "url": "https://agents.example.com/invoice-checker",
      "protocolBinding": "HTTP+JSON",
      "protocolVersion": "1.0"
    }
  ],
  "capabilities": { "streaming": true, "pushNotifications": false },
  "defaultInputModes": ["text/plain", "application/pdf"],
  "defaultOutputModes": ["application/json"],
  "skills": [
    {
      "id": "match-invoice",
      "name": "Match invoice to purchase order",
      "description": "Compares an invoice with its purchase order and lists mismatches.",
      "tags": ["finance", "invoices"]
    }
  ]
}

Optional fields include provider, securitySchemes, securityRequirements and signatures. Each skill needs an id, name, description and tags.

There are three ways to find a card:

  • Well-known URI. The agent serves it at https://{domain}/.well-known/agent-card.json.
  • A registry. A central catalogue holds cards and lets clients search by skill or tag. The A2A documentation notes that the specification does not prescribe a standard registry API.
  • Direct configuration. The client is simply given the card or its URL.

A card can be signed with a JSON Web Signature so a client can check it has not been altered. An agent can also offer an authenticated extended card with more detail for callers it trusts. Do not put secrets in a card.

How does a task move through its lifecycle?

The usual path of an A2A task from submitted through working to completed, with a pause for input.

The specification defines these task states:

StateMeaning
TASK_STATE_SUBMITTEDReceived, not yet started
TASK_STATE_WORKINGIn progress
TASK_STATE_INPUT_REQUIREDPaused; the agent needs more information from the client
TASK_STATE_AUTH_REQUIREDPaused; the agent needs further authorisation
TASK_STATE_COMPLETEDFinished successfully (terminal)
TASK_STATE_FAILEDFinished with an error (terminal)
TASK_STATE_CANCELEDCancelled (terminal)
TASK_STATE_REJECTEDThe agent declined the task (terminal)

The two paused states are the interesting ones. They let a remote agent stop and ask a question, or ask for a permission it lacks, without losing the work done so far. That is the building block for human approval in a multi-agent process.

Which transports does A2A use?

Version 1.0 defines the operations abstractly and then maps them to three bindings, which must be functionally equivalent. Custom bindings are also allowed.

OperationJSON-RPC methodHTTP+JSON route
Send a messageSendMessagePOST /message:send
Send and stream updatesSendStreamingMessagePOST /message:stream
Get a taskGetTaskGET /tasks/{id}
List tasksListTasksGET /tasks
Cancel a taskCancelTaskPOST /tasks/{id}:cancel
Subscribe to a taskSubscribeToTaskPOST /tasks/{id}:subscribe

The third binding, gRPC, exposes the same operations. An agent lists the bindings it supports in supportedInterfaces, and the client states the protocol version it speaks in an A2A-Version header.

There are three ways to get results:

  • Polling. Send a message, then call Get Task until the state is terminal.
  • Streaming. Receive status and artifact updates as they happen. The card must declare capabilities.streaming.
  • Push notifications. Register a webhook URL and the agent sends an HTTP POST when something changes. The card must declare capabilities.pushNotifications. This suits tasks that outlive a connection.

For security, a card declares what it requires using standard schemes: API key, HTTP authentication, OAuth 2.0, OpenID Connect or mutual TLS. A2A does not invent its own authentication.

How is A2A different from MCP?

The A2A documentation describes MCP as connecting an agent to its tools and resources, and A2A as connecting agents to each other. Its example is a car repair shop: the mechanic agent uses MCP to operate a diagnostic scanner and look up the repair manual, while the shop's agents use A2A to hold a diagnostic conversation with the customer and to order a part from a supplier's agent.

QuestionMCPA2A
What is on the other end?A tool or data sourceAnother agent
What does the caller see?A list of tools with typed inputs and outputsA card with skills described in words
Shape of the interactionA structured call and a resultA conversation and a tracked task
StateTools are typically statelessTasks hold state and can pause
Typical boundaryInside one agent's reachAcross teams, vendors or organisations

A rough test: if you can describe the other side with a fixed input and output schema, expose it as an MCP tool. If the other side needs to reason, ask questions back or work for a long time, treat it as an agent and use A2A. For the tool side, read MCP servers, tools and transports explained.

When do you actually need A2A?

Use A2A when:

  • Agents are owned by different teams or companies and you cannot share code.
  • Agents run on different frameworks or clouds.
  • The remote work is long-running and needs status, cancellation and resumption.
  • You want an inventory of agents with declared skills and security requirements.

Do not reach for it when all your agents live in one codebase. A direct function call or your framework's own multi-agent features are simpler, faster and easier to debug. Our article on when more agents help and when they hurt covers that decision.

A2A standardises how agents talk, not whether the remote agent is correct. Every hop adds latency, cost and another place to fail, and the remote agent's output is untrusted input to yours. Adoption is also uneven across versions: Microsoft's Foundry Agent Service, for example, documents A2A v1.0 as generally available with v0.3 still in preview, so check which version each side speaks.

Which platforms support A2A?

As of November 2026, each of the three large clouds documents support. Amazon Bedrock AgentCore Runtime can host A2A servers. Microsoft Foundry Agent Service supports the A2A protocol for agent-to-agent communication. Google's Agent Runtime can deploy agents that use A2A, with multi-agent systems built on it labelled preview. Strands Agents and Google's ADK both document A2A support.

Common questions

Does A2A replace MCP?

No. MCP is for an agent using tools; A2A is for agents working with other agents. Both now sit under the same foundation, and a single agent commonly uses both.

Is A2A a Google product?

No. Google contributed it, and it is now an open-source project under the Linux Foundation with an Apache 2.0 licence.

Can agents on different clouds talk through A2A?

Yes, that is the purpose. Both sides need to support a common protocol version and binding, and the caller needs credentials the remote agent accepts.

Is there a standard directory of A2A agents?

Not in the specification. Cards can be served at a well-known URL or held in a registry, but the registry API is not standardised. Cloud platforms offer their own registries.

Free download: The cloud AI agents field guide

How AWS, Azure and Google Cloud build and run enterprise agents, side by side: Bedrock AgentCore, Microsoft Foundry, Google's ADK and Agent Platform, and the A2A protocol. See what’s inside.