跪拜 Guibai
← All articles
AI Programming

A2UI 1.0 Standardizes Agent-Drawn Native UI Across Six Platforms

By Carson带你学Android ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

A2UI moves agent-driven UI from ad-hoc HTML or bespoke protocols to a single, validated contract, giving Western developers a way to ship agent interfaces natively without rebuilding per platform or trusting raw generated code.

Summary

A2UI 1.0, the first stable version of Google's Agent-to-User Interface protocol, formalizes how AI agents hand UI off to native apps. Instead of generating HTML or running code in a WebView, an agent writes a compact Express DSL, the server-side SDK compiles and validates it against a catalog, and the client renders it with native components. The protocol ships with official renderers for React, Angular, Lit, Flutter, SwiftUI, and a near-final Jetpack Compose renderer, plus 22 community ones covering Vue, React Native, Svelte, and more.

The security model is the most notable piece. Agents can only pick from a developer-defined catalog of components, and every output is schema-validated server-side, so no arbitrary code or unexpected UI can slip through. Two-way communication also cuts interaction latency: components can query availability immediately rather than waiting for the next agent turn. Big adopters like Atlassian, Alation, Bloomberg, ByteDance, and Google's own Gemini Notebook are already using it.

Compromises still exist. The official Compose renderer remains at v0.9.1, the component library is thin for complex business flows, and there are no official performance benchmarks. A2UI is a full-stack protocol requiring server-side Agent SDK deployment, so it's not a drop-in client library. The protocol standardizes the contract between agents and apps; maturity on each platform is still catching up.

Takeaways
— A2UI 1.0 is the first stable version of Google's Agent-to-User Interface protocol, released as an open standard.
— Agents describe UI via a compact Express DSL, which the server-side SDK compiles into validated JSON messages.
— The protocol defines four message types: createSurface, updateComponents, updateDataModel, and action.
— A2UI offers six official renderers: React, Angular, Lit, Flutter, SwiftUI, and Jetpack Compose (still v0.9.1).
— 22 community renderers exist, including Vue, React Native, Svelte, Lynx, and even terminal CLI implementations.
— The Catalog restricts agents to pre-registered components, and the compiler validates every output against the catalog schema.
— v1.0 adds two-way function calls, accessibility support, extension metadata, and MCP Apps integration.
— Atlassian, Alation, Bloomberg, ByteDance, and Google's Gemini Notebook are among the early adopters.
— The official Compose renderer is still at v0.9.1; the community uny/a2ui-compose supports v1.0.
— A2UI requires server-side deployment of the Agent SDK (Python/TypeScript) and is a full-stack protocol, not a client-side-only solution.
Conclusions

Catalog-based safety flips the usual approach: instead of trying to constrain a powerful LLM, it constrains the output vocabulary beforehand, making validation deterministic and cheap.

The author's own comparison table shows A2UI's niche is genuinely the middle ground—it has native performance and security, but it still needs server-side infrastructure, which plain text and WebView do not require.

Google's heavy use of A2UI inside Gemini Notebook is a stronger adoption signal than the existence of the spec itself; a protocol without internal backing rarely survives.

The lack of official performance benchmarks and a still-0.9.1 Compose renderer suggest the protocol is standardized but the tooling around it is not yet production-ready on every target platform.

Concepts & terms
A2UI (Agent-to-User Interface)
An open protocol that defines how an AI agent describes UI to an app: the agent outputs a structured description, and the app renders it using its own native components.
Express DSL
A compact, human-readable syntax agents use to write UI descriptions without emitting verbose JSON. It supports data binding via `$` prefixes and user actions via `Event(...)`.
Catalog
A JSON file developers maintain that lists the components an agent is allowed to use. The server-side SDK turns it into a Skill and validates all agent output against it, preventing arbitrary or unsafe UI.
Renderer
A client-side implementation that consumes A2UI JSON messages and draws them using a specific framework's native components, such as React, Flutter, or Jetpack Compose.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗