What is the A2A protocol (Agent2Agent protocol)?

The A2A protocol is an open communication protocol that lets AI agents from different vendors and frameworks discover each other, share their capabilities and exchange tasks.

It differs from Model Context Protocol in what it connects: MCP links an agent to tools and data sources, while A2A links agents to each other. They are not rivals; an agent can reach its tools through MCP and work with other agents over A2A.

Topic
Agents and protocols
Also known as
A2A, Agent2Agent
Origin
Announced by Google in April 2025; under the Linux Foundation since June 2025

How the A2A protocol (Agent2Agent protocol) works

  1. Each agent advertises itself, its capabilities, address and authentication needs in an agent card.
  2. A client agent reads the target agent's card and sends the task as JSON-RPC 2.0 messages over HTTP.
  3. Long-running tasks or those awaiting human input use status tracking, streaming via Server-Sent Events and notifications.
  4. Authentication and authorisation use standard web methods; the result returns to the client agent (agent handoff).

In more detail

Agent card structure, the discovery path and cryptographic signing (JWS)

In A2A, an Agent Card is a standardised JSON metadata document (commonly hosted at `/.well-known/agent-card.json`) describing the agent's endpoint, supported protocol bindings, authentication schemes, input/output modalities and discrete skills. For security in enterprise deployments, Agent Cards can be cryptographically signed (using JWS) so client agents can verify authenticity before trusting advertised capabilities.

The task lifecycle and the artifact model

Every A2A exchange centres on a stateful Task object that transitions through explicit lifecycle states such as `submitted`, `working`, `input-required`, `completed`, `failed` and `canceled`. Deliverables produced by the remote agent are returned as structured Artifacts alongside conversational Messages, enabling deterministic state machines and human-in-the-loop checkpoints.

Linux Foundation governance and multiple transports

Following its initial release, A2A was transferred to the Linux Foundation in June 2025 and expanded in v0.3 to support gRPC and HTTP+JSON/REST alongside the original JSON-RPC 2.0 over HTTP binding. Supporting gRPC enables low-latency, strongly typed binary communication in high-throughput internal microservices.

Multi-agent security risks and delegated authority

Inter-agent delegation introduces distinct security risks beyond single-agent tool use, including Agent Card spoofing, indirect prompt injection propagating across trusted agent chains and confused-deputy privilege escalation. Production deployments mitigate these with mTLS, scoped OAuth 2.0 token exchange (on-behalf-of), strict hop-limit/loop detection and schema validation on incoming artifacts.

Commonly confused terms

TermHow it differs
ACP (Agent Communication Protocol)ACP (originated around BeeAI/IBM) also addressed agent-to-agent messaging over REST and in 2025 its ecosystem merged/aligned under the Linux Foundation's A2A effort rather than remaining a separate competing standard.
Tool callingFunction calling is a model-level mechanism for emitting structured tool arguments inside one agent loop; A2A is a network-level multi-agent protocol managing asynchronous task states, artifacts and security boundaries across separate services.

Why the A2A protocol (Agent2Agent protocol) matters for on-premises AI

Agents from different departments or vendors can work together without custom integration for each link. Because any agent can hand tasks to another, trust boundaries matter: only known agents are contacted, handoffs are tied to the organisation's identity system and which agent asked for what with which rights is logged (insecure inter-agent communication). In-house, agent traffic can be limited to the organisation's own network.

ON-PREMISES EXAMPLE

At a telecoms operator a maintenance agent sends fault data to a network diagnosis agent over A2A; the diagnosis agent produces a result and returns it.

Common questions

How does the A2A protocol differ from MCP?

MCP links an agent to tools and data sources. A2A links agents to each other; both can be used in the same system.

Can the A2A protocol be used on an internal network?

Yes. It is an open protocol; agents can run on the organisation's own network with traffic limited to permitted connections.

Sources

Related page on this site: Related FAQ · In the glossary: Glossary, A to D

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.