Skip to content

Lesson 9 of 12 · 4 min read

The Agent Protocol Map

Free lessonReviewed By the AIAgentInterviews editorial teamProduct details checked · What changed
Reading position
In this lesson

TL;DR: Do not start from protocol names; start from the edges in your design. Agent to tool or data: MCP. Agent to another agent that decides how to do the work: A2A. Agent to the person watching: AG-UI for the event stream, A2UI or MCP Apps for interface elements. Agent to a merchant or a paid API: a commerce protocol (UCP, ACP) for the checkout, AP2 mandates for proof of what the user authorised, x402 for pay-per-request. Every one of them standardises a message envelope. None of them decides who may do what, which party to trust, or whether the result is right.

After this lesson, you should be able to name the edge each major agent protocol covers, combine them in one architecture, say what each one deliberately leaves to you, and explain why the same three questions about authority, trust and verification apply at every edge.

Before you read

Commit to an answer now. The lesson that follows explains it, and having guessed first, even wrongly, makes the explanation easier to remember.

  1. 1A travel company builds an agent that searches its own inventory, asks a partner hotel chain's agent for a group quote, shows the customer a booking card in its app and pays a deposit. How many distinct edges does that design have?

The map

CHECKED NOVEMBER 2026
One protocol per edge of an agent system
  1. Agent to tools and data

    MCP

    • Tools, resources, prompts
    • 2026-07-28: stateless requests
  2. Agent to agent

    A2A

    • Agent Card, task, artifacts
    • 1.0: JSON-RPC, gRPC, HTTP+JSON
  3. Agent to user

    AG-UI

    • One request, a stream of typed events
    • Front-end tools, interrupts
  4. Agent to interface

    A2UI, MCP Apps

    • A2UI: declarative, catalog-bound
    • MCP Apps: sandboxed HTML
  5. Agent to checkout

    UCP, ACP

    • Catalog, cart, checkout, order
    • Delegated payment tokens
  6. Agent to payment

    AP2, x402

    • AP2: signed mandates
    • x402: HTTP 402 pay per request
Dated map: versions and owners change. The edges are the durable part.
EdgeProtocolOwner and status, November 2026What it leaves to you
Agent to tools and dataMCPAgentic AI Foundation (Linux Foundation); revision 2026-07-28Tool design, per-user permissions inside servers, which servers to trust
Agent to agentA2AAgentic AI Foundation; 1.0.1What to delegate, what data to send, verifying artifacts
Agent to userAG-UICreated by CopilotKit, MIT; 1.0 frozenBackend authorisation of every side effect, rendering output safely
Agent to interfaceA2UI; MCP AppsGoogle-led, Apache-2.0, 1.0; MCP extensionYour catalog or your sandbox policy
Agent to checkoutUCP; ACPGoogle with retailers and platforms; Stripe and OpenAIPricing, inventory, fraud and refund rules
Proof of consent to payAP2Donated to the FIDO Alliance, v0.2Limits you allow users to sign, dispute handling
Pay per requestx402x402 Foundation (Linux Foundation)Spending caps, which services an agent may pay

Governance changed in 2026

Two years ago each of these protocols belonged to one company. By November 2026 the Agentic AI Foundation, a Linux Foundation body, hosted MCP, A2A, goose, AGENTS.md and agentgateway, with platinum members including AWS, Anthropic, Block, Bloomberg, Cloudflare, Google, Microsoft and OpenAI. IBM's Agent Communication Protocol had already folded into A2A in August 2025. AP2 went to the FIDO Alliance, whose payment and authentication working groups include the card networks. x402 moved to its own foundation.

For an engineer, neutral governance matters in one practical way: it lowers the risk that a protocol you build on changes direction for one vendor's product reasons. It does not slow change down. MCP's 2026 revision was breaking, and A2A's 1.0 was breaking. Pin versions and test conformance at every edge.

Combining them

Back to the travel company. Here is the same design written down as edges, with a helper that maps each edge to its protocol and to the question the protocol does not answer:

EDGES = {
    ("agent", "tool"): ("MCP", "may this user use this tool on this record?"),
    ("agent", "agent"): ("A2A", "what may we send them, and is their answer right?"),
    ("agent", "user"): ("AG-UI", "did the backend authorise the side effect?"),
    ("agent", "interface"): ("A2UI", "is every component in our catalog?"),
    ("agent", "checkout"): ("UCP or ACP", "is the price and stock what we showed?"),
    ("agent", "payment"): ("AP2", "did the user sign this cart and this amount?"),
}

design = [
    ("search inventory", "agent", "tool"),
    ("group quote from the hotel chain", "agent", "agent"),
    ("stream progress to the app", "agent", "user"),
    ("booking card", "agent", "interface"),
    ("hold the rooms", "agent", "checkout"),
    ("pay the deposit", "agent", "payment"),
]
for step, a, b in design:
    protocol, question = EDGES[(a, b)]
    print(f"{step:34} {protocol:11} {question}")
# => search inventory                   MCP         may this user use this tool on this record?

Only the first line is annotated; the other five print the same way. The second column is what a standard gives you. The third column is the part of the design review the standard cannot do, and it is different at every edge.

Three questions at every edge

Whatever the protocol, an interviewer who asks you to defend a design will probe the same three things.

  1. Authority. Whose permission does this call run under, and where is it checked? MCP has OAuth with audience-bound tokens; A2A cards declare auth schemes; AP2 mandates are signed by the user. All of them move credentials. None of them decides your business rule.
  2. Trust. What happens if the other side is wrong or hostile? A tool server's descriptions reach your model; a partner agent's artifacts can carry instructions; a generated interface can imitate yours. Treat everything that crosses an edge as untrusted input.
  3. Verification. How do you know the result is right? A completed A2A task, a successful tool call and a settled payment are all claims. Check them against the source of truth before acting on them.

Misconceptions interviewers listen for

  • "A2A is for long tasks, MCP for short ones." Duration does not decide it. MCP has an optional tasks extension for long work. The question is whether you are calling a capability with a contract or delegating to an agent that decides how to do the job.
  • "AG-UI and A2UI are competitors." They nest. AG-UI is the stream, A2UI is one kind of payload in it; the A2UI specification names AG-UI as its standard transport binding.
  • "With AP2 the agent can pay safely." AP2 gives the merchant and the payment network proof of what the user authorised. Limits, fraud checks and disputes are still designed by the parties.

Say it in 30 seconds

"I map protocols to edges. Agent to tools and data is MCP; agent to an independent agent is A2A; agent to the user's screen is AG-UI, with A2UI or MCP Apps for interface elements; agent to commerce is a checkout protocol such as UCP or ACP, with AP2 mandates as signed proof of what the user authorised, and x402 for paying per HTTP request. MCP and A2A now sit under the Linux Foundation's Agentic AI Foundation. Each one standardises an envelope, so at every edge I still answer three questions myself: whose authority the call runs under, what happens if the other side is wrong or hostile, and how I verify the result."

Check yourself

Answer aloud or on paper before revealing. Producing the explanation unaided is exactly what a panel listens for.

  1. 1Your agent must ask an independent claims-assessment agent, run by an insurer, to evaluate a case that may take a day and may need follow-up questions. Which protocol, and what does it leave you to decide?

  2. 2How do AG-UI and A2UI relate?

  3. 3Name the three questions every protocol edge leaves to the designer.

Practise it as an interviewer asks it

From the blog

Related lessons