---
type: Glossary Term
title: "Generative UI"
description: "Generative UI (Step 8 · Present) is the protocol pattern in which an agent streams or returns structured, interactive user-interface surfaces—forms, seat pickers, approval cards, charts, or sandboxed web views—instead of plain Markdown prose."
resource: "https://agenticweb.wiki/terms/generative-ui/"
tags: ["glossary", "present"]
status: stable
generated: { by: agenticweb-builder/1.0, at: 2026-11-29T00:00:00Z }
verified: { by: process:agenticweb-engine, at: 2026-11-12T00:00:00Z }
stale_after: 2026-12-12T00:00:00Z
sources:
  - id: ref-1
    resource: "https://a2ui.org/specification/v1.0-a2ui/"
    last_modified: 2026-11-11T00:00:00Z
  - id: ref-2
    resource: "https://docs.ag-ui.com/concepts/generative-ui-specs"
    last_modified: 2026-11-12T00:00:00Z
  - id: ref-3
    resource: "https://modelcontextprotocol.io/seps/1865-mcp-apps-interactive-user-interfaces-for-mcp"
    last_modified: 2026-11-11T00:00:00Z
---

# Generative UI

**Generative UI** (`Step 8 · Present`) is the protocol pattern in which an agent streams or returns structured, interactive user-interface surfaces—forms, seat pickers, approval cards, charts, or sandboxed web views—instead of plain Markdown prose.

Three complementary Flagship specifications standardize how agent-generated UI crosses trust boundaries without allowing arbitrary XSS script injection into the host application:
1. **[A2UI](/protocols/a2ui/) (`a2ui.org`, `v1.0` Current released 11 November 2026):** Streams declarative JSON adjacency-list component envelopes (`createSurface`, `updateComponents`, `updateDataModel`, `deleteSurface`—replacing legacy `v0.8` `surfaceUpdate` / `dataModelUpdate`, with `v0.9.1` now Closed as a transitional mobile baseline) that the client renders natively using its own trusted widget catalog (React, Lit, Angular, Flutter, SwiftUI).
2. **[AG-UI](/protocols/ag-ui/) (`docs.ag-ui.com`):** Defines the bidirectional event stream (`TEXT_MESSAGE_*`, `TOOL_CALL_*`, `STATE_DELTA` JSON Patch, `INTERRUPT`) synchronizing frontend UI state with backend agent runs.
3. **[MCP Apps](/protocols/mcp-apps/) (`SEP-1865` / `ext-apps`):** Attaches `ui://` HTML/JS bundles to MCP tools, rendered inside a sandboxed iframe communicating over JSON-RPC `postMessage`.

**Protocol contrast:** Choose **A2UI** when native host styling and strict non-HTML widget catalogs are required, **MCP Apps** when packaging rich self-contained web views alongside MCP tools, and **AG-UI** as the streaming transport carrying state deltas and human-in-the-loop interrupts between backend agents and frontends.

# Knowledge Graph

* **Related standards**: [A2UI (Agent to UI) Protocol](/okf/protocols/a2ui.md), [Agent-User Interaction Protocol (AG-UI)](/okf/protocols/ag-ui.md), [MCP Apps](/okf/protocols/mcp-apps.md)
