Generative UI is interface an agent composes on the spot. The person can tell agent-built controls from the product's own. The controls reach only what they were allowed to, and their origin is marked.
When to Use It
Agents compose UI at runtime inside your product
Third-party surfaces need sandboxing and a declared contract
Generated interface must be distinguishable from host interface
When Not To
A fixed template would do — generation adds risk without value
You can't sandbox rendering — don't ship what you can't contain
Generated UI would collect input the host never sees
Three views
The exchange between the human, the agent and the system the agent acts on; who holds each part of it; and the component that implements it.
01 · the interaction
02 · who holds what
01SlotThe place on screen where AI-built controls appear
02SandboxThe fence that keeps AI-built controls from reaching anything else
03AllowlistThe parts the AI is allowed to build with
04ProvenanceA mark that says the AI made this control
03 · the component
generative ui · primitives
Slot
Sandbox
Allowlist
Provenance
primitive wireframe, generated from the anatomy — the installable component ships when this
pattern's anatomy stabilizes
Field Notes
FIG. 1 · Generative UI on the record
JUN 8SEP 7NOW
3 NOTES ON GENERATIVE UI IN 26 WEEKS · SCRUB THE WEEKS, CLICK ONE TO PIN IT
Published, annotated field notes attached to Generative UI, by week observed · last 26 weeks · n = 3. Rail markers are lifecycle events from the pattern changelog.Data table
Week of
Notes
OCT 19
ABRA gives each agent its own reusable screen panel
NOV 2
Simon Willison ships a split-panel agent inside Datasette · Interface Quilt adds buttons to live apps without touching their code
The split panel closes the gap between what the agent does and what the human can see. That is the design move. Most agent UIs bury the working view; this one makes it the product.
The agent writes controls into the interface and the human sees the result. No preview, no marking, no visible seam. The trust problem in generated interfaces is the silence around who built what.
The view is bound to the agent that made it. That one design move changes what a human can do: they can see who built the surface before they touch it. Generative-ui without that binding leaves the human with no footing.
Claude Code generates a bespoke web app UI — including a spatial map, QR-code device onboarding, and a 'could tighten position by ~12%' suggestion — purpose-built for a single one-off real-world task.
The agent builds and iteratively modifies a database-backed app in response to natural-language prompts, rendering each version live in an adjacent panel.
Interface Quilt generates new interface overlays (patches) on top of existing applications to modify their presentation and interaction without source code or APIs.
ChatGPT's HTML preview/Canvas feature renders agent-generated interactive HTML apps inside a sandboxed iframe, which is the attack surface exploited here.
The revised agent dynamically shifts its reply style — greeting and affect-reception vs. direct execution — based on inferred user stance, constituting an adaptive response surface.
Chart unlocks as the corpus grows — n = 0 mentions across 0 quarters.
AnthropicMCP Apps / artifacts
OpenAIApps SDK / canvas
Tensions & Failure Modes
Expressiveness vs. safety: the more the agent can render, the more it can misrender
Host coherence: generated UI that ignores host conventions erodes trust
What we are learning from the community
Readers who build with Generative UI add what they found: questions, use cases, critiques, other ways to solve it.
An editor reads each one before it shows here. Nothing here changes the pattern's status on its own.
This pattern has no contributions yet. The form below sends the first one.
The Story So Far
Nov 23, 2026drift: new → too-early (30d sightings 3 → 2)
Oct 24, 2026drift: too-early → new (30d sightings 1 → 1)