---
agent:
  instructions: "Use this search API to find relevant guides, AI tools, glossary terms, and installable Claude Code agents, skills, and commands across AgentsCamp with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown. Optional query parameters: type (guide|tool|glossary|agent|skill|command) and limit (1-20, default 10)."
  endpoint: "https://agentscamp.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://agentscamp.com/llms.txt"
title: "The 2026 AI Agent Protocol Stack: MCP, ACP, A2A, AG-UI, A2UI, and MCP Apps"
description: "How MCP, MCP Apps, ACP, A2A, AG-UI, and A2UI fit together in 2026: boundaries, wire formats, Zed/JetBrains setup, governance, and which layers you need."
url: "https://agentscamp.com/guides/mcp/agent-protocol-stack-mcp-acp-a2a-ag-ui-a2ui"
---

# The 2026 AI Agent Protocol Stack: MCP, ACP, A2A, AG-UI, A2UI, and MCP Apps

> How MCP, MCP Apps, ACP, A2A, AG-UI, and A2UI fit together in 2026: boundaries, wire formats, Zed/JetBrains setup, governance, and which layers you need.

Author: Imtiaz Rayhan | Published: 2026-12-04 | Reviewed: 2026-12-04

Six complementary protocols define the 2026 agent stack: MCP connects agents to tools, MCP Apps renders sandboxed tool UIs, ACP connects editors to coding agents, A2A connects independent agents, AG-UI streams events to frontends, and A2UI describes native UIs. Most teams start with MCP and add higher layers only at real system boundaries.

## Key takeaways

- These six protocols standardize different system boundaries rather than competing for the same slot: tools (MCP), sandboxed tool UIs (MCP Apps), editor-to-agent control (ACP), cross-org agent delegation (A2A), frontend event streaming (AG-UI), and native declarative UI payloads (A2UI).
- All six reached stable GA specifications by late 2026: MCP 2026-07-28 (stateless overhaul), MCP Apps 2026-01-26, ACP v1 (with ACP v2 in preview as of November 2026), A2A v1.0.1, AG-UI 1.0, and A2UI v1.0.
- Watch the ACP naming trap: today's Agent Client Protocol (Zed and JetBrains, editor-to-coding-agent) is distinct from IBM BeeAI's Agent Communication Protocol, which merged into A2A and was archived in August 2025.
- AG-UI and A2UI are partners, not rivals: AG-UI is the bi-directional HTTP+SSE event bus, while A2UI is a transport-agnostic JSON UI payload that rides over AG-UI, A2A, MCP, or WebSockets.
- MCP Apps and A2UI solve interactive UI from opposite trust models: MCP Apps ships predeclared ui:// HTML bundles in sandboxed iframes across third-party hosts, while A2UI streams catalog-validated JSON rendered with native React, Flutter, SwiftUI, or Compose widgets.
- Governance converged only at the core: the Linux Foundation's Agentic AI Foundation (AAIF) hosts MCP (including MCP Apps) and A2A, while ACP (Zed/JetBrains), AG-UI (CopilotKit), and A2UI (a2ui-project) remain outside AAIF as of December 2026.

By late 2026, building production AI agents no longer means picking one monolith protocol. Six focused standards now cover distinct edges of an agent system: **MCP** connects an agent to tools and data, **MCP Apps** renders sandboxed HTML tool interfaces inside third-party hosts, **ACP** connects code editors to coding agents, **A2A** delegates stateful tasks across independent agents, **AG-UI** streams runtime events to user-facing frontends, and **A2UI** describes native declarative UI widgets without shipping executable code.

Every one of the six reached a stable specification by November 2026, yet engineering teams still trip over overlapping acronyms and outdated 2025 tutorials. This guide maps every layer of the stack as of December 2026—what boundary each protocol owns, what changed in its current specification, how the protocols compose in real developer and enterprise architectures, and which ones you can safely skip.

## The six-layer protocol map

Think of the stack by **boundary**, not by vendor. Two systems sitting on opposite sides of a trust, process, or UI boundary need a contract; two functions inside the same Python or TypeScript process do not.

| Protocol | Boundary | Governance (Dec 2026) | License | Stable spec (Dec 2026) | Transport & wire format | Core primitives |
| --- | --- | --- | --- | --- | --- | --- |
| **MCP** | Agent ↔ tools & data | Linux Foundation AAIF | MIT → Apache-2.0 | `2026-07-28` (stateless) | JSON-RPC 2.0 over stdio or Streamable HTTP | Tools, Resources, Prompts, `server/discover`, `subscriptions/listen`, MRTR Elicitation |
| **MCP Apps** | MCP server ↔ sandboxed host UI | MCP / AAIF (SEP-1865) | MIT → Apache-2.0 | `2026-01-26` (SDK v2.x) | `ui://` resource + JSON-RPC 2.0 over iframe `postMessage` | `UIResource`, `_meta.ui.resourceUri`, `visibility`, `ui/initialize`, `ui/notifications/tool-*`, `ui/message` |
| **ACP** | Code editor / IDE ↔ coding agent | Zed & JetBrains (joint interim) | Apache-2.0 | Protocol `v1` (`v2` preview Nov 2026) | JSON-RPC 2.0 over stdio (NDJSON) | `initialize`, `session/new`, `session/prompt`, `session/update`, `session/request_permission`, `fs/*`, `terminal/*` |
| **A2A** | Independent agent ↔ agent | Linux Foundation AAIF (9-seat TSC) | Apache-2.0 | `v1.0.1` (`v1.1.0-rc` Oct 2026) | JSON-RPC 2.0, gRPC, or HTTP+JSON (`application/a2a+json`) | Agent Card (`/.well-known/agent-card.json`), Tasks, Messages/Parts, Artifacts, Push Notifications |
| **AG-UI** | Agent backend ↔ app frontend | CopilotKit (open source) | MIT | `1.0` (Sep 2026) | HTTP POST → HTTP+SSE (mandatory) or HTTP+Protobuf | 31 typed events: `RUN_*`, `STEP_*`, `TEXT_MESSAGE_*`, `TOOL_CALL_*`, `REASONING_*`, `STATE_*`, `ACTIVITY_*`, `SUBAGENT_*` |
| **A2UI** | Agent ↔ native UI renderer | `a2ui-project` (Google CLA) | Apache-2.0 | `v1.0` (Nov 2026) | Transport-agnostic JSON / JSONL (rides over AG-UI, A2A, MCP, WS) | `createSurface`, `updateComponents`, `updateDataModel`, `deleteSurface`, `action`, `@path`, `@call`, `@checks` |

One governance detail surprises teams planning multi-year bets: consolidation happened at the tool and inter-agent core, not across the entire stack. As of December 2026, the [Agentic AI Foundation (AAIF)](https://aaif.io/projects) hosts ten projects—including MCP (with MCP Apps), A2A, AGENTS.md, Agent Skills, Goose, and agentgateway—while **ACP**, **AG-UI**, and **A2UI** remain governed outside AAIF under Zed/JetBrains, CopilotKit, and `a2ui-project`, respectively.

## How one request traverses the stack

Before examining each specification individually, trace how the layers nest in the two dominant late-2026 topologies.

**Topology 1: Local developer IDE and coding agent.** A developer types a prompt inside [Zed](/tools/zed) or JetBrains IntelliJ IDEA. The editor talks **ACP** over `stdio` to an external coding agent such as [Claude Code](/tools/claude-code) (via its ACP adapter), [Codex CLI](/tools/codex-cli), [Gemini CLI](/tools/gemini-cli), or OpenCode. Inside its turn, that agent calls **MCP** servers (either your project's database/issue-tracker MCP servers or the IDE's own built-in MCP server) to read symbols and run tools. If the same MCP server runs inside a GUI host such as VS Code or Claude Desktop, a tool result can also render an inline **MCP App** (`ui://`) dashboard.

**Topology 2: Customer-facing web or mobile agent app.** A React, Flutter, or SwiftUI client sends a user turn over **AG-UI 1.0** (HTTP POST with an SSE response stream) to an orchestrator built in [LangGraph](/tools/langgraph), [Google ADK](/tools/google-adk), or Pydantic AI. The orchestrator calls internal databases and APIs over **MCP**, delegates specialized work across a team or vendor boundary over **A2A v1.0**, and streams **A2UI v1.0** declarative component messages back through the AG-UI event stream so the client renders native buttons, forms, and cards without executing remote JavaScript.

Notice what does *not* happen in either topology: you rarely put all six layers in the same product. Developer tools live on **ACP + MCP (+ MCP Apps)**; user-facing enterprise apps live on **AG-UI + MCP (+ A2UI and/or A2A)**.

## MCP: the stateless tool and data layer

The [Model Context Protocol specification (`2026-07-28`)](https://modelcontextprotocol.io/specification/2026-07-28) owns the vertical boundary between an agent and external capabilities: **Tools** (`tools/list`, `tools/call`), **Resources** (`resources/list`, `resources/read`, `resources/templates/list`), and **Prompts** (`prompts/list`, `prompts/get`). Anthropic donated MCP to the Linux Foundation's AAIF in December 2025, and the specification and SDKs are transitioning from MIT to Apache-2.0.

If you last read the MCP spec in 2025, the [2026-07-28 changelog](https://modelcontextprotocol.io/specification/2026-07-28/changelog) is a major architectural shift that breaks older tutorials:

- **Streamable HTTP became stateless.** Protocol-level sessions (`Mcp-Session-Id`), the `initialize` / `notifications/initialized` handshake, standalone HTTP `GET` streams, and SSE `Last-Event-ID` resumability were removed (SEP-2567 and SEP-2575). Clients now call a required `server/discover` RPC to read supported protocol versions and capabilities, and send `io.modelcontextprotocol/protocolVersion` and `io.modelcontextprotocol/clientCapabilities` in `_meta` on each request.
- **Subscriptions moved to a dedicated stream.** Long-lived `subscriptions/listen` POST streams replace the older HTTP `GET` + `resources/subscribe` pattern for opted-in list and resource change notifications.
- **Elicitation uses Multi Round-Trip Requests (MRTR).** Rather than requiring servers to open reverse requests back to the client, SEP-2322 gives responses a `resultType` (`"complete"` or `"input_required"`). When user input is required, the server returns `inputRequests` and the client retries the call with `inputResponses`.
- **Capabilities split into official Extensions.** Long-running Tasks moved out of core into `io.modelcontextprotocol/tasks` (SEP-2663), sitting alongside `io.modelcontextprotocol/ui` (MCP Apps), `io.modelcontextprotocol/skills`, `io.modelcontextprotocol/events`, and OAuth enterprise extensions.
- **Four legacy primitives were formally deprecated.** In `2026-07-28`, MCP [deprecated](https://modelcontextprotocol.io/specification/2026-07-28/deprecated) **Roots**, **Sampling**, protocol-level **Logging** (replaced by `stderr` and OpenTelemetry `_meta` trace propagation), and **OAuth Dynamic Client Registration** (RFC 7591, replaced by OAuth Client ID Metadata Documents alongside OAuth 2.1 and RFC 9728 Protected Resource Metadata). The earliest removal date for deprecated features is `2027-07-28`.

For day-to-day server implementation and debugging, frameworks such as [FastMCP](/tools/fastmcp) and tools like [MCP Inspector](/tools/mcp-inspector) abstract the wire details, while our [MCP vs A2A guide](/guides/mcp/mcp-vs-a2a) covers the tool-versus-agent boundary in depth.

## MCP Apps: sandboxed HTML UIs inside any host

Plain text and JSON tool results break down as soon as a user needs to pan a map, filter a 500-row table, edit a diagram, or fill out a multi-step checkout form. [MCP Apps](https://modelcontextprotocol.io/extensions/apps/overview) (`io.modelcontextprotocol/ui`, standardized under SEP-1865 with stable revision `2026-01-26` and `@modelcontextprotocol/ext-apps` v2.x) solves that problem by letting an MCP server ship an interactive web bundle directly alongside its tools. The design unified the community MCP-UI project and OpenAI's Apps SDK into a single extension.

An MCP server declares a `UIResource` under the `ui://` URI scheme with MIME type `text/html;profile=mcp-app`, then attaches `_meta.ui.resourceUri` to a tool. Hosts render that HTML inside a **sandboxed iframe** (or a double-sandboxed proxy iframe on a separate origin) with a deny-by-default Content Security Policy—outbound network requests are blocked unless declared in `_meta.ui.csp` and approved by the host.

```json
{
  "uri": "ui://weather-dashboard",
  "name": "Weather Dashboard",
  "description": "Interactive forecast dashboard",
  "mimeType": "text/html;profile=mcp-app",
  "_meta": {
    "ui": {
      "csp": {
        "connectDomains": ["https://api.weather.com"],
        "resourceDomains": ["https://cdn.jsdelivr.net"]
      }
    }
  }
}
```

Tools linked to that UI set `_meta.ui.visibility` to `["model", "app"]` (default) or `["app"]`—the latter hides UI-only helper tools like a refresh button from the model's context window while letting the iframe invoke them through the host. Once mounted, the iframe and host exchange JSON-RPC 2.0 messages over `window.postMessage`:

- **Handshake & lifecycle:** `ui/initialize` (returns host theme CSS variables, dimensions, and locale), `ui/notifications/initialized`, `ui/notifications/size-changed`, and `ui/resource-teardown`.
- **Tool data flow (Host → View):** `ui/notifications/tool-input-partial`, `ui/notifications/tool-input`, `ui/notifications/tool-result` (carrying both `content` for the LLM and `structuredContent` tailored to the UI), and `ui/notifications/tool-cancelled`.
- **Interactive actions (View → Host):** proxied `tools/call`, `ui/message` (inject a user chat turn), `ui/update-model-context` (quietly refresh context for future turns), `ui/open-link`, and `ui/request-display-mode` (`"inline"`, `"fullscreen"`, or `"pip"`).

According to the official [MCP Extensions Client Matrix](https://modelcontextprotocol.io/extensions/client-matrix) as of December 2026, full `io.modelcontextprotocol/ui` support is live in **Claude (web)**, **Claude Desktop**, **ChatGPT**, **VS Code (GitHub Copilot)**, **Microsoft 365 Copilot**, **Cursor**, **Goose**, **Kiro Crew**, and **Glean** (terminal-only hosts like Claude Code omit `ui` while supporting `skills` and `tasks`). A draft revision of MCP Apps (draft as of December 2026) adds app-provided tools for tighter semantic introspection.

## ACP: LSP for coding agents and IDEs

The [Agent Client Protocol (ACP)](https://agentclientprotocol.com/protocol/v1/overview) does for coding agents what the Language Server Protocol (LSP) did for compilers: it decouples **code editors and IDEs** from **coding agents** so every editor does not have to maintain custom wrappers for every agent CLI. Zed Industries launched ACP in August 2025 and JetBrains joined as co-maintainer in October 2025; the Apache-2.0 protocol currently runs under joint Zed/JetBrains interim governance with an explicit goal of moving to an independent foundation.

### Clearing up the two ACPs

Before adopting ACP, verify which specification an article means. In early 2025, IBM's BeeAI project released an unrelated REST/HTTP multi-agent protocol also called the **Agent Communication Protocol** (`github.com/i-am-bee/acp`). That project merged into the Linux Foundation's A2A effort and was archived in August 2025. As the [ACP related-protocols page](https://agentclientprotocol.com/get-started/related-protocols) notes, any active December 2026 reference to ACP means Zed and JetBrains' **Agent Client Protocol** for editor-to-agent control.

### Wire format, capabilities, and ACP v2 (November 2026 preview)

In stable **ACP v1** (`protocolVersion: 1`, schema `v1.35.0`), the editor spawns the coding agent as a local subprocess and exchanges UTF-8 JSON-RPC 2.0 messages as newline-delimited JSON over `stdio` (a remote Streamable HTTP / WebSocket transport RFD is in progress as of December 2026).

What makes ACP different from plain CLI wrapping is bidirectional workspace delegation:
- **Client → Agent methods:** `initialize`, `authenticate`, `session/new`, `session/prompt`, `session/cancel`, plus optional session lifecycle methods (`session/load`, `session/list`, `session/resume`, `session/set_mode`, `session/set_config_option`).
- **Agent → Client methods:** `session/request_permission` (so the editor renders native approval dialogs), plus optional workspace primitives (`fs/read_text_file`, `fs/write_text_file`, `terminal/create`, `terminal/output`, `terminal/wait_for_exit`, `terminal/kill`, `elicitation/create`) that let the agent read unsaved editor buffers and run commands inside the IDE's terminal.
- **Streaming updates:** `session/update` notifications stream `agent_message_chunk`, `agent_thought_chunk`, `tool_call`, `tool_call_update`, and `subagent_update` directly into the IDE panel.

On November 20, 2026, the maintainers moved [ACP v2 to preview](https://agentclientprotocol.com/announcements/acp-v2-preview) (preview as of December 2026). ACP v2 decouples `session/prompt` from turn ownership so clients can queue messages while an agent is busy, adds ID-patched updates and structured diffs, and promotes subagents and background work to first-class primitives.

### Real adoption and Zed / JetBrains configuration

As of December 2026, the live ACP Agent Registry lists **46 compatible agents**. [Gemini CLI](/tools/gemini-cli) (`--acp`), OpenCode (`opencode acp`), Goose (`goose acp`), GitHub Copilot CLI, Cursor, Devin CLI, Cline, Kiro CLI, Auggie, and JetBrains Junie all ship native ACP flags, while official adapters maintained under the `agentclientprotocol` GitHub org (`claude-agent-acp` and `@agentclientprotocol/codex-acp`, replacing earlier `@zed-industries/*` names) bridge [Claude Code](/tools/claude-code) and [Codex CLI](/tools/codex-cli).

Both [Zed](https://zed.dev/docs/ai/external-agents) and [JetBrains IDEs](https://www.jetbrains.com/help/ai-assistant/acp.html) expose one-click installs from the built-in ACP Registry (JetBrains requires no JetBrains AI subscription to run external ACP agents). For custom agents, Zed reads `agent_servers` in `~/.config/zed/settings.json`:

```json
{
  "agent_servers": {
    "my-agent": {
      "type": "custom",
      "command": "node",
      "args": ["~/projects/agent/index.js", "--acp"],
      "env": {}
    }
  }
}
```

JetBrains reads `~/.jetbrains/acp.json`—and notice `default_mcp_settings`, a textbook example of ACP and MCP nesting inside the IDE so external ACP agents inherit JetBrains' own MCP server:

```json
{
  "default_mcp_settings": {
    "use_idea_mcp": true,
    "use_custom_mcp": true
  },
  "agent_servers": {
    "opencode": {
      "command": "/Users/<username>/.opencode/bin/opencode",
      "args": ["acp"]
    },
    "goose": {
      "command": "/Users/<username>/.local/bin/goose",
      "args": ["acp"]
    }
  }
}
```

Use absolute binary paths in `~/.jetbrains/acp.json` because desktop GUI IDEs often launch without your interactive shell's `PATH`.

## A2A: horizontal delegation between independent agents

While MCP reaches down to tools and ACP wires an editor to a local coding agent, the [Agent2Agent (A2A) v1.0 specification](https://a2a-protocol.org/latest/specification/) standardizes **east-west collaboration between opaque, independently operated agents**. Google introduced A2A in April 2025, donated it to the Linux Foundation in June 2025, absorbed IBM's Agent Communication Protocol in August 2025, and moved A2A into the **AAIF** in August 2026 under a nine-seat Technical Steering Committee (Google, Microsoft, Cisco, AWS, Salesforce, ServiceNow, SAP, IBM, and Bloomberg).

Stable **`v1.0.0`** shipped in March 2026, followed by **`v1.0.1`** in May 2026 (which prefers `Content-Type: application/a2a+json` on the HTTP binding) and a `v1.1.0-rc` release candidate tagged in October 2026 (release candidate as of December 2026). Every v1.0 client sends `A2A-Version: 1.0` so servers can distinguish v1.0 from legacy 0.3 callers.

A2A's wire contract maps one canonical Protobuf schema (`a2a.proto`, 11 RPCs including `SendMessage`, `SendStreamingMessage`, `GetTask`, `CancelTask`, and push-notification management) across **three official bindings**: JSON-RPC 2.0 (with SSE streaming), gRPC, and HTTP+JSON. Discovery starts at `https://{server_domain}/.well-known/agent-card.json`, returning an optionally JWS-signed **Agent Card** listing skills, security schemes (OAuth 2.0 PKCE/Device Code, OIDC, API keys), supported bindings, and protocol extensions. Work executes as stateful **Tasks** moving through `submitted`, `working`, `input_required` or `auth_required` interrupts, and terminal states, returning durable **Artifacts**.

A2A earns its complexity when crossing an organizational, vendor, or deployment boundary—such as a procurement agent in one company delegating to a supplier's fulfillment agent, or managed runtimes on Google Vertex AI, AWS Bedrock AgentCore, and Azure AI Foundry interoperating. If all subagents live inside one repository and one deployment you control, your framework's native orchestration plus MCP is simpler.

## AG-UI: the runtime event bus for agent frontends

Most production agent apps quickly outgrow plain chat completions: the frontend needs token streaming, live tool-call indicators, reasoning blocks, shared structured state (such as a form or spreadsheet edited jointly by the user and agent), progress bars, subagent activity, and pause-for-approval interrupts. Before 2025, every framework invented its own incompatible SSE JSON format.

The [AG-UI 1.0 specification](https://docs.ag-ui.com/spec/1.0) (created by CopilotKit, MIT-licensed, schema frozen September 17, 2026, and launched September 30, 2026) standardizes that **agent backend ↔ user-facing frontend** connection. A client `POST`s a single JSON `RunAgentInput` (`threadId`, `runId`, `messages`, `tools`, `state`, `context`, and optional `resume` payloads for interrupts) and receives an ordered stream over **HTTP+SSE (`text/event-stream`)**—mandatory for HTTP implementations—or optional length-prefixed **HTTP+Protobuf** (WebSockets and in-process pipes are also permitted).

AG-UI 1.0 defines **31 typed events** in its authoritative JSON Schema across eight families:
- **Lifecycle:** `RUN_STARTED`, `RUN_FINISHED` (with `outcome` supporting normal completion, `interrupt`, or `cancelled`), `RUN_ERROR`, `STEP_STARTED`, `STEP_FINISHED`
- **Text & reasoning:** `TEXT_MESSAGE_*` (`START`, `CONTENT`, `END`, `CHUNK`) and `REASONING_*` (7 events replacing retired 0.x `THINKING_*` names, including `REASONING_ENCRYPTED_VALUE`)
- **Tool calls:** `TOOL_CALL_START`, `TOOL_CALL_ARGS`, `TOOL_CALL_END`, `TOOL_CALL_CHUNK`, `TOOL_CALL_RESULT` (supporting both backend-executed and frontend-executed tools)
- **Shared state & activity:** `STATE_SNAPSHOT`, `STATE_DELTA` (RFC 6902 JSON Patch), `MESSAGES_SNAPSHOT`, `ACTIVITY_SNAPSHOT`, `ACTIVITY_DELTA`
- **Subagents & escape hatches:** `SUBAGENT_STARTED`, `SUBAGENT_FINISHED`, `SUBAGENT_ERROR`, `RAW`, `CUSTOM`

```text
HTTP/1.1 200 OK
Content-Type: text/event-stream

data: {"type":"RUN_STARTED","threadId":"thr-1","runId":"run-1"}

data: {"type":"TOOL_CALL_START","toolCallId":"tc-1","toolCallName":"lookup_order"}

data: {"type":"TOOL_CALL_ARGS","toolCallId":"tc-1","delta":"{\"orderId\":\"42\"}"}

data: {"type":"TOOL_CALL_END","toolCallId":"tc-1"}

data: {"type":"STATE_DELTA","delta":[{"op":"replace","path":"/orderStatus","value":"shipped"}]}

data: {"type":"TEXT_MESSAGE_START","messageId":"msg-1","role":"assistant"}

data: {"type":"TEXT_MESSAGE_CONTENT","messageId":"msg-1","delta":"Order #42 shipped today."}

data: {"type":"TEXT_MESSAGE_END","messageId":"msg-1"}

data: {"type":"RUN_FINISHED","threadId":"thr-1","runId":"run-1"}
```

AG-UI's adoption broadened quickly in 2026: first-party integrations cover [LangGraph](/tools/langgraph), [Google ADK](/tools/google-adk), Microsoft Agent Framework, Pydantic AI, CrewAI, Mastra, AWS Strands, OpenAI Agents SDK, Claude Agent SDK, LlamaIndex, Vercel AI SDK, Cloudflare Agents, and an official A2A bridge—and [Amazon Bedrock AgentCore Runtime](https://aws.amazon.com/about-aws/whats-new/2026/03/amazon-bedrock-agentcore-runtime-ag-ui-protocol/) added native AG-UI support in March 2026. Crucially, AG-UI is **not** a UI component schema; it is the transport bus that carries generative UI payloads like A2UI or MCP Apps.

## A2UI: native declarative UI without executable code

Where MCP Apps sends HTML and JavaScript inside a sandboxed iframe, the [A2UI v1.0 specification](https://a2ui.org/specification/v1.0-a2ui/) (originated at Google, Apache-2.0, moved to `a2ui-project/a2ui`, and marked current stable v1.0 on November 6, 2026) takes the opposite security and UX bet: **never execute untrusted UI code at all**.

An A2UI agent streams transport-agnostic JSON (or JSONL) messages describing a UI surface composed strictly from a **Component Catalog** the client application pre-approved. The client's native renderer maps each component ID to real platform widgets—React (`@a2ui/react`), Lit, Angular, Flutter, SwiftUI (all at v1.0), or Android Jetpack Compose (`androidx.a2ui.compose`, at v0.9.1 as of December 2026)—inheriting the host app's typography, accessibility tree, and design tokens with no WebView or iframe boundary.

A2UI v1.0 defines six Agent → Renderer messages (`createSurface`, `updateComponents`, `updateDataModel`, `deleteSurface`, `callRendererFunction`, `agentFunctionResponse`) and four Renderer → Agent messages (`action`, `callAgentFunction`, `rendererFunctionResponse`, `error`). Rather than streaming deeply nested trees that break mid-generation, components arrive as a flat **adjacency list** bound reactively to a JSON Pointer data model via `@path`, `@call`, and client-side `@checks` validators:

```json
{
  "version": "1.0",
  "createSurface": {
    "surfaceId": "user_profile_card",
    "catalogId": "https://a2ui.org/specification/v1_0/catalogs/basic/catalog.json",
    "sendDataModel": true,
    "components": [
      { "id": "root", "component": "Column", "children": ["user_name", "submit_button"] },
      { "id": "user_name", "component": "Text", "text": { "@path": "/name" } },
      {
        "id": "submit_button",
        "component": "Button",
        "child": "submit_label",
        "action": {
          "event": { "name": "confirm_profile", "context": { "name": { "@path": "/name" } } }
        }
      },
      { "id": "submit_label", "component": "Text", "text": "Confirm" }
    ],
    "dataModel": { "name": "Jane Doe" }
  }
}
```

When the user taps Confirm, the client returns a structured `action` payload with the bound context rather than scraping DOM state. Because A2UI is transport-agnostic, it pairs naturally with **AG-UI** on the web and mobile edge, rides over **A2A** via the official [A2UI A2A extension](https://github.com/a2ui-project/a2ui/blob/main/specification/v1_0/extensions/a2a/docs/a2ui_extension_specification.md) (`https://a2ui.org/a2a-extension/a2ui/v1.0`) so remote agents can project native forms into a host app, and can even mount web MCP Apps inside A2UI surfaces through `@a2ui/catalog-mcp`.

## Where protocols overlap and how to choose

Only three boundaries create genuine architectural choices—everywhere else, the protocols complement each other cleanly.

### MCP Apps vs A2UI for interactive agent UIs

| Criterion | MCP Apps (`io.modelcontextprotocol/ui`) | A2UI (`v1.0`) |
| --- | --- | --- |
| **Who controls the host app?** | Third-party hosts you don't own (Claude, ChatGPT, VS Code, Cursor, M365 Copilot) | Your own web, mobile, or desktop client (React, Angular, Lit, Flutter, SwiftUI, Compose) |
| **What crosses the wire?** | Predeclared `ui://` HTML/CSS/JS bundle | Schema-validated JSON component descriptions + data model |
| **Isolation mechanism** | Sandboxed iframe (single or double proxy) + strict CSP | No code execution; host renders only catalog-approved native widgets |
| **Visual richness vs consistency** | Arbitrary custom web UIs (canvases, charts, maps, media) | Native platform fidelity, theme inheritance, zero WebView overhead |
| **Bridge option** | Runs directly in MCP hosts and AG-UI clients | Web A2UI apps can embed MCP Apps via `@a2ui/catalog-mcp` |

If you are a SaaS vendor shipping an MCP server and want users in Claude Desktop, ChatGPT, and VS Code to see an interactive chart or workflow widget tomorrow, build an **MCP App**. If you are building your own mobile or web copilot and want agents—including remote A2A agents—to render native approval cards and forms that match your design system, pick **A2UI** over **AG-UI**.

### ACP vs A2A for driving another agent

Use **ACP** when a client (an IDE, terminal harness, or local orchestrator) needs fine-grained, turn-by-turn interactive control over a coding agent: streaming thoughts, intercepting permission prompts, reading unsaved editor files, and managing local terminals. Use **A2A** when delegating a self-contained, asynchronous task to an opaque remote agent operated by another team, service, or organization.

### Minimum viable stack by team type

Do not adopt protocols speculatively—each layer adds schema maintenance, auth surface, and debugging hops:

- **Internal developer tools & CLI agents:** Start with **MCP** alone. Add **ACP** only if you are building an editor/harness or distributing a coding agent that should plug into Zed, JetBrains, and Neovim without maintaining per-editor plugins.
- **SaaS vendor exposing product capabilities to AI hosts:** Ship a stateless **`2026-07-28` MCP** server with OAuth 2.1. Add **MCP Apps (`ui://`)** only for tools whose output genuinely needs visual interaction (charts, diffs, forms, media).
- **Team shipping a custom user-facing AI web or mobile app:** Pair **MCP** (backend tools) with **AG-UI 1.0** (frontend event stream and shared state). Add **A2UI v1.0** once your agent needs dynamic forms or cards across React, Flutter, SwiftUI, or Compose without hardcoding every component per tool.
- **Enterprise platform federating agents across org or vendor boundaries:** Add **A2A v1.0** on top of **MCP** (with signed Agent Cards and gRPC or HTTP+JSON bindings), and optionally negotiate the **A2UI A2A extension** if remote agents need to project structured forms back to end users.

Every protocol in this stack is now stable enough to bet on where its boundary actually exists—and thin enough to leave out everywhere it does not.

## Frequently asked questions

### Are MCP, ACP, A2A, AG-UI, and A2UI competing standards?

No. Each standardizes a different edge of an agent system. MCP connects an agent to external tools and data, MCP Apps lets an MCP server return sandboxed HTML UIs inside a host, ACP connects an editor or IDE to a coding agent, A2A connects independently operated agents across trust boundaries, AG-UI streams runtime events between an agent backend and a user-facing frontend, and A2UI defines declarative JSON UI payloads for native client renderers.

### What is the difference between Zed's ACP and IBM's ACP?

Zed and JetBrains' ACP is the Agent Client Protocol (agentclientprotocol.com), an active Apache-2.0 JSON-RPC protocol over stdio that connects code editors and IDEs to coding agents such as Claude, Codex, Gemini CLI, and OpenCode. IBM BeeAI's older Agent Communication Protocol (github.com/i-am-bee/acp) was a REST agent-to-agent messaging protocol that merged into the Linux Foundation's A2A project and was archived in August 2025.

### When should I use MCP Apps vs A2UI for agent interfaces?

Choose MCP Apps (ui://) when an external MCP tool server needs to render a rich, self-contained web view—such as an interactive chart, map, or canvas—inside third-party hosts like Claude, ChatGPT, VS Code, or Cursor without waiting for host-side component catalogs. Choose A2UI when you own the client application (React, Angular, Lit, Flutter, SwiftUI, or Jetpack Compose), want native widgets with zero iframe overhead, and need strict schema guardrails over remote agents.

### Do AG-UI and A2UI replace each other?

No—they stack together directly. AG-UI 1.0 is the runtime event bus (HTTP+SSE or Protobuf) carrying lifecycle events, token streams, tool calls, reasoning, JSON Patch state deltas, and human-in-the-loop interrupts. A2UI v1.0 is a transport-agnostic declarative UI payload format designed to ride over AG-UI, A2A, MCP, or WebSockets.

### What changed in the MCP 2026-07-28 specification?

MCP 2026-07-28 made Streamable HTTP stateless: it removed the initialize handshake, Mcp-Session-Id headers, HTTP GET event streams, and SSE Last-Event-ID resumability, replacing them with server/discover and subscriptions/listen. It also introduced Multi Round-Trip Requests (resultType: input_required) for elicitation, moved Tasks to the io.modelcontextprotocol/tasks extension, and formally deprecated Roots, Sampling, protocol Logging, and OAuth Dynamic Client Registration in favor of Client ID Metadata Documents.

### Which protocols sit under the Linux Foundation's Agentic AI Foundation (AAIF)?

As of December 2026, AAIF hosts MCP (including MCP Apps) and A2A among its ten projects (alongside AGENTS.md, Agent Skills, Goose, agentgateway, Agent Router, Open Responses, OpenEnv, and OpenSandbox). ACP (Zed and JetBrains interim joint governance), AG-UI (CopilotKit, MIT), and A2UI (a2ui-project, Apache-2.0 with Google CLA) sit outside AAIF.

## Sources and further reading

- [Model Context Protocol Specification (2026-07-28)](https://modelcontextprotocol.io/specification/2026-07-28) — Model Context Protocol (AAIF)
- [MCP 2026-07-28 Changelog](https://modelcontextprotocol.io/specification/2026-07-28/changelog) — Model Context Protocol (AAIF)
- [MCP Apps Overview & SEP-1865 Specification (2026-01-26)](https://modelcontextprotocol.io/extensions/apps/overview) — Model Context Protocol (AAIF)
- [MCP Extensions Client Support Matrix](https://modelcontextprotocol.io/extensions/client-matrix) — Model Context Protocol (AAIF)
- [Agent Client Protocol (ACP) v1 Overview](https://agentclientprotocol.com/protocol/v1/overview) — Agent Client Protocol
- [ACP Related Protocols & Disambiguation](https://agentclientprotocol.com/get-started/related-protocols) — Agent Client Protocol
- [ACP v2 Preview Announcement](https://agentclientprotocol.com/announcements/acp-v2-preview) — Agent Client Protocol
- [Zed External Agents (ACP) Documentation](https://zed.dev/docs/ai/external-agents) — Zed Industries
- [JetBrains AI Assistant ACP Documentation](https://www.jetbrains.com/help/ai-assistant/acp.html) — JetBrains
- [A2A Protocol Specification (v1.0)](https://a2a-protocol.org/latest/specification/) — A2A Project, Linux Foundation
- [AAIF Hosted Projects Directory](https://aaif.io/projects) — Agentic AI Foundation
- [AG-UI 1.0 Specification](https://docs.ag-ui.com/spec/1.0) — AG-UI Protocol (CopilotKit)
- [A2UI v1.0 Protocol Specification](https://a2ui.org/specification/v1.0-a2ui/) — A2UI Project
- [A2UI v1.0 A2A Transport Extension Specification](https://github.com/a2ui-project/a2ui/blob/main/specification/v1_0/extensions/a2a/docs/a2ui_extension_specification.md) — A2UI Project

---

_Source: https://agentscamp.com/guides/mcp/agent-protocol-stack-mcp-acp-a2a-ag-ui-a2ui — Guide on AgentsCamp._
