A2UI: open-source framework for agent-generated user interfaces
A2UI (Agent-to-User Interface) is an open-source generative UI framework from the a2ui-project repository on GitHub. It includes a protocol for streaming dynamic user interfaces at low latency, native renderers for web and mobile frameworks, and agent SDKs in several popular languages. With A2UI, agents can send natively rendered widgets to users in addition to text.
The README says A2UI expresses UI as data rather than code, and a schema for that data limits what the agent can do. Large language models (LLM)[1] and decision models generate the data, and a core library, a framework adapter and a widget catalog turn it into interface elements. Renderers are listed for React, Angular, Lit, Flutter, SwiftUI and Jetpack Compose.
The README recommends A2UI for applications where parts are driven by agents or servers, or where the agent is remote or third-party. It also says the agent must not handle certain data, such as credit card numbers or personal data (PII)[2]. The framework renders UI with the host app's own framework and states that WebViews[3] or HTML are not required.
Sources
-
GitHub Trending
a2ui-project/a2ui




