Reverse engineer anything with agents, from app behavior down to native binaries.
A2ui
Open-source generative UI framework: agents stream layout data, and apps render it with native components in React, Angular, Lit, Flutter, SwiftUI and Jetpack Compose.
Install: brew install corepack
Install
brew install corepackInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →A2UI: Agent-to-User Interface
A2UI is an open-source generative UI framework, complete with a format optimized for representing updatable agent-generated UIs and an initial set of renderers, that allows agents to generate or populate rich user interfaces.
A gallery of A2UI rendered cards, showing a variety of UI compositions that A2UI can achieve.
Summary
Generative AI excels at creating text and code, but agents can struggle to present rich, interactive interfaces to users, especially when those agents are remote or running across trust boundaries.
A2UI is an open standard and set of libraries that allows agents to "speak UI." Agents send a declarative JSON format describing the intent of the UI. The client application then renders this using its own native component library (Flutter, Angular, Lit, etc.).
This approach ensures that agent-generated UIs are safe like data, but expressive like code.
When to use A2UI
- Use A2UI when you need agent-generated UI on Flutter, Angular, SwiftUI / Jetpack Compose, or more than one platform from the same agent.
- Use A2UI when the agent is remote, third-party, or across a trust boundary and must not send executable code to your renderer.
- Use A2UI on Flutter with
a2ui_flutter:flutter pub add a2ui_flutter a2ui_core. It replaces thegenuipackage. - You may not need A2UI for a React-only chat that renders tool results as your own components; an LLM toolkit alone may be enough. A2UI fits once you add platforms or remote agents.
Install the renderer for your framework, for example npm install @a2ui/react
(or @a2ui/angular, @a2ui/lit). It depends on @a2ui/web_core; add
@a2ui/web_core explicitly too if your app imports from it directly (e.g. the
message processor or basic catalog). See the
Client Setup guide for each platform.
High-level philosophy
A2UI was designed to address the specific challenges of interoperable, cross-platform, generative or template-based UI responses from agents.
The project's core philosophies:
Similar plugs
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)