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.
- a2a
- a2ui
- agent
- angular
- flutter
- generative-ui
- jetpack-compose
- lit
- llm
- mcp
- react
- swiftui
- Stars
- 17,209
- Forks
- 1,394
- + today
- +2
- Created
- 1y
Ranking data as of November 24, 2026 (UTC).
Star History
Today, hour by hour
Overview
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 ranks #3891 on GitTiger, gaining +2 stars on November 24, 2026 (UTC).
The project is written in TypeScript and has 1,394 forks. It was created 1y ago.
What it is
A2UI is an open-source framework for generative interfaces: an agent sends structured layout data and the client draws it with native components instead of HTML produced by a model. It is TypeScript and Apache-2.0, with topics that connect it to A2A and MCP.
Capabilities it describes
The description names six renderers, React, Angular, Lit, Flutter, SwiftUI and Jetpack Compose, which is the interesting part: the same stream from an agent is meant to become platform-native UI on web, mobile and desktop. The README preview points at a project site, a browser-based A2UI Composer for trying the format, a list of supported renderers, a list of supported agents, and a protocol specification. That specification is the real deliverable for anyone implementing a client, since the value depends on the wire format being stable.
Getting started
The evidence does not include package names, install commands or a version number. Start with the README and the protocol spec, and use the Composer to see the data shape before writing a renderer.
What to check
The evidence does not state how mature each renderer is or whether they reach feature parity.
git clone https://github.com/a2ui-project/a2ui.git
cd a2ui
# see README for setupFrequently Asked Questions
Which platforms have renderers?
React, Angular and Lit for the web, Flutter for mobile, and SwiftUI plus Jetpack Compose for Apple and Android native apps.
How is this different from asking a model for HTML?
The agent streams layout data in a defined format and the app maps it onto its own native components, so the model does not emit markup directly. The protocol specification in the repository describes the format.
Is there a way to try it quickly?
The README preview mentions A2UI Composer, which runs in the browser, plus a main project website.