On November 11, 2026, Google officially launched A2UI 1.0 (Agent-to-User Interface) to General Availability. A2UI is an open-source, framework-agnostic protocol that solves the single biggest bottleneck in generative AI user experience: breaking free from walls of markdown text without resorting to dangerous, unstyled client-side code execution or clunky iframes. Agents stream declarative JSON blueprints that native renderers compile directly into accessible, production-grade components across React, Flutter, Angular, SwiftUI, and Jetpack Compose.
For the past three years, developers building AI agents have been caught between two unsatisfactory compromises:
<iframe> or client-side eval(). This creates catastrophic security vulnerabilities (XSS, credential exfiltration), produces visually jarring widgets that clash with the host app's design system, and completely breaks accessibility and state synchronization.A2UI 1.0 eliminates this false dichotomy. Instead of executable code, the agent outputs a lightweight declarative tree describing semantic components (e.g., Card, Button, DataGrid, Switch, Metric). The host application’s pre-compiled renderer SDK validates the tree against a strict schema and maps each node directly to the app’s own native design tokens.
| Architecture Layer | Legacy Approach (Iframe / Eval / Text) | A2UI 1.0 GA Specification | Production Developer Benefit |
|---|---|---|---|
| Execution Model | Arbitrary JS code execution or static Markdown | Pure declarative JSON blueprint | 100% zero-eval security posture; passes enterprise SOC2/ISO audits |
| Styling & Tokens | Isolated iframe stylesheets or unstyled HTML tags | Maps to host design system (Tailwind, Material 3, iOS HIG) | Perfect visual cohesion with zero styling drift across dark and light modes |
| Cross-Platform | Web-only (HTML/DOM) | Universal protocol: Web, Flutter, iOS SwiftUI, Android Compose | One agent backend drives native experiences across every client surface |
| Bidirectional Loop | Full conversational turn required to handle button click | Typed RPC messages: callRendererFunction & callAgentFunction |
Instant form validation, toggle states, and targeted multi-turn interactions |
| Streaming Latency | Large JSON payload overhead causes slow UI emergence | A2UI Express compressed intermediate token stream | Up to 64% token reduction; instantaneous interactive surface delivery |
| Data Privacy | Sensitive state values echoed inside prompt context | Secure data-binding references (dataBindings) |
Sensitive enterprise database fields never touch LLM context windows |
When an agent running on Gemini (via Google Gen AI SDK v3.1.0 or Interactions API) needs to display an interface, it invokes the A2UI protocol:
// Sample A2UI 1.0 Declarative Surface Blueprint
{
"$schema": "https://a2ui.org/specification/v1.0/schema.json",
"surfaceId": "expense-approval-4820",
"catalogId": "corp.finance.approval@1.0",
"layout": {
"type": "ApprovalCard",
"props": {
"title": "Production Cloud GPU Reservation",
"amount": "$4,850.00 / mo",
"requester": "Autonomous Infra Agent",
"status": "pending_approval",
"riskScore": "Low (Under allocated quarterly budget)"
},
"children": [
{
"type": "DataTable",
"props": {
"columns": ["Instance Type", "Count", "Region", "Hourly Rate"],
"rows": [["g2-standard-48", "4", "us-central1", "$1.68/hr"]]
}
},
{
"type": "ButtonGroup",
"props": {
"align": "right",
"buttons": [
{
"label": "Reject",
"variant": "outline",
"action": {
"type": "callAgentFunction",
"functionName": "rejectReservation",
"params": { "id": "res-9012" }
}
},
{
"label": "Approve & Provision",
"variant": "primary",
"action": {
"type": "callAgentFunction",
"functionName": "approveReservation",
"params": { "id": "res-9012" }
}
}
]
}
}
]
}
}
Because the client application controls the renderer component registry, an agent cannot render arbitrary DOM elements or execute script tags. If an adversarial prompt injection attempts to emit <script>stealCookies()</script>, the A2UI parser rejects the unrecognized node at parse time. The worst an attacker can do is ask the client to render an existing, sanitized component with altered text props.
In Part 2, we dive deep into the developer and enterprise impact—analyzing how A2UI Express compresses token costs, how engineering teams build custom component catalogs, and how bidirectional RPC eliminates latency. In Part 3, we provide production implementation code for React 19, Flutter, and the Python Gen AI SDK.