by a2ui-project
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.
# Add to your Claude Code skills
git clone https://github.com/a2ui-project/a2uia2ui is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by a2ui-project. 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. It has 19,152 GitHub stars.
a2ui's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/a2ui-project/a2ui" and add it to your Claude Code skills directory (see the Installation section above).
a2ui is primarily written in TypeScript. It is open-source under a2ui-project on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh a2ui against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Build delightful, fast, reliable agentic experiences
A2UI (Agent-to-User Interface) is an open-source generative UI framework, complete with a protocol optimized for streaming dynamic user interfaces at low latency, native renderers for web and mobile frameworks, and agent SDKs in several popular languages. With A2UI, your agents can communicate with your users using natively rendered widgets, in addition to text.
Examples of UI compositions that A2UI can express.
Large language models (LLMs) and decision models (e.g. Jev) excel at creating text and code and at making fast decisions on top of raw structured data (e.g. JSON). A2UI gives these models a specialized vocabulary for expressing user interfaces.
A2UI expresses UI using data, not code. A schema for the data exchanged between the agent and the renderer enforces strict capability boundaries for the agent, keeping agent-generated experiences safe and aligned with the business requirements of your application. A core library, a native framework adapter, and a catalog of components provide access to native components and form the building blocks that the agent composes into a final user experience, making the result expressive and high-performance.
Use A2UI when any of the following apply to your application:
We develop A2UI under the guidance of the following core principles:
A2UI's architecture is made of multiple layers spanning the full stack that connects the agent to the application:
@a2ui/web_core npm package, or a2ui_core Dart package), a UI framework
adapter (e.g. @a2ui/react React adapter, or a2ui_flutter Flutter
adapter), and a widget catalog. The core library parses the incoming
messages and creates a framework-agnostic in-memory representation of the UI
and data. The framework adapter maps the in-memory representation to concrete
framework-specific UI widgets. The widget catalog provides access to the
widgets the agent is allowed to compose.Pick the path that matches where you want to start:
| Path | What you get | Time |
|---|---|---|
| 🍜 Quickstart | A full-stack A2UI app with a backend and frontend. Learn A2UI end-to-end and customize to your use case. | ~5 min |
| 🎨 A2UI Composer | Generate A2UI JSON from a visual editor and paste it into any agent prompt, with no install required. | ~1 min |
| 🎬 A2UI Theater | Step through pre-built A2UI streaming scenarios across Lit, React, and Angular renderers, with no install required. | ~1 min |
These packages are developed in this repository. Packages marked "Not published yet" can be used from source.
| Package | Description | Version |
|---|---|---|
| a2ui-core | Protocol messages, data model, data binding, expression evaluation, and catalog validation. | |
| a2ui-agent-sdk | Agent SDK: negotiates catalogs, generates prompts and skills, and compiles model output into A2UI. | |
| a2ui-a2a | Connects the agent SDK to the Agent-to-Agent (A2A) protocol. | |
| a2ui-adk | Connects the agent SDK to the Agent Development Kit (ADK). |
| Package | Description | Version |
|---|---|---|
| @a2ui/web_core | Protocol messages, state management, expressions, and basic catalog shared by renderers and @a2ui/agent. |
|
| @a2ui/lit | Lit (web components) renderer. | |
| @a2ui/angular | Angular renderer. | |
| @a2ui/react | React renderer. | |
| @a2ui/markdown-it | Markdown rendering with markdown-it and DOMPurify, shared by the we |