M365Con 2027 – free online conference · 11–22 Jan 2027 · 120 sessions m365con.net

Blog · Mirko Peters

What Is the A2A Protocol? Agent2Agent Explained

By ·

What is the A2A protocol? Agent2Agent explained: Agent Cards, tasks, messages and artifacts, how A2A differs from MCP, where Copilot Studio, Microsoft Foundry and Agent Framework support it, and what to secure first.

What is the A2A protocol? A2A, or Agent2Agent, is an open standard for one AI agent to call another agent, even when a different vendor built it on a different platform. The project describes it as a protocol for communication between "opaque agentic applications": the calling agent sees the task and the result, not the other agent's tools, memory or prompts.

Key points

  • A2A (Agent2Agent) is an open protocol for agents talking to other agents. Google launched it in April 2025, and it became a Linux Foundation project in June 2025.
  • The current specification is version 1.0. It defines bindings for JSON-RPC, gRPC and HTTP+JSON/REST.
  • An agent describes itself in an Agent Card, published at /.well-known/agent-card.json. The card lists skills, endpoint and security schemes.
  • MCP connects an agent to tools and data. A2A connects an agent to other agents. Most real solutions need both.
  • Copilot Studio, Foundry Agent Service and Microsoft Agent Framework all support A2A, but each with its own limits on auth, versions and data sharing.
  • Foundry's incoming A2A endpoint serves v0.3 when a request names no version, as the spec prescribes. Send A2A-Version: 1.0 explicitly.

For the tool side of the story, read MCP Explained for Microsoft 365 Admins first.

Where A2A comes from

Google created A2A and launched it in April 2025. On June 23, 2025, the Linux Foundation announced the Agent2Agent Protocol Project at Open Source Summit North America, with Google Cloud as the originator. On May 7, 2025, Microsoft announced that A2A support was coming to Azure AI Foundry and Copilot Studio, and joined the A2A working group on GitHub.

Today the project site lists the Linux Foundation as the owner, Apache 2.0 as the license, and the project as part of the Agentic AI Foundation (AAIF). The latest released specification is 1.0.0. Version 0.3.0 is still in use, which matters in Foundry.

Core concepts of the A2A protocol

Five terms cover most of the spec:

  • Agent Card. A JSON document that describes the agent: name, description, skills, endpoint, capabilities and security schemes. Public agents host it at https://{domain}/.well-known/agent-card.json. An authenticated extended card can show more to known clients.
  • Task. A unit of work with a server-generated ID. It moves through states such as working, input required, auth required, completed, failed, canceled and rejected.
  • Message. One turn in the exchange, with a role of user or agent.
  • Part. The content inside a message or artifact: text, a file or structured JSON data.
  • Artifact. The output a task produces, made of parts.

A contextId groups related tasks into one conversation. The core operations include SendMessage, SendStreamingMessage, GetTask, ListTasks, CancelTask and SubscribeToTask.

For transport, version 1.0 defines three bindings: JSON-RPC, gRPC and HTTP+JSON/REST. Long-running work has two options. Streaming sends status and artifact update events. Push notifications POST updates to a webhook the client registers. Both only work if the Agent Card declares them under capabilities.

A2A vs MCP

The A2A project puts it in one line: "MCP connects an agent to tools, APIs, and data. A2A connects it to other agents. Use both."

QuestionMCPA2A
Connects an agent toTools, APIs, data sourcesOther agents
What the caller seesTool definitions and their inputsAn Agent Card with skills, and task results
Inner workingsThe tool is a function you callThe remote agent stays opaque
Typical durationShort tool callsShort calls up to long-running tasks
Main riskA tool doing too much with your permissionsData leaving to another agent, and delegation you didn't plan

My rule of thumb: if the other side is a deterministic function, expose it as an MCP tool. If it has its own reasoning, its own data and its own owner, connect it over A2A. Our decision guide MCP vs API covers the tool side in more depth.

Where Microsoft supports A2A

ProductDirectionKey limits from Microsoft Learn
Copilot StudioCalls A2A agentsAuth: only None, API key or OAuth 2.0. Payloads include the full chat history.
Foundry Agent Service, A2A toolCalls A2A agentsa2a (v1.0) is GA, a2a_preview (v0.3) preview. Auth also includes managed identity and agent identity.
Foundry Agent Service, incoming A2AExposes Foundry agentsMicrosoft Entra ID only, no keys or anonymous card access. JSON-RPC only for v1.0, no gRPC. Text only, no streaming.
Microsoft Agent FrameworkHosts and calls A2A agents.NET and Python packages install as prerelease. Go is in public preview.

Copilot Studio. On your main agent's Agents page, select Add agent > A2A agent, then enter the endpoint URL, not the Agent Card URL. If a valid card sits at <endpoint>/.well-known/agent.json (the older file name), Copilot Studio fills in name and description.

Microsoft Foundry. In the Foundry portal, the path is Tools > Connect tool > Custom > Agent2Agent (A2A). Creating the connection needs the Foundry Project Manager role. For Foundry agent targets, tasks and contexts are kept 60 days from the last write. The Connected Agents tool from the classic Agents API isn't available in the new Agent Service. Microsoft replaces it with the A2A tool and workflows.

Watch out: the spec says clients must send A2A-Version and treats an empty one as 0.3, so Foundry's incoming endpoint serves v0.3 without it. You enable incoming A2A through REST or the Python SDK, not the portal. Callers need the Foundry Agent Consumer role.

Microsoft Agent Framework. Microsoft calls it the successor to Semantic Kernel and AutoGen. It publishes agents as A2A servers with an Agent Card. If you start new code today, start here, not in Semantic Kernel.

My recommendation: always send A2A-Version: 1.0 or use the v1.0 card path with Foundry.

A2A security considerations

A2A gives you the hooks for security but mandates no scheme; enforcement depends on the platform. The spec supports API key, HTTP auth, OAuth 2.0, OpenID Connect and mutual TLS. Servers must reject missing or invalid credentials.

The pitfalls I see first:

  • Chat history leaves the tenant. Copilot Studio sends the full chat history, locale and timestamps to the remote agent, not just the last question.
  • Agent Cards are prompts. Card information can end up in the model's context. Microsoft says to treat them as untrusted input and to enforce approvals outside the model's decisions.
  • Proxies. Microsoft didn't test third-party endpoints and recommends provider-hosted ones, not proxies.
  • Cards leak too. A card can expose internal URLs. Protect it with authentication.
  • Static secrets. Prefer managed identity or Entra-based auth over API keys pasted into connections.

Treat every A2A connection as a third-party app and register it with an owner, a data classification and a review date.

A short checklist

  • List which agents call out and which are exposed.
  • Pin A2A v1.0 on every Foundry integration.
  • Use OAuth 2.0 or Entra ID, not None, outside of dev tunnels.
  • Read each Agent Card before connecting and after changes.
  • Keep specialist agents narrow.

For Foundry orchestration options, see Build a Multi-Agent Orchestrator with Microsoft Foundry.

Related

Sources

Follow the showApple PodcastsSpotify

Entities in this article

Topics of this article:

Agent2Agent (A2A) protocol – Concept Model Context Protocol (MCP) – Concept AI agent – Narrower topic of AI assistant Microsoft Foundry – Developer tool by Microsoft Copilot Studio – Low-code tool by Microsoft

Related articles

More articles on AI agent:

RSS