Applies to v1.3.18

A2A

Purpose

A2A (Agent2Agent) is the platform's second AI-facing protocol surface, alongside MCP. Where MCP governs discrete tool calls, A2A governs agent-to-agent conversations. Both surfaces run under the same tenant scoping, governance authorization, credential brokering, and audit pipeline.

Functionally, A2A lets another agent (an orchestrator, a third-party AI system) discover and talk to the agents you register on the platform, and use their skills. Tools themselves are reached over MCP; an agent that should use your tools is a hosted agent whose skills draw on them.

What A2A Does

A2A supports two roles. Every registered agent is one of two kinds, deciding what actually executes when a caller reaches it:

  • Remote agent (concentrator): a governed proxy for agent-to-agent traffic between other systems. The platform keeps a directory of remote agents it can call out to on a caller's behalf, with the same credential custody and audit trail it gives its other downstreams. A remote agent's own Agent Card is fetched, cached and served back to callers at the agent's own address. Registering agents, granting access policies and publishing an agent are all done in the Agent Directory admin page. Task status transitions can be pushed to a caller-registered webhook — see A2A Push Notifications.
  • Hosted agent (LLM-backed): an agent the platform executes itself, reasoning with an LLM instead of proxying to a remote peer. An admin defines one or more Skills on a hosted agent — a name, a prompt, and an explicit, curated subset of individual tools drawn from the tenant's MCP toolsets and ESRA exposures marked available to Hosted Agents — and a caller's message is handed to that skill's LLM turn, built on Microsoft Agent Framework. The LLM decides which tool to call and with what arguments (every call still goes through the exact same governed tool invocation pipeline an MCP tools/call uses), or, if the request is incomplete, asks a clarifying question instead of failing outright. A skill can also name other agents, hosted or remote, that the agent may ask for help during a turn, on behalf of the original caller. See A2A Hosted Agent Mode and Working with other agents.

Main Flow

Every A2A message is addressed to a specific agent. There is no tenant-wide skill catalog, and a tool cannot be called directly by speaking A2A — tools are reached over MCP, or through a hosted agent's skills. What differs between the two kinds of agent is what happens after the message is accepted.

  1. A caller knows the address of the agent it wants to talk to — a host name of its own, naming the agent and its tenant (see Setting an agent's address).
  2. The caller requests that agent's Agent Card (GET /.well-known/agent-card.json at the agent's route, or the authenticated extended card via JSON-RPC GetExtendedAgentCard). The card's skills[] are the agent's own skills, filtered to the ones this caller is authorized for.
  3. The caller sends a SendMessage. The message is A2A's own — a role, one or more parts, and the sender's messageId, contextId, taskId and metadata, all carried through. It names no skill: A2A has no skillId field, and what to do with a message is the agent's decision.
  4. The platform authorizes the caller against the agent's access policies, and refuses outright if it cannot — an unauthorized caller is not given a task id.
  5. It creates a Task and does the work. By default SendMessage waits: with configuration.returnImmediately absent or false, the call returns when the task reaches a terminal or interrupted state (input-required, auth-required), with its artifacts. With returnImmediately: true it returns at once with the task in TASK_STATE_SUBMITTED, and the caller follows it from there.
    • A hosted agent runs an LLM turn over the union of the tools its caller's authorized skills grant. Every tool call goes through the same governance → credential resolution → downstream invocation → audit pipeline tools/call uses. The task moves to TASK_STATE_WORKING and then to whichever state the agent declares by calling one of the three control tools it always has: completed, input-required when it needs something only the caller can give, or failed. It is never inferred from which tools the agent happened to call.
    • A remote agent relays the message to its peer; the task tracks that outbound call.
  6. The task is persisted at every transition, so GetTask can be polled, SubscribeToTask can follow it live, and a push notification fires when it finishes or pauses. SendStreamingMessage reports the same sequence over SSE, starting with the task's real id. See A2A Task Lifecycle.

A hosted agent reads every part of the message. Text parts are passed on as written, data parts as JSON, and file parts are named but not opened. See What the agent reads from a message.

Triggering A Hosted Agent

An A2A message is one way to start a hosted agent. It can also run without a caller holding a conversation open:

  • on a schedule: every few minutes, at set times on chosen days, or on a cron expression, in any time zone. See Scheduled Runs.
  • when another system posts an event to a webhook URL, authenticated by a signature over the body or a bearer token. See Webhooks.
  • on demand, from an application or the Portal's Run…, as the caller. See On-Demand Runs.

A schedule or a webhook has no caller, so it runs as a run identity: an application API key or an OAuth client-credentials application, governed by the agent's access policies like any other caller. It never runs as the administrator who configured it or as the system that posted the event. See Run Identities.

Every run, A2A turns included, is recorded as an execution. Every running execution counts toward the agent's Max concurrent executions, and triggered executions waiting to start count toward its Max queued executions; both are set in the Agent Directory. Triggers and the execution history are managed on Apps & Tools → Agent Triggers. Cancelling an A2A task (CancelTask) also cancels its execution. See Monitoring Agent Runs.

Functional Capabilities

Together these cover hosted agents, the task store and streaming, concentrator mode, push notifications and monitoring, signed Agent Cards, and the three transport bindings below.

Protocol Version and Wire Shape

A2A 1.0.0, served over three transports at the same agent address, all with the same behaviour:

  • JSON-RPC 2.0 (POST / on the agent's own host) — also carries the two streaming methods (SendStreamingMessage, SubscribeToTask) as Server-Sent Events.

  • gRPC — the service lf.a2a.v1.A2AService from the A2A specification's a2a.proto. It exposes the full specified method set as unary and server-streaming RPCs: SendMessage, SendStreamingMessage, GetTask, ListTasks, CancelTask, SubscribeToTask, the four push-notification-config RPCs and GetExtendedAgentCard.

    A gRPC method's URL is derived from the proto — /lf.a2a.v1.A2AService/<method> at the root of the host, with no base path to place a tenant or an agent under. That is why every agent has a host name of its own: the agent's identity lives in the host. See Setting an agent's address.

    gRPC needs HTTP/2. The Runtime and the Gateway each expose a second, HTTP/2-only endpoint for it, separate from their HTTP/1.1 endpoint.

  • REST (HTTP+JSON) — the specification's REST path table: POST /message:send, POST /message:stream (SSE), GET /tasks, GET /tasks/{id}, POST /tasks/{id}:cancel, POST /tasks/{id}:subscribe (SSE), the push-notification-config routes under /tasks/{id}/pushNotificationConfigs, and GET /extendedAgentCard. Bodies are JSON; no protobuf is involved.

Every transport is subject to the same transport guard and the same rate-limit policies, so there is no separate security posture per transport. Method names are PascalCase (SendMessage, GetTask, ListTasks, GetExtendedAgentCard), the names the A2A 1.0 specification uses across its JSON-RPC, gRPC, and REST bindings. The JSON-RPC endpoint accepts only these names; the slash-style names of pre-1.0 drafts (message/send) are answered with a method-not-found error.

Governance and Audit

A2A uses the same controls as MCP: the same inbound authentication, the same authorization decisions, and the same audit trail. A2A audit records are written under the same runtime category MCP uses, so a mixed MCP/A2A execution trace renders as one coherent call in the Call Flow Dashboard. A tool call a hosted agent makes is the exception: it is a call of its own there, linked to the agent's run. The Call Flow Dashboard and its call list show every A2A action with its own icon, label, and call-type badge, as they do MCP's tools/call and tools/list.

Supported Integrations

The server direction uses the same integrations the Runtime has for MCP — the same trusted identity providers, the same secret resolution, the same downstreams. Concentrator mode adds registered remote agents as a further kind of governed outbound integration, using the platform's existing target-system and authentication-profile configuration rather than a separate connection or credential model for agents. Push notifications add one more outbound integration point — a caller-registered webhook per task — governed by the same outbound allowlist and credential-custody rules as every other outbound call this platform makes. See A2A Push Notifications.