A2UI lets agents send layout data over a streaming protocol while client apps draw the UI with native widgets in major web and mobile frameworks.
Overview
A2UI (Agent-to-User Interface) is a generative UI framework for agentic applications. Agents describe interfaces as validated data instead of executable code, and host applications render those descriptions with native components. The design targets low-latency streaming, progressive updates, and consistent experiences across platforms.
The stack spans inference, transport, and rendering. Agent SDKs help models produce UI descriptions in supported inference formats. Messages follow a wire-stable transport protocol with schema validation. Renderers combine a core library, a framework adapter, and a widget catalog so only approved components can appear in the final UI.
Supported renderers cover React, Angular, Lit, Flutter, SwiftUI, Jetpack Compose, and related ecosystems. Agent SDKs exist for several popular languages, and packages ship for Python, TypeScript, Dart, and Swift. An browser-based Composer can generate A2UI JSON without a local install, and a CLI supports build-stage validation and codegen.
Typical fits include server- or agent-driven flows, dynamically composed screens, cross-platform streaming from one agent, and cases where remote agents must stay inside strict capability boundaries. UI is expressed through catalogs and schemas so hosts control styling, registered components, and what data agents may touch.
Tooling on the roadmap spans build, evaluate, distribute, and monitor stages, including eval suites, MCP App embedding, and user-action feedback from renderers back to agents.
Key features
- Streaming protocol for dynamic UI
- Schema-validated UI as data
- Native renderers for major frameworks
- Multi-language agent SDKs
- Composable widget catalogs
- Browser Composer for A2UI JSON
- CLI for schema validation and codegen
- MCP App and catalog integration
Use cases
- Agent-built multi-step user flows
- Cross-platform UI from one agent stream
- Trust-boundary remote agent UIs
- Server-driven personalized screens
- High-fidelity native agent widgets