Deep Dive · Agent Interfaces

A2UI 1.0: The Agent Decides What to Show, Your App Decides How

Instead of writing a wall of text and asking you to type a reply, an agent sends your app a JSON description of a card, a form or a set of buttons — and your app renders it with its own native components. Google's protocol is a genuine change in the shape of agent answers, and the token economics are the least interesting part of why.

A2UI 1.0 — video thumbnail
Video: Better Stack 8:10 21 November 2026
A2UI generative UI macros MCP apps

💡 The idea 0:00

"Right now, when an agent needs you to pick a date or compare a few options or confirm an action, it writes those choices out in a chat message and waits for you to type your answer back."
Chat replyA2UI reply
Prose that describes a formA JSON description of the form
The user types an answerThe user clicks a native control
Styling is whatever the chat client allowsStyling is your design system, because your app renders it
Ambiguity survives: which option did they mean?A control has one value
The framing "Google just killed the chatbot reply" is a headline, not a finding, but the underlying shift is real: an agent that can hand you a button removes an entire class of failure — the one where you describe what you want and hope the model parsed it. The interesting question is not whether interfaces beat prose, it is who gets to decide what the interface looks like, and that is where this protocol makes a specific choice.

⚙️ How it works 1:09

PieceWhat it does
The protocolThe agent sends a JSON description of components and the data inside them — no HTML, no JavaScript
The catalogYour app registers the components the agent is allowed to use, so the UI stays on brand
The rendererYour app draws those components with its own toolkit — React, Angular, Lit, Flutter, SwiftUI, Jetpack Compose
Data bindingLayout and values are separate, so a single value can update without rebuilding the screen
An open-source projectApache-2.0, about 18,000 stars, started September 2025 and actively developed
The catalog is the whole safety argument, and it is a good one: the agent cannot send code, so a prompt-injected agent has nothing to inject; it can only place and configure components you already agreed to render. That is a much stronger security posture than sandboxing a web app inside a frame — you are not trusting a sandbox to hold, you are refusing to accept the class of input that would break it.
What the catalog does not protect you from: the agent can still put misleading content into a legitimate component. A button labelled "Approve" with an action of "delete everything" is a well-formed A2UI message. Component allow-listing constrains the shape of the interface, not its meaning, so the actions behind controls still need authorisation on the server.

🆕 What 1.0 changed 2:02

ChangeEffect
One message to create a screenDown from three — less round-tripping before anything appears
Callable functions in both directionsThe agent and the app can invoke each other, rather than only exchanging data
Structured errorsIf the agent uses a component the catalog does not allow, it gets an error code and can correct its own answer
A compact format — A2UI ExpressA shorter syntax the model writes instead of full JSON
MacrosPython functions on your server that expand into full components after the model finishes
SDKsTypeScript, Dart and Python, generating skills for your agent framework and correcting messages
The structured-error change is the one that matters most for reliability, and it is easy to skip past: an agent that receives a machine-readable complaint about its own output can fix it in the next turn without a human noticing. That is the same self-correction loop good agent harnesses build for tool calls, applied to interface generation — and it is why the protocol can afford to be strict.

🧩 Macros and the token trick 2:24

StageWhat happensSize in the demo
The model writesA short A2UI Express statement, mostly two macro calls with an incident IDAbout 170 characters
The server expandsMacros are Python functions that build the full component tree and bind the dataAlmost 6,000 characters of A2UI JSON
The apps receiveComplete cards, ready to render natively—
"You only pay for the short express version the model writes, and the server does the heavy lifting of expanding it into the full JSON that the apps need."
A 35× reduction in model output is a nice number and a misleading headline, because the saving is not really about tokens. It is about determinism: when the layout comes from a macro rather than from generation, the card looks identical every single time, and the model's job shrinks to choosing which macro to call and with what identifier. You have replaced a generative problem with a selection problem — which is also why Google's own post notes that a decision model can pick components instead of writing text at all.
The trade is explicit: a macro is fixed. The moment you want a layout that varies per incident, you are back to generating it, and the token saving disappears. Macros buy consistency and cheapness for the common case; they do not remove the generative path, they just make most requests avoid it.

🔐 The data never reaches the model 5:38

The model seesThe apps see
A list of incident IDs and titlesError rates, user counts, log lines
Which card to buildThe actual numbers, bound by the server
Nothing sensitiveEverything needed to render
This is the argument that will actually get A2UI adopted inside companies, and the video is right to spend time on it. It is not only about prompt-injection or leakage to a provider — it is that the model never has to be trusted with the data in the first place, so the compliance conversation gets shorter. Server-side binding means the sensitive values flow from your database to your client, and the agent only orchestrates the shape.

🛠 Setting it up 2:42

SideSteps
AgentInstall the agent SDK, pick a catalog (the basic one ships with the project), use the prompt snippet the SDK generates to teach the model the syntax
TransportWhatever you already have — server-sent events or a WebSocket — the SDK parses the stream into A2UI messages
AppInstall the renderer for your platform, create a message processor with the same catalog, drop a surface component into your UI
InteractionA button press hands you an action; you send it back to the agent
OptionalWrite your own macros as decorated Python functions
"Use the prompt snippet the SDK generates" is the design detail that makes this practical: the model has to be taught a syntax, and shipping that teaching as a generated prompt means the protocol can evolve without every developer rewriting their system prompt. The project's quickstart is even shorter — a single npx command adds the skills to an agent.

🖥 The incident-manager demo 3:45

StepWhat happens
SetupA SwiftUI iPhone app, a React web app, and an incident dashboard — both clients connected to one Python agent running on Gemini
Neither client knows anything about incidentsBoth only know the basic A2UI components; there is no incident-specific code in either app
An incident is createdA full card appears on the phone and in the browser at the same moment, pushed through the pipeline without a model call
Severity lowered and acknowledged in the browserThe picker is bound to the A2UI data model, so the chosen value travels back inside the action
The server actsAcknowledges via the API, updates severity, pushes a small data update — the phone card changes at the same instant
"Investigate" on the phoneThe agent answers with the same card plus the latest log lines, written in 170 characters of Express
Resolve from the phoneBrowser and dashboard update immediately
The most impressive moment is the one with no model in it: an incident arrives and the card is pushed to both clients by ordinary server code, because the layout is data and nothing needs generating. That is the difference between a generative UI protocol and an LLM feature — the same pipeline carries deterministic notifications and agent-authored screens, and you only pay for the second when you actually need it.

🎨 One CSS file, one Swift file 6:09

SurfaceWhat it took to style
WebOne CSS file
iOSOne Swift file
AgentUntouched
LimitationThe basic components cannot be coloured individually, so every status icon shares one colour
"I didn't touch the agent to style it" is the sentence to remember, because it is the promise that separates this from previous generative-UI attempts: appearance belongs to the client entirely, and the same A2UI message renders correctly in two ecosystems with no coordination. The colour limitation is a small reminder that a constrained component set is what makes that possible — the more freedom the catalog gives the agent, the more your apps have to support.

🔀 A2UI versus MCP apps 6:30

MCP appsA2UI
What travelsA whole web app, rendered in a sandboxed frame inside the assistantA description of the interface; the host renders it natively
Who controls the lookThe app being embeddedThe host application
Security modelTrust the sandboxCode is never accepted; only registered components
TogetherThe two can coexist — Google's framing is that the same experience should work in your own app and in a third-party assistant that hosts MCP apps
This is the cleanest comparison in the video and it is worth keeping: MCP apps answer "how does my app appear inside someone else's assistant", A2UI answers "how does an agent compose an interface inside my own app". One is a distribution strategy, the other is a rendering contract — and a product can reasonably want both, with MCP for reach and A2UI for the surfaces it owns.

🚧 Limits and maturity 7:13

LimitationDetail
Renderer versions differHe says the Android renderer is still on 0.9 — expect rough edges on the platform that lags
Docs still catching upTypical of a protocol at 1.0
Basic components are limitedCard, text, button and friends; a genuinely custom look needs a custom catalog
The protocol itself is stableHis assessment, supported by the 1.0 release and the versioned format
The honest summary is that this is a protocol at its first stable version with an ecosystem still filling in, which is exactly when the cost of adopting is low and the risk of a breaking change is real. His advice — hook it up and try it — is right for a team building agent features into a product, and wrong for anyone who needs a fully supported custom design system today, because the catalog is where the design system has to live and the catalog is the part you write.

🏢 Who is adopting it 0:00

AdopterWhat they are doing
AtlassianBringing A2UI to Jira, so teams can assign work items to AI agents
ByteDanceTheir Lynx engineering lead is quoted on separating how a model produces an interface from how an app renders it, and on using decision models to pick components
Google CloudListed among the teams building with it
RenderersReact, Angular and Lit, Flutter, SwiftUI and Jetpack Compose, plus community renderers
The ByteDance quote is the one worth reading twice: it points at using a decision model to choose components and values instead of writing text, with the SDK building the screen and a native renderer drawing it. That is the same argument this site covered in the Gemini Decisions API — a model that returns a choice rather than prose — arriving at the interface layer. If that path works, the token story becomes almost irrelevant, because the expensive generation disappears entirely for routine screens.

✅ Claims checked

ClaimVerdictEvidence
Google released A2UI 1.0, an open-source protocolCorrectAnnounced 11 November 2026 on Google's developer blog; Apache-2.0 repository
The agent sends a JSON description, not HTML or JavaScriptCorrectThe protocol carries components and data; the host renders them
Apps render with their own components in React, SwiftUI, Flutter, KotlinCorrectReact, Angular, Lit, Flutter, SwiftUI, Jetpack Compose, plus community renderers
The agent can only use components registered in a catalogCorrectThe catalog is the allow-list; it is why the UI stays on brand
A prompt-injected agent cannot put a script on your pageCorrect by constructionCode is never part of the input the host accepts
Data and layout are separate, so single values update without rebuildingCorrectDemonstrated by the severity change propagating to both clients
1.0 creates a screen in one message instead of threeConsistent with the releaseReported by the reviewer; the surface-creation message is documented
The agent and app can call functions on each otherCorrect — confirmed in the v1.0 specificationBidirectional function RPC: callRendererFunction, callAgentFunction and both response messages
Invalid component use returns an error code the agent can correct fromCorrect in substanceGoogle's post describes SDKs "correcting errors"
A2UI Express is a compact format and macros expand it server-sideCorrectGoogle's post: Python macros add component expansion and data binding
The demo's model wrote ~170 characters and the server expanded to ~6,000His measurementConsistent with two macro calls plus an identifier
The model never sees error rates, user counts or logsCorrect by designGoogle: sensitive values are bound on the server and never reach the model
SDKs exist for agent frameworksCorrectTypeScript, Dart and Python SDKs
Only one CSS file and one Swift file were needed to style itDemonstratedThe agent was not modified for styling
The Android renderer is on 0.9His claim; renderers ship at different ratesThe 0.9 reference on Google's post concerns ByteDance's Lynx, not Compose
MCP apps embed a sandboxed web app; A2UI sends only a descriptionCorrectAnd Google frames the two as complementary
Atlassian is bringing it to JiraCorrectNamed in the announcement

Basis note. Built from the full 8:10 video and checked against Google's 1.0 announcement, the project site and the repository metadata (Apache-2.0, about 18,000 stars, created September 2025). The video is from Better Stack, which uses its own product as the demo backend; the demo is a legitimate end-to-end test rather than a feature pitch, but the incident-manager framing is their product. The observations about what the catalog does and does not protect, and the macro-versus-generation trade-off, are this article's.

🔑 Key takeaways

  • An interface is a better answer than prose for anything with choices. A button cannot be misparsed.
  • Only a description travels, never code, so a prompt-injected agent has nothing to inject — a stronger guarantee than a sandbox.
  • The catalog is the product decision. Agents can only place components you registered, which is what keeps the UI on brand.
  • But a well-formed message can still mislead: correct components with wrong meaning need server-side authorisation on the action.
  • Data binding is the adoption argument: sensitive values are bound server-side and never reach the model.
  • Structured errors let the agent fix its own output, which is what makes a strict protocol practical.
  • Macros cut a 6,000-character payload to 170 — but the real win is determinism, not tokens.
  • A macro is fixed. The moment a layout has to vary per case, you are generating again and the saving is gone.
  • The pipeline carries non-LLM updates too: an incident card was pushed with no model call at all.
  • Styling stays entirely client-side: one CSS file, one Swift file, agent untouched.
  • MCP apps and A2UI answer different questions: how my app appears in your assistant, versus how an agent builds an interface in mine.
  • Renderer parity lags the protocol, so check your platform's version before committing a design system to it.
  • The endgame is decision models, not generation: pick components and values instead of writing text.

🔗 Resources

  • The video — Better Stack, 8:10
  • a2ui.org — docs, catalogs, playground and roadmap
  • a2ui-project/a2ui — Apache-2.0, SDKs and renderers
  • The 1.0 announcement — macros, SDKs and early adopters
  • This site's deep dive on the Gemini Decisions API, for the "system one" model path that ByteDance's engineer points at
Basis note. The video demo uses the publisher's own product as the incident backend; that is disclosed rather than treated as neutral. Protocol details were checked against Google's announcement and the project repository; where the video describes behaviour not visible in those pages, it is marked as video-only.

⏱ Timestamp index

0:00A real interface instead of text
0:10The problem with writing choices in chat
0:21The agent sends a description, the app draws it
0:39Why this matters for product builders
1:09A2UI as an open protocol
1:24JSON, not HTML or JavaScript
1:37The catalog and on-brand rendering
1:47No code means nothing to inject
1:59Data separated from layout
2:02What 1.0 simplifies and tightens
2:14Callable functions both ways
2:19Error codes the agent can recover from
2:24Express and macros
2:42Agent-side setup
3:05Streaming messages to the app
3:15App-side renderer and processor
3:33Actions travelling back
3:45The three-surface demo
4:07Neither app knows about incidents
4:16A card appears on both clients
4:25Pushed without a model call
4:31Lowering severity in the browser
4:43The server acknowledges and updates
5:04Investigate from the phone
5:15170 characters become 6,000
5:38The model never sees the numbers
5:57Resolving from the phone
6:09One CSS file, one Swift file
6:24Basic components can't be coloured individually
6:30A2UI versus MCP apps
6:40Sandboxed frame versus description
6:52Is A2UI worth it
7:13Early release, Android renderer behind
7:27The protocol is stable now
7:36Hook it up and try it
☰ View all