Agent-to-agent and beyond: A2A, agent commerce, agents driving devices

Reading: 39 min, plus 9 in closed details. Data as of October 2026: every A2A exchange was recorded with the official Python SDK between two scripted agents (no model called) on 5 October 2026; specifications read 5 October 2026, x402 on 24 October 2026. Child of Topic: protocols.

The idea

A2A lets one agent hand a whole job to another organisation's agent that it cannot see inside: the job becomes a task with an id and eight states that outlives any connection, while MCP stays the way each agent uses its own tools. Commerce, payment and device protocols then add the one thing every irreversible action needs: a protocol state where a person, a signature or a device limit, not text, says yes.

Fig. 1 · Agents talk to tools over MCP, to each other over A2A, to merchants over UCP, pay with AP2 or x402, and drive devices through MHS; orange marks where something outside the model must approve

  1. Team A's agent and its own tools. Team A's orchestrator is an MCP client: it calls its own tools directly, and every schema and result lands in its model's context. MCP is the agent-to-tool link.
  2. A2A to an opaque agent. For the evaluation it hands the whole job to Team B's agent over A2A. What comes back is a task with an id, states and artifacts; Team B's prompts, tools and model stay behind the glass (sections 2 to 7).
  3. A person grants, out of band. When Team B's agent needs access only someone on Team A's side can give, the task waits in auth-required and the grant goes straight to Team B, not through the agents' messages (section 8).
  4. UCP to a merchant. To buy, the agent drives the merchant's checkout; requires_escalation hands the buyer a continue_url to finish on the merchant's own page (section 12).
  5. Paying: AP2 or x402. AP2 carries mandates the user signed on a non-agentic trusted surface; x402 answers a request with HTTP 402 and a price, and the retry carries a signed payment (section 13).
  6. MHS to a lab device. Through MCP, a CLI or code, the agent reads and writes an instrument through a standard driver whose safety limits sit below the model (section 14).
  7. The orange gates. Every irreversible action passes a gate where a person, a signature or a device limit decides, never text from a model (section 15).

Team A and Team B are this page's running example (below). Orange is used for the same idea everywhere on the page: a state or gate where a person, a signature or a device limit decides, never text from a model. Drawn from the specifications the sections cite; the figure carries no measured values.

You need

MCP (host, client, server, tools); Streaming and real-time (SSE, webhooks); Auth (OAuth, audience, token exchange). When several agents help at all is Multi-agent patterns; this page is the wire between them.

The running example

Team A trains a model; Team B owns the evaluation stack. Team A's orchestrator agent asks Team B's eval agent to "evaluate checkpoint step-4000". Team A never sees Team B's tools or prompts, only a task, its states and its results. Both agents are scripted; every message is real SDK output (a2a-sdk 1.2.2, mcp 2.3.0).

New terms on this page (12)
Opaque agent
one whose prompts, tools, memory and model you cannot see; you see only what it says.
Agent Card
the JSON an A2A agent publishes at /.well-known/agent-card.json: skills, endpoints, auth.
Task
A2A's unit of work: server-made id, a state, history, artifacts.
Artifact
a task's output, made of parts, streamable in chunks.
Context
an id grouping tasks into one conversation.
Interrupted state
input-required or auth-required: the task waits for someone.
Binding
one wire format for the same operations: JSON-RPC, gRPC, HTTP+JSON.
Push notification
the agent POSTs task updates to a webhook you registered.
Platform, business
UCP's names for the shopping agent and the merchant.
Mandate
AP2's signed proof of what a user approved.
Trusted surface
non-agentic code that shows the user what they sign.
Facilitator
x402's service that verifies and settles a payment for a server.

1. Why agents need a protocol to talk to each other

Two agents are opaque to each other when neither can see the other's prompts, tools, memory or model; like two companies, they see only what the other says. Delegation is giving another agent a goal ("evaluate this checkpoint") rather than a function call ("run shard 2 of suite gsm-mini on handle h-7"). Without a shared protocol N agents calling M agents means up to N × M bespoke integrations, and an evaluation is not one request: it takes minutes, may ask "which suite?", may need "read access to your bucket", and the caller's connection may drop in the middle.

The Agent2Agent protocol (A2A) is the shared contract for exactly that (A2A specification v1.0.1): discovery through an Agent Card (section 2); a task with a life, eight states and output artifacts (3, 4); three ways to hear back, waiting, Server-Sent Events or webhooks (5); one meaning on three wire formats (6); and opacity on purpose: agents "collaborate based on declared capabilities and exchanged information, without needing to share their internal thoughts, plans, or tool implementations" (spec section 1.2).

When not to use it. Every A2A hop is another trust boundary (section 9), another credential (8) and another service with a task store to run. If you own both sides or the other side is really a set of functions, use MCP or a plain API. A2A pays off when the other side is someone else's agent, the work is long or conversational, or any compliant client should reach your agent without a custom integration.

2. Discovery: the Agent Card

The agent serves a JSON document at https://{domain}/.well-known/agent-card.json (spec section 8.2, a registered well-known URI, section 14.3); registries or configuration can also supply cards. The card Team B served, as recorded, is on the right.

  • supportedInterfaces lists bindings in preference order; a client "MUST" pick the first one it supports and use that entry's URL (section 8.3.2). Here JSON-RPC first, HTTP+JSON second.
  • capabilities: if streaming or pushNotifications is absent or false, those calls fail with UnsupportedOperationError (section 3.3.4). Check before relying on either.
  • securitySchemes say how to authenticate (credential obtained out of band, section 8); skills are what a calling model reads to pick the agent: claims, not proof.
  • Caching is HTTP's (HTTP): servers "SHOULD" send Cache-Control and an ETag (section 8.6). The SDK sends a weak ETag and leaves max-age to you; the revalidation came back 304 Not Modified with no body.

An extended card hides skills from strangers: with capabilities.extendedAgentCard true, an authenticated client calls GetExtendedAgentCard and uses the fuller card for its session (sections 3.1.11, 13.3). Put internal URLs or secrets in neither.

The card is configuration a calling model reads: endpoints in preference order, capabilities, auth, and skills that are claims

measured 5 October 2026, src/lab/run_a2a.py scenario discovery: a GET without credentials, then the same GET with If-None-Match.

Signing: identity beyond TLS. TLS proves you reached the right host (clients "SHOULD" verify the certificate, section 7.2; TLS and certificates); it does not prove that a card copied into a registry or cache is the one the provider published. A card may carry JSON Web Signatures over its canonical bytes: the card minus signatures, in the JSON Canonicalization Scheme (RFC 8785), signed as a JWS (RFC 7515), the key found by kid and jku (section 8.4). The lab signed Team B's card with ES256, verified it, then appended three words to a skill description (right).

Signed, the card verifies; three words added, it no longer does

measured run_a2a.py scenario signing, SDK create_agent_card_signer and create_signature_verifier (verifier pinned to ["ES256"], which blocks algorithm confusion; Auth, JWTs). The private key never left the scratch directory.

3. Messages, tasks, parts and artifacts

Think of a ticket in another team's tracker: your note is a message, the ticket with its number and status is a task, their question back is another message on it, the deliverable is an artifact, and related tickets share a thread, a context (the server may keep model context per contextId).

What contains what: a context holds tasks; a task holds its status, its message history and its artifacts; everything is made of parts

Field names from a2a.proto v1.0.1. A part is exactly one of text, raw (bytes), url (a file by reference) or data (any JSON value), with optional mediaType and filename. A message's role is ROLE_USER from the client or ROLE_AGENT from the server; its messageId is client-made.

The rules that bite (spec sections 3.4 and 3.7):

  • Task ids are made by the server. A taskId it does not know is TaskNotFoundError; a taskId with a different contextId is rejected (recorded: -32602 Context another-context does not match context ...).
  • A contextId without a taskId starts a new task in the same conversation.
  • Results go in artifacts, never only in messages: "Messages SHOULD NOT be used to deliver task outputs", and status messages are not guaranteed to reach a client that reconnects (section 5). Artifacts stream in pieces: later pieces carry append: true, the last lastChunk: true.
  • SendMessage may answer with a plain Message instead of a Task, for something quick that needs no tracking. A client must handle both.
A gotcha visible in the artifact
The agent wrote "shards": 3; the wire says "shards": 3.0. A data part is a protobuf google.protobuf.Value, whose numbers are doubles, so integers come back as floats in the official SDK. Parse numbers defensively, or send exact values as strings.
Team A's first message and what came back, as they crossed the wire

measured scenario main. The scores are made-up numbers and the artifact says so ("scripted": true).

4. The task lifecycle: eight states

Every task is in exactly one of eight states (right). Two of them mean "waiting for someone", four end the task for good, and the rules below decide how a client must read every response.

  • Terminal means terminal. A completed, failed, canceled or rejected task accepts no more messages (UnsupportedOperationError, recorded as -32004) and cannot be canceled (TaskNotCancelableError, -32002). To continue, send a new message in the same context: that makes a new task.
  • rejected is not failed. Rejected means the agent chose not to (recorded: a request to delete a checkpoint, "this agent only evaluates checkpoints"); failed means it tried and could not. Retrying a rejected task unchanged is pointless; a failed one may work.
  • "Blocking" returns at interrupted states too. A plain SendMessage waits until the task is terminal or interrupted (section 3.2.2), so it can return in input-required: read the state, never assume a result. With returnImmediately: true it answers at once.
Predict: the task is in input-required. Team A answers with the right contextId but forgets the taskId. What happens?
Two states wait for someone (orange); four end the task for good. Click a state for its meaning, its way out and the recorded event

States from a2a.proto, enum TaskState (spec section 4.1.3). measured events from scenarios main, in_task_auth, rejected and canceled; failed was not recorded (the scripted agent never fails). The client can cancel from any non-terminal state; only the main transitions are drawn. In words: active is submitted (accepted, not started) and working; interrupted is input-required (the agent needs something from the client) and auth-required (it needs an authorization, section 8), where the task waits and nothing is lost; terminal is completed, failed, canceled, rejected.

5. Hearing back: wait, poll, stream, or be called

An evaluation takes minutes, and an HTTP request held open for minutes dies at the first proxy timeout (HTTP). A2A separates starting work from following it, with four ways to follow (spec section 3.5):

WayHowGood forCosts, and how it fails
WaitSendMessage, blocking by defaultshort tasksheld open; long tasks hit timeouts
PollGetTask every few seconds (historyLength caps the history returned)simple clients, strict firewallsone poll interval of latency, wasted requests
StreamSendStreamingMessage or SubscribeToTask: one response carrying Server-Sent Eventsinteractive use, progressa long-lived connection that can drop; needs capabilities.streaming
Pushregister a webhook; the agent POSTs each updateserver to server, hours-long tasksyou run a reachable, authenticated endpoint; at-least-once, so duplicates

One job, followed four ways

Each streamed update is one SSE event, data: {"result": {...}}, in one text/event-stream response (the format is Streaming and real-time's). It starts with the Task, then status and artifact updates, and the server closes it when the task is terminal. The stage on the right plays four recordings of the same job, each grouped into its stretches; pick one:

Fig. 2 · The stream is a view of the task, not the task: drop it, push instead, or cancel, and the task carries on by its own rules

  1. Discovery. Team A GETs the Agent Card with no credential (170 bytes up); the 1,298-byte answer carries the card, and Team A picks JSON-RPC, the first interface it supports.
  2. The job goes in; the task exists. One SendStreamingMessage (576 bytes) at 14.68 ms: "Evaluate checkpoint step-4000 of our 1B run." The response is a text/event-stream that stays open, and its first event, at 19.05 ms, is the Task: a server-made id and contextId, state submitted.
  3. Working, then input-required. Two status events within a millisecond: working ("Loading checkpoint step-4000 (scripted)."), then at 19.67 ms input-required: "Which suite should I run: gsm-mini or mmlu-mini?" The SDK closes this stream, because the next move is Team A's.
  4. Team A answers in the same task. A second SendStreamingMessage (648 bytes) at 22.23 ms, "gsm-mini, please.", carries the taskId and contextId of the waiting task; a new stream opens and the task is working again.
  5. The progress log streams in pieces. Three artifact updates of one artifact, 173.83 to 475.38 ms, one per shard: later pieces carry append: true, the last lastChunk: true.
  6. The scores, then completed. scores.json arrives as a data part (406 bytes), then completed at 476.22 ms, and the server closes the stream.
  7. Read back by id. GetTask (401 bytes up) returns the finished task in 2,161 bytes: state, every artifact and the history. Whatever a client missed, the task still holds.

measured 5 October 2026: a2a-sdk 1.2.2 client and server, JSON-RPC binding, through a TCP tap on loopback; times as recorded, the agent's shards sleep 0.15 s (0.5 s in the slow modes). scripted both agents and the user's answer follow fixed rules. The stage draws each stretch of frames; byte counts and times in the steps are the recording's.

Every recorded message, one at a time (all six recordings, raw)

The recordings behind Fig. 2, Fig. 3 and Fig. 4 frame by frame: pick a recording and step through it; each frame shows its raw HTTP message and the running counters. Nothing moves until you do.

The stream is a view of the task, not the task: every frame as it crossed the tap
Team A (client)
on the wire
Team B (agent or server)

When the stream drops, the task does not care

The most common A2A bug is treating the stream as the task. The lab started a six-shard job, read four events, hung up, waited and came back (the "Stream dropped" recording above, on a time axis here):

  • While nobody was listening the task kept working (a GetTask in between said so). SubscribeToTask "MUST return a Task object as the first event", the current state with every artifact so far (spec section 3.1.6). The snapshot held all four shards finished by then; live events continued from there. Status messages sent while you were away may be gone, which is why results belong in artifacts. So persist task ids and resubscribe or poll on reconnect.
Predict: Team B's agent restarts while Team A is streaming a task. Does the task survive?
Nobody listened for a second; the task kept working, and the resubscription's first event already held the missed shards

measured scenario resubscribe: raw httpx streams through the tap. Times from the first request.

Push notifications

For an hours-long job Team A registers a webhook (taskPushNotificationConfig) and asks for an immediate return; the agent then POSTs every update: seven POSTs for one task (the task, working, four artifact pieces, completed), the "Push to a webhook" recording above.

  • Receiving: the payload is the same StreamResponse as a stream event (section 4.3.3; the SDK sent application/json, the spec's example shows application/a2a+json: accept both). The SDK sent your per-task token as X-A2A-Notification-Token and your registered credentials as Authorization: Bearer .... Check them on every POST, accept only task ids you created, answer 2xx, and deduplicate: delivery is "at least once" (webhook discipline).
  • Sending is an SSRF risk: a webhook URL is a URL your agent fetches for a stranger, who may register a cloud metadata address such as 169.254.169.254 or an internal host. The spec says agents "SHOULD" reject private, loopback and link-local addresses (section 13.2). The SDK ships validate_push_notification_url but its default is no screening: the lab's first agent accepted a loopback webhook, and a second agent with the validator on refused it with InvalidParamsError: Invalid push notification URL (recorded). Turn it on, or send through an egress proxy.

6. One meaning, three wire formats, and versions

Version 1.0 defines the operations once and maps them onto three bindings (spec sections 5, 9 to 11): JSON-RPC 2.0 over HTTP with SSE for streams, gRPC (protobuf over HTTP/2, Service APIs), and HTTP+JSON, a REST style whose URLs come from the same protobuf service. An agent offering several "MUST" behave identically on all (section 5.1). The same blocking request over the two HTTP bindings Team B's card lists cost within a few percent of each other in bytes; the real difference is operational: JSON-RPC answers every A2A error with HTTP 200 and an error object, while HTTP+JSON uses status codes (a missing task is a real 404, section 7). A dashboard counting 4xx and 5xx sees JSON-RPC failures as successes: alert on the error object, or pick the binding your load balancers and monitors understand.

Versions. Clients "MUST" send A2A-Version: 1.0 on every request (section 3.6), and an empty or missing header means 0.3. Recorded: 9.9 gave -32009 A2A version '9.9' is not supported by this handler. Expected version '1.0'., and an empty header was read as '0.3' and refused the same way, so old clients that never send the header are treated as 0.3 clients.

The operation table, both bindings recorded, and what changed from 0.3
OperationJSON-RPC methodHTTP+JSON
Send a messageSendMessagePOST /message:send
Send, streamingSendStreamingMessagePOST /message:stream
Get a taskGetTaskGET /tasks/{id}
List tasksListTasksGET /tasks
CancelCancelTaskPOST /tasks/{id}:cancel
SubscribeSubscribeToTaskPOST /tasks/{id}:subscribe
Push configsCreate/Get/List/DeleteTaskPushNotificationConfig/tasks/{id}/pushNotificationConfigs[/{configId}]
Extended cardGetExtendedAgentCardGET /extendedAgentCard

The method mapping table, spec section 5.3; gRPC uses the JSON-RPC method names.


measured scenario bindings: "Evaluate checkpoint step-4000 on gsm-mini", the SDK client allowed one binding each time; bytes on the tap, card fetch included. gRPC was not recorded (binary HTTP/2 frames; the Service APIs page dissects one gRPC call).

Naming on the wire in 1.0: the protobuf model as JSON with camelCase fields and enum values as full names (TASK_STATE_INPUT_REQUIRED, ROLE_USER); the 0.3 kind field is gone, and an object's type is the key that wraps it: {"task": ...}, {"statusUpdate": ...}, {"artifactUpdate": ...} (spec sections 5.5, A.2.1). 0.3 used method names like message/send, a kind on every part and event, and lower-case roles such as "user"; a 0.3 request to a 1.0-only endpoint gave -32601 Method not found (recorded). The SDK can serve both on one endpoint (enable_v0_3_compat=True).

Version skew in the wild
UCP's own A2A binding page in its 2026-08-25 release still shows 0.3-style requests ("method": "message/send", "kind": "message", an X-A2A-Extensions header) (UCP checkout, A2A binding), while A2A 1.0 names the header A2A-Extensions (spec section 3.2.6). A 1.0-only agent rejects those requests: when two "A2A" systems cannot talk, check the version header and the method names first.

7. Errors, as they come back

The lab sent Team B's agent twelve deliberately wrong requests after the running example's task had completed; the table on the right holds every answer, and a click shows both raw messages. Three rules follow from them:

  • Not found, not forbidden. Team C asking for Team A's task got exactly the answer for a task that does not exist (-32001 Task not found): servers "MUST NOT reveal the existence of resources the client is not authorized to access" (section 3.3.2).
  • Branch on the code and the reason in error.data, a google.rpc.ErrorInfo (TASK_NOT_FOUND, UNSUPPORTED_OPERATION, ...), never on the message text.
  • Retry only what can succeed. -32001, -32002, -32004, -32009 and -32601 fail again unchanged; transport errors and -32603 may succeed later. SendMessage "MAY" be idempotent by messageId (section 3.3.1): reuse the same messageId on a retry so a deduplicating server can.
Twelve deliberately wrong requests and Team B's answers: click a row for both messages

The twelve: a message to a completed task, cancel a completed task, GetTask with an unknown id, GetTask on another caller's task, a taskId with the wrong contextId, A2A-Version: 9.9, an empty version header, a 0.3-style message/send, a truncated JSON body, an unknown method tasks/delete, and two HTTP+JSON reads (one that works, one unknown task). measured scenario errors: raw requests (httpx) to the SDK 1.2.2 server after the running example's task had completed. Codes are fixed by the spec's mapping table (section 5.4): A2A's own errors are -32001 to -32009 in JSON-RPC; -32700, -32600, -32601, -32602, -32603 keep their JSON-RPC meaning (Service APIs).

8. Authentication and authorization

Identity lives in HTTP, not in A2A messages: "Identity information is handled at the protocol layer, not within A2A semantics" (section 7). The card declares the schemes (Auth's: API keys, HTTP bearer, OAuth 2.0 flows, OpenID Connect, mutual TLS), the client gets a credential out of band and sends it on every request, and the server authenticates every request (sections 7.3, 7.4). Recorded: without a token the SDK client got HTTP 401 Unauthorized with WWW-Authenticate: Bearer realm="eval-agent" and raised A2AClientError: HTTP Error 401. Discovery carried no credential on purpose: a token sent to every URL you fetch is a token you may leak.

The SDK does not authenticate anyone for you
The official Python SDK takes the caller's identity from the web framework (Starlette's request.user) and scopes tasks by its name (resolve_user_scope returns user_name; owner_resolver.py). With no authentication middleware every caller is the same unauthenticated user, whose name is the empty string (auth/user.py), so all callers share one scope. The lab adds a bearer-token middleware; in production use your gateway or framework, and test that one caller cannot read another's task (the recorded Team C check).

Calling onward: never forward the token. Team A's orchestrator acts for a person; that person's token was issued for Team A's service, and forwarding it to Team B breaks audience binding. Team A instead trades it at the authorization server for a token whose audience is Team B and whose scope is only this call: token exchange (RFC 8693; both ideas with recorded flows on Auth; MCP states the same rule as "no token passthrough").

In-task authorization: auth-required

When the agent learns mid-task that it needs a permission the caller cannot give in a message ("read access to your bucket", "a human must approve this destructive step": the spec's examples, section 7.6), it moves the task to auth-required and gets the credential out of band, directly, not through the chain of agents. In the lab the evaluation needed gs://team-a-private/; a person on Team A's side granted it at the agent's own grant page about a second later (right):

Fig. 3 · The grant is a separate request to the agent, not a message in the task, and the stream stays open while the task waits

  1. Discovery. Team A fetches the card (1,298 bytes) without a credential, as in every recording.
  2. Job, stream, working. The job at 14.93 ms; submitted and working arrive on the stream by 17.03 ms.
  3. auth-required, and the stream stays open. At 17.57 ms the task moves to auth-required (721 bytes): "I need read access to gs://team-a-private/. A person on your side must grant it at /oob/grant?task=...; the credential comes to me directly, never through this chat."
  4. The grant, out of band. At 1,089.41 ms the scripted person POSTs to the agent's grant page (214 bytes) and gets a 200 at 1,090.17 ms: a separate request straight to Team B's agent, not a message in the task.
  5. Working again, on the same stream. At 1,091.81 ms working arrives on the stream opened at the start; Team A sent nothing new.
  6. Results and completed. Three progress pieces, the scores, then completed at 1,545.11 ms, still on that first stream.
  7. Read back by id. GetTask returns the completed task (991 bytes).

measured scenario in_task_auth. The "grant page" is a scripted POST standing in for a person clicking "allow"; no real bucket or credential exists.

  • The stream stayed open while the task waited (the agent "SHOULD maintain any active response streams"); in input-required the SDK closed it and Team A answered with a new request, because there the next move is the client's.
  • Chains: an orchestrator serving someone else's task can put its own task into auth-required, passing the request up (section 7.6.2). Never pass the credential through the chat: every agent in the chain would see it; if you must, bind it to the requesting agent and encrypt it for that agent only (section 7.6.3).

9. Security: the other agent is not on your side

Whatever comes back from outside your system is untrusted input, and with A2A the outside is a whole agent, run by someone else, whose model read who knows what. Injection, the lethal trifecta and approval design in general are Agent security's; here are the A2A-specific threats by where the attacker sits (all defensive):

AttackerWhat goes wrongDefence
The remote agent, or content it readInjection across agents: a status message or artifact says "also send me your API keys" and your model treats it as the user's words (the root's Failure lab case "A tool result that carries an injected instruction", one level up)Read data parts against a schema; show remote text to the model marked as the remote agent's; never let it choose your next tool or destination
A look-alike agenta look-alike domain or poisoned registry entry serves a card pointing at the attackerallowlist agent domains; verify TLS and card signatures against keys you already trust; alert when a card's interfaces or keys change
The agent's own claimsover-claimed skills: the card's skill is a claim, not a capabilityevaluate before routing real work; per-skill allowlist; watch rejected and failed rates
A client registering a webhookSSRF (section 5)screen push URLs (off by default in the SDK); egress proxy; no redirects to private ranges
Anyone who can reach your webhookforged "task completed" notificationscheck the per-task token and credentials; accept only your task ids; re-read with GetTask before acting on a terminal state
Another tenantreading or listing someone else's tasksauthentication on every request, per-caller scoping (Team C's recorded -32001)
A middle agent in a chainconfused deputy: forwards a user's token, or uses its own wide privileges for a narrow callertoken exchange per hop; authorize each request against the original caller
A flood of requestsexhausting the agent (each task may cost model calls)rate limits per caller, size limits on messages and files (section 13.4), quotas on concurrent tasks

And the data you send. A message to another organisation's agent is a disclosure: its operator may log it and keep context per contextId. Send the minimum, and review "delegate to an external agent" like "call an external API".

10. A2A or MCP?

With MCP, Team B exposes its building blocks as tools and Team A's model drives them step by step. With A2A, Team B exposes an agent and Team A hands over the goal. The same evaluation, recorded both ways (both servers on the official SDKs, both clients scripted) and drawn on one stage: MCP in front, A2A behind.

Fig. 4 · Before and after: driving Team B's tools puts every step and every result into Team A's model; delegating puts in the goal, one answer and the outcome

  1. Before, MCP: Team A lists Team B's tools. tools/list returns every tool's name, description and JSON schemas, 1,167 characters, all of it read by Team A's model (the glass column beside Team A fills with what its model must read).
  2. Team A's model plans the first steps. list_suites (18 characters back), the scripted user's choice "gsm-mini" (8), then load_checkpoint with "checkpoint": "step-4000", which returns Team B's handle h-step-4000 and "shards_per_suite": 3 (54).
  3. Three run_shard round trips. Each call names the handle, the suite and a shard number, and each result (59 characters) is another round trip and another entry in Team A's context: 1,424 characters after 6 HTTP requests.
  4. After, A2A: the card, then the goal. Team A's model reads the card's skills (257 characters) and sends one message: "Evaluate checkpoint step-4000 of our 1B run."
  5. One question, one answer. A working line (40 characters), then "Which suite should I run: gsm-mini or mmlu-mini?" (48); Team A answers in the same task. Team B's handle and shard numbers never cross the wire.
  6. Outcomes only. A second working line (40), three progress lines (25 each), the scores (106) and "Done: mean accuracy 0.6067 on gsm-mini (scripted numbers)." (58): 624 characters after 4 HTTP requests.
  7. Side by side. MCP: 6 requests, 3,654 bytes up and 3,448 down, 1,424 characters for Team A's model. A2A: 4 requests, 1,795 up and 8,144 down, 624 characters. The table below has both.

measured 5 October 2026: src/lab/mcp_same_job.py (mcp 2.3.0, Streamable HTTP, protocol 2026-07-28) and run_a2a.py scenario main (a2a-sdk 1.2.2, JSON-RPC). The glass columns are the characters Team A's model must read, to scale.

A2A moved more bytes (every streamed event repeats the ids) yet put less than half as much text in front of Team A's model, text that does not grow with the number of shards, whereas each MCP shard is another round trip and another result in Team A's context. And with MCP Team A had to know Team B's internals (a handle, shard numbers); with A2A it did not, which matters when Team B changes its pipeline next month.

HTTP requestsBytes on the wire (up / down)Characters Team A's model must readWho plans the steps
MCP: tools/list, list_suites, load_checkpoint, three run_shard calls63,654 / 3,4481,424Team A's model, 5 tool calls; it must learn Team B's handles and shards
A2A: card, the job, the answer to "which suite?", a final GetTask41,795 / 8,144624Team B's agent; Team A sends 2 messages

"Characters Team A's model must read": MCP, the tools/list schemas plus every tool result; A2A, the card's skills plus every status message and artifact. Ids and envelopes are not counted on either side.

ChooseWhen
MCPyour agent should use capabilities directly (files, a database, an API), the steps are short, your model should plan them, you can see the tools
A2Athe other side is someone else's agent; the work is long, may ask questions or need approvals; you want only the outcome; the other side must stay free to change how it works
Boththe usual case, drawn in the hero: Team B's agent is an A2A server outward and an MCP client inward (the spec's Appendix B)

The overlap is growing. MCP's 2026-07-28 revision added input_required results for multi-round-trip requests and moved its long-running Tasks into an official extension (tasks/get, tasks/update) (MCP). What stays A2A's own: an agent as the unit (skills, not functions), multi-turn contexts, artifacts streamed in chunks, subscribe and push as first-class operations, and opacity as a design goal.

11. The agent protocols, dated

2025 produced many agent protocols, three of them abbreviated "ACP". What each is and where it stands; versions, governance and adoption move fast, so this is the one dated table on the page.

NameWhat it isStatus
MCPagent to tool serverspec 2026-07-28; Agentic AI Foundation since December 2025 (MCP)
A2A (Google)agent to opaque agent1.0.0 on 12 March 2026, 1.0.1 on 28 May 2026, still latest on 24 Oct (releases); Agentic AI Foundation since 27 Aug 2026
Agent Communication Protocol (IBM / BeeAI)agent messaging over RESTmerged into A2A; archived, last push 25 Aug 2025 (i-am-bee/acp)
Agent Connect Protocol (AGNTCY, Cisco-led)REST interface to invoke remote agentsSDK archived, last push 16 Jun 2025 (agntcy/acp-sdk); its schema work OASF active
Agent Client Protocol (Zed)an editor talking to a coding agentactive (repository); see Topic: agentic-harnesses
Agent Network Protocol (ANP)open-internet agent network on W3C decentralized identifiers (did:wba, did:web)active since Oct 2024 (repository); no adoption evidence found
UCP (Shopify and Google)shopping agent to merchantpublished 11 January 2026; version 2026-08-25 (releases); 21 co-developers listed (ucp.dev)
Agentic Commerce Protocol (OpenAI and Stripe)agent checkout against a merchant's REST APIbeta; dated versions 2025-09-29 to 2026-04-17 (repository)
AP2 (Google)signed mandates proving what a user approvedspec v0.2, designed to sit inside UCP
x402pay per request with HTTP 402protocol version 2 (first committed 11 Dec 2025), x402 Foundation, Apache-2.0 (x402-foundation/x402, read 24 Oct 2026)
MHS (Anthropic)agent to lab or factory instrumentresearch preview from 27 Aug 2026, waitlist, not open source yet

Read 5 October 2026 unless dated otherwise. Deployed or proposed: A2A, MCP and UCP have official SDKs and live endpoints (section 12's UCP profile is a live store's); x402 ships reference implementations for EVM and Solana networks (spec section 11.1); AP2 and MHS are a specification and a preview whose production use this page could not confirm; ANP and the archived ACPs are research or history.

Provenance of the A2A and UCP rows

A2A was announced by Google on 9 April 2025 (Google Developers Blog) and became a Linux Foundation project on 23 June 2025 with "more than 100 leading technology companies" (Linux Foundation); 0.3.0 followed on 30 July 2025. On 27 August 2026 it "has officially been accepted as a Growth Stage project at the Agentic AI Foundation (AAIF)" (A2A blog), the Linux Foundation fund that holds MCP. IBM's Agent Communication Protocol repository reads "ACP is now part of A2A under the Linux Foundation!". AGNTCY's Open Agentic Schema Framework: agntcy/oasf, pushed 29 Sep 2026; GitHub publishes no archive date for the ACP SDK. UCP's 21 co-developers on ucp.dev (read 5 October 2026) include Google, Shopify, Amazon, Meta, Microsoft, Walmart, Target, Etsy, Stripe and travel and food companies.

Corrected from the old overview
The old Topic: protocols page said AGNTCY "archived its ACP SDK in April 2026"; the repository's last push was 16 June 2025 and GitHub publishes no archive date, so the month is not confirmed. It put A2A at "150+ member organisations"; the only primary figure found is "more than 100" at the June 2025 launch.

Who governs them. The tool protocol and the agent protocol now share one neutral owner, the Agentic AI Foundation (AAIF), a Linux Foundation fund: MCP since December 2025, A2A since August 2026. On 22 October 2026 it took in four more projects: Agent Skills (Anthropic donated the format, its name, GitHub organisation and agentskills.io; Anthropic), Open Responses (OpenAI; an open specification for multi-provider LLM interfaces based on its Responses API), OpenEnv (Hugging Face; reinforcement-learning environments as shareable services) and OpenSandbox (Alibaba; a sandbox platform with Docker and Kubernetes runtimes). With AGENTS.md, goose, agentgateway and Agent Router that makes ten projects (AAIF announcement). Read as a stack, one foundation now holds a standard for each layer of an agent: how it calls a model (Open Responses), what instructions it loads (Agent Skills, AGENTS.md), how it reaches tools (MCP) and how it delegates to another agent (A2A). The commerce protocols above stay with their own owners.

The practical rule: tool access on MCP, delegation between organisations on A2A, commerce on UCP or ACP depending on which platforms you sell through, and the rest as research unless a partner requires it.

12. Agent commerce: UCP and ACP

An agent buying shoes deals with a merchant it does not control, whose rules depend on the cart, the buyer and the country, and the action costs real money. The Universal Commerce Protocol (UCP), published by Shopify and Google (Shopify Engineering), standardises that conversation. Its roles are named by the direction capabilities flow (core concepts): the platform consumes them (a shopping agent, an app, a procurement system); the business exposes them and stays the merchant of record; a credential provider holds payment instruments and personal data (a wallet); a payment service provider moves the money.

Discovery and negotiation by intersection

A business publishes a profile at /.well-known/ucp; a platform sends the URL of its own profile on every request in a UCP-Agent header. The business then computes what the interaction may use ("server-selects"): (1) keep only capabilities both profiles name; (2) for each, keep the latest version both list, dropping it if there is none; (3) drop extensions none of whose parents survived, and repeat until nothing changes. It returns the active set in every response, so an agent degrades predictably instead of failing (HTTP's content negotiation is the same idea). Run the rules against a real store's profile, fetched once, read-only (right).

Versions must match exactly and extensions die with their parents: pick a preset, then change one row

Predict, then try: "Old agent" declares every capability at 2026-04-08: how many survive? "Checkout only" keeps the discount and fulfillment extensions (they extend checkout or cart); set checkout and cart to "not declared" and watch the extensions go.


The store's full profile, as served

measured business side: curl -s https://www.allbirds.com/.well-known/ucp, 5 October 2026 (version 2026-08-25, src/inputs/ucp_allbirds_profile.json; the response carried cache-control: public, max-age=60); it offers shopping over MCP and embedded only. illustrative platform side: the profile you build here. Rules: UCP core concepts, "Capability Intersection". The business also lists older versions as separate profiles under supported_versions; this lab negotiates against the current one only.

Names, versions and transports
  • Names carry authority. Reverse-domain names: dev.ucp.shopping.checkout is governed by UCP's tech council, dev.shopify.catalog by Shopify, com.example.payments.installments by example.com, with no central registry. A platform "MUST" check that an entity's schema URL is on its namespace's domain; that proves provenance, not trustworthiness.
  • Versions are dates and match exactly. A release is one compatible snapshot; an older date works only if the business lists it in supported_versions.
  • One service, several transports: REST (OpenAPI), MCP (OpenRPC), A2A (an Agent Card) and Embedded (OpenRPC).
Corrected from the old overview
The old page said core, capabilities and extensions are "each versioned independently so a core revision does not break a niche capability". In 2026-08-25 the UCP-authored dev.ucp.* capabilities and extensions are versioned in lockstep with the release; only third-party extensions and payment handlers version on their own (core concepts, Versioning). The January post's "Embedded Checkout Protocol" is now the general Embedded Protocol (EP), with checkout methods under ec.*.

The checkout and its explicit "a person must finish this" state

A checkout session moves through six statuses (right); the one that matters for agents is requires_escalation.

Each problem the business reports carries a severity: recoverable (fix the input and update), requires_buyer_input (information the API cannot collect), requires_buyer_review (policy needs the buyer's own approval), unrecoverable (start again or hand off). Either requires_* produces requires_escalation, and the business "MUST" then provide a continue_url to its own page: "The checkout has to be finalized manually by the user through a trusted UI unless the AP2 Mandates extension is supported." The lab under the status diagram uses the spec's example message for each severity.

Why this matters beyond shopping. An MCP tool call succeeds or fails, and a failure reaches the model as text. UCP makes "an agent cannot finish this, and a person must" a first-class state with a handoff attached; A2A's auth-required is the same move for authorization (section 15 generalises it).

Six checkout statuses; requires_escalation (orange) is the protocol saying the buyer, not the agent, must finish. Click a status

From the checkout capability, 2026-08-25. canceled is reachable from any status. complete_in_progress means the business is placing the order: no new Update or Complete, poll Get Checkout.

Fix what you can, hand off what you cannot: tick the spec's example messages and read the decision

illustrative the messages are the specification's own examples; an unrecoverable error means no checkout at all (ucp.status "error"); the decision follows its "Error Processing Algorithm" and status rules (checkout capability, Error Handling).

The handoff channel, payment handlers and request signing in UCP

Embedded Protocol. When escalation happens inside the agent's app, the Embedded Protocol renders the merchant's checkout in an iframe or webview and exchanges JSON-RPC 2.0 messages with it over postMessage (ec.start, ec.complete), so the host supplies its native payment sheet and saved addresses while the merchant keeps control of the order (Embedded Protocol).

Payment handlers are specifications, not companies (com.google.pay, dev.shopify.shop_pay): the business lists the handlers it accepts, the platform runs the handler's flow to get a token from the credential provider, and the business charges it through its own processor. Raw card numbers never touch the agent, and credentials flow platform to business only: businesses "MUST NOT" echo them back. Requests can be signed with HTTP Message Signatures (RFC 9421) with the verifying keys published in the signer's profile, so no prior registration is needed; OAuth 2.0, API keys and mTLS serve pre-arranged partners, and acting for a logged-in buyer uses OAuth account linking (dev.ucp.common.identity_linking).

ACP, the other commerce protocol

OpenAI and Stripe's Agentic Commerce Protocol solves the same problem with a merchant REST API that the agent platform calls (create, update, complete and cancel a checkout session); an agent that cannot perform an intervention the merchant requires gets an intervention_required message, ACP's version of the handoff. UCP adds discovery, negotiation, several transports and verticals beyond shopping; a merchant on Shopify gets UCP through its platform, so which one a given agent supports is the practical question.

ACP's checkout in detail

The RFC names ChatGPT as the agent platform; every request carries a required API-Version header, idempotency keys and request signing (ACP agentic checkout RFC, version 2026-01-16, status Draft). Statuses: not_ready_for_payment, ready_for_payment, in_progress, completed, canceled, plus authentication_required for 3-D Secure. The shape is close to UCP's checkout.

Two adoption stories in the old overview (a consumer agent buying over UCP, and a retailer blocking it) have no primary source and are left out; see src/unconfirmed.md.

13. Agent payments: AP2 and x402

A checkout protocol says what is being bought; a payment protocol must answer a harder question: how does the merchant know the user approved this, if an agent clicked buy? Two published answers take opposite routes: AP2 carries the user's signed approval through the purchase, and x402 makes the payment itself part of an HTTP request.

AP2: mandates signed on a trusted surface

In AP2 (specification v0.2) the user approves on a Trusted Surface, which "MUST be non-agentic" (deterministic code, no model in the loop), and signs mandates: a Checkout Mandate bound by hash to the merchant-signed checkout, and a Payment Mandate bound to the same checkout for the payment side. Mandates are SD-JWTs, so a verifier sees only the constraints relevant to it; verification "MUST happen in deterministic code", and the signed receipts become evidence in a dispute. Its stated threat model: "when either role is agentic, then the Agent itself is a potential attacker."

Fig. 5 · Human present, the user signs the exact checkout; human not present, the user signs the limits in advance and the agent signs inside them

  1. The merchant signs the checkout. Cart, price and terms, signed by the merchant, travel towards the user.
  2. A trusted surface shows it. Non-agentic code renders the merchant-signed checkout; no model is in the loop.
  3. The user signs the mandates. A Checkout Mandate bound by hash to that checkout, and a Payment Mandate bound to the same checkout for the payment side.
  4. The agent only carries them. The Checkout Mandate goes to the merchant, the Payment Mandate to the payment side; the agent cannot change what was signed.
  5. Verified in deterministic code. Merchant and payment side each verify the signature and see only the constraints relevant to them; the signed receipts are kept for disputes.

From the AP2 specification v0.2 and its checkout mandate and payment mandate pages, read 5 October 2026.

x402: the price arrives as an HTTP 402

x402 revives HTTP's long-reserved status 402 Payment Required for pay-per-request access by "any application or agent" (x402 specification, protocol version 2). There is no account and no checkout session: the server answers an unpaid request with its price, the client retries with a signed payment, and a facilitator verifies and settles it on a blockchain for the server (right).

  • Over A2A, it reuses the interrupted state: the x402 A2A transport sets the task to input-required with x402.payment.status: "payment-required" and the price in message metadata; the client answers with x402.payment.payload on the same taskId, and the receipt arrives in the completed status (transports-v2/a2a.md). There is an MCP transport too.
  • The trust gap to notice: x402 proves the payer's wallet signed; it says nothing about whether a person approved. Client-side budget management is explicitly out of scope of the spec, so the limit an agent may spend is yours to enforce below the model (section 15).
One request, refused with a price, retried with a signed payment, verified and settled by a facilitator, with no account or checkout session

The HTTP transport, transports-v2/http.md: all x402 data travels in base64 JSON headers. The spec's example price is "amount": "10000" in atomic units of USDC on eip155:84532 (Base Sepolia, a testnet), which is 0.01 USDC at USDC's 6 decimals (derived); maxTimeoutSeconds 60. Read 24 October 2026.

What the client signs, and verify against settle
  • What the client signs in the default exact scheme on EVM chains is an EIP-3009 authorization: from, to, value, a validity window and a 32-byte random nonce. Replay is blocked by the nonce (the token contract refuses reuse) and the time window (spec section 10.1).
  • Verify, then settle. The facilitator's POST /verify is read-only and "MUST NOT" commit payment state; POST /settle commits. In the default flow the server verifies, does the work, then settles; other schemes settle first (upfront) or settle a ceiling then the final charge (escrow) (sections 6.1, 7).

14. Agents driving devices: the Model Hardware Standard

Lab instruments (liquid handlers, plate readers, robotic arms, microscopes, lasers) each come with their own driver and vendor software, and wiring several together takes an engineer weeks. On 27 August 2026 Anthropic opened a research preview of the Model Hardware Standard (MHS), "a shared specification for AI agents to safely operate physical devices" (Anthropic). What it is and the lessons that generalise, all from the same post:

Fig. 6 · The device layer: one driver under many instruments, safety limits below the model

  1. Many instruments, one standard driver. Each instrument comes with its own driver and vendor software; MHS puts one standard driver under them, with two primitives, "read" (get temperature) and "write" (set temperature).
  2. Described once, in a reference file. Users describe a device in natural-language tags (a robot arm's weight, say) and the driver generates a reference file with what it can measure, what can be adjusted, and "what safety limits will be enforced".
  3. Above MCP, not beside it. Agents control it through MCP, a command line or code: "any agent harness can access it using standard protocols, such as the" Model Context Protocol.
  4. Limits live in the device layer, not the prompt. "MHS enforces device-level safety limits", so a Janelia researcher did not worry about the agent using too much laser power. A rule the model is asked to follow can be talked out of; a limit below the model cannot.
  5. Physical failures look like software errors to a model. Bubbles from mixing caused runtime errors and Claude's "default instinct was simply to retry", which made more bubbles. Retrying is safe for idempotent API calls (HTTP); it is not safe for a robot.
  6. Ship the artefact, not the agent. QuEra's end product "was a deterministic, fully inspectable script capable of running in production without an AI agent controlling it": the agent did the search, a reviewed program does the irreversible work.

Status: shared with partners "ahead of making the standard open source", by waitlist, safety findings promised with the open-source release. Claude also "often stopped to wait for human confirmation before performing an action it deemed even slightly risky", so experiments sometimes paused overnight: "an overly cautious agent is preferable to one that is not cautious enough."

From Anthropic's post of 27 August 2026; the figure shows the layers it describes and carries no measured values. The instruments drawn are the post's examples; which instrument a write or a failure lands on in the figure is illustrative.

The partners' reported results (their own measurements)

Genentech had Claude tune liquid-handler flow rates (about 140 µL/s for water, 10 µL/s for a viscous protein solution). Carnegie Mellon ran dose-response experiments "roughly three times faster", with integration taking "eight hours, versus the several weeks" of vendor setups. HHMI Janelia unified seven vendor programs and cut adding a device from a "multi-day project" to "only a few minutes". At QuEra an agent loop running overnight improved a laser-lock recovery script from 58% success at about 150 seconds per attempt to 96% at about six seconds; the finished script, then tested with no agent involved, recovered the lock in 695 of 700 trials (99.3%).

Corrected from the old overview
The old page said QuEra went "from 58% to 99.3%" and Janelia "from weeks to a day". The 58% and 99.3% are two different measurements (the starting script, and the finished script's blind test; the overnight run itself reached 96%), and Janelia's figure is per-device integration time, "multi-day project" to "a few minutes". One device item in the old overview had no primary source and is left out (src/unconfirmed.md).

15. The trust boundary for irreversible actions

Every protocol on this page meets the same moment: an action that cannot be taken back (spending money, deleting data, moving a robot arm, granting access). Text arriving over a protocol, from a tool, a remote agent or a web page, can be written by an attacker, so it must never be enough to authorise such an action. What each protocol provides at that moment, the orange gates of the hero:

ProtocolThe "stop here" mechanismWho decidesWhat carries the decision
MCPelicitation; tool annotations such as destructiveHint (hints, not enforcement)the user, through the hostthe host's UI
A2Aauth-required (and input-required)whoever can grant: the client, or a person up a chaina credential delivered out of band, directly to the agent
UCPrequires_escalation with continue_url; requires_buyer_reviewthe buyerthe merchant's own checkout page
AP2mandates signed on a trusted surfacethe user, in advance or per purchasea signature verified in deterministic code
x402a 402 with a price; a signed, time-limited paymentwhoever holds the wallet key (often the agent itself)the facilitator's verification; any spending limit is the client's own
MHSdevice-level safety limits; the agent pausing for confirmationthe device configuration; the operatorthe driver, below the model

The pattern, as a checklist for anything you build:

  1. Name the irreversible actions and give each a protocol state, not a sentence in a tool result: a state can be logged, timed out, audited and tested.
  2. Put the approval outside the model's channel (a dialog, a merchant page, a signed mandate, an out-of-band grant), something text in the context window cannot fake.
  3. Show the person what they approve, rendered by deterministic code (AP2's non-agentic trusted surface), never a model's summary of it.
  4. Enforce limits below the model (MHS's device limits, AP2's budget constraints, a wallet's spending cap, an API scope).
  5. Bind credentials to one audience and one agent (token exchange, AP2's hash binding, A2A's out-of-band credentials).
  6. Prefer producing a reviewable artefact (a script, a closed checkout, a plan) over acting directly, when the action can wait.
  7. Never retry an irreversible action blindly; use idempotency keys where the protocol has them (UCP and ACP checkout completion, A2A messageId, x402's nonce) and read the state before trying again.

16. Reference

Debugging: symptom, first command, fix (13 cases)
SymptomFirst command or checkUsual cause and fix
Client cannot find the agent, or picks the wrong URLcurl -s https://agent.example/.well-known/agent-card.json | jq '.supportedInterfaces'The card lists a development URL or a binding not served. The card is configuration: generate it from the deployment and test that every listed interface answers.
Every call fails with 401curl -si -X POST URL -H 'A2A-Version: 1.0' and read WWW-Authenticate; compare with securitySchemesMissing or wrong-audience token. Get a token for this agent (token exchange) and send it on every request.
-32009 version not supported, or -32601 on message/sendLog the A2A-Version header and the method nameA 0.3 client or an empty header (read as 0.3) against a 1.0 server. Upgrade the client, or enable the server's 0.3 compatibility.
Dashboards green but tasks failCount JSON-RPC error objects, not HTTP statusJSON-RPC errors travel with HTTP 200. Alert on error.code, or use the HTTP+JSON binding.
Tasks "stuck in working" after a client restartGetTask on the stored idThe stream dropped; the task did not. Persist ids; SubscribeToTask or poll on reconnect.
A blocking call returned but there is no resultRead status.stateBlocking returns at interrupted states too. Answer with the same taskId and contextId.
-32004 when sending a follow-upGetTask: is it terminal?Terminal tasks accept nothing. Send a new message in the same context (no taskId).
-32001 for a task you just createdWhich identity made the call?Different credentials (another tenant) or a restarted in-memory store. One identity per caller; a persistent task store.
Webhook never calledAgent logs for the push URL; is pushNotifications true in the card?Capability off, URL refused by SSRF screening, or your endpoint unreachable from the agent.
Duplicated "completed" handlingLog webhook deliveries by task id and stateAt-least-once delivery. Make the handler idempotent.
Integers arrive as 3.0Inspect the data partprotobuf Value numbers are doubles. Cast, or send exact values as strings.
UCP checkout never reaches ready_for_completeRead messages[]: severity and pathFix recoverable errors first; any requires_* means hand the buyer the continue_url.
UCP capability you expected is missingCompare /.well-known/ucp with your platform profile; check versionsNegotiation dropped it: no common version, or an extension whose parent was dropped.
Interview rehearsal (design angles, with model answers)

Your orchestrator calls a third-party agent for a user. How do credentials flow? The user's token is for my service only. I exchange it (RFC 8693) for a token whose audience is the third-party agent and whose scope is just this call. If the agent later needs more (the user's bucket), it moves the task to auth-required and obtains the credential out of band, directly, never through my messages.

How would you secure push notifications? On the agent: screen webhook URLs against private and link-local ranges, time out, retry with backoff, authenticate to the webhook as configured. On the receiver: verify the token, accept only known task ids, return 2xx fast, process idempotently, and re-read the task before acting on a terminal state.

An agent may spend money on its own: which protocol, and where is the limit? With a person in the loop, UCP's escalation or AP2's human-present mandate; unattended, AP2's open mandate (merchants, items, amount range, budget) verified in deterministic code, or x402 with a wallet whose spending cap is enforced outside the model. Never a limit stated only in the prompt.

What did the Model Hardware Standard pilots teach about physical actions? Enforce limits in the device layer; models treat physical failures as software errors and retry; the best output may be a reviewed deterministic script (QuEra's 99.3% blind test ran with no agent); a cautious agent costs time and is the safer default.

Built 5 October 2026; rebuilt to the teaching contract 24 October 2026. Recordings: src/lab/ (a2a-sdk 1.2.2, mcp 2.3.0, Python 3.12, Apple M1 Pro); every agent on this page is scripted and no model is called. Specifications read: A2A v1.0.1, UCP 2026-08-25, AP2 v0.2, ACP agentic checkout RFC 2026-01-16 (5 October 2026), x402 protocol version 2 (24 October 2026). What could not be confirmed is in src/unconfirmed.md.