TopGit
GitHub Repo Review

A2UI generative UI framework for native agent apps

google/A2UI
ATopGit review image for google/A2UI
Review by Topgit.dev for google/A2UI, with GitHub repository stats and README context.
Quick verdict

Use A2UI when an agent must generate app UI across multiple native clients or operate across a trust boundary. A2UI is a generative UI framework that exchanges validated interface data through the A2UI protocol, then maps it to native widgets through framework adapters; it gives up arbitrary model-generated code for explicit capability boundaries. Checked 2026-11-27: Apache-2.0, last push 2026-11-26.

Stars
★ 18.8k
Forks
⑂ 1.5k
Contributors
👥 118
Language
TypeScript
License
Apache-2.0
Topic
Mobile
Updated
Nov 2026
Homepage
GitHub

Streaming, Security, and Native Rendering

  • ✓A2UI transports interface descriptions as validated data. Its agent SDK parses model output, expands macros, and turns it into wire-stable protocol messages that renderers can consume progressively.
  • ✓A2UI limits agent behavior through schema validation, catalog negotiation, and explicit capability grants. The design prevents a remote agent from receiving unrestricted access to sensitive data or executable application logic.
  • ✓A2UI renderers map a shared in-memory UI model to native widgets rather than HTML or WebViews. The documented targets include React, Angular and Lit on the web, plus Flutter, SwiftUI and Jetpack Compose for mobile clients.
  • ✓The A2UI architecture separates inference, transport, and rendering. Agent SDKs handle prompts, skills, validation, and protocol conversion; core packages parse state and expressions; adapters and catalogs complete the native presentation.
  • ✓A2UI agent SDKs support catalog negotiation and model-output compilation in Python, TypeScript and Dart, giving teams a shared protocol with implementation choices suited to their agent stack.
  • ✓A2UI includes an evaluation suite with schema checks, assertions and an LLM judge. This gives teams a starting point for assessing generated interface quality rather than relying only on visual inspection.
How this repository's GitHub stars have grown over time. Source: star-history.com.View the star history ↗

When to Use A2UI

  • •Use A2UI when one agent must deliver the same agentic UI concept to several platforms. The shared protocol and separate native adapters make this a better fit than maintaining a custom JSON contract for every client.
  • •Choose A2UI when a remote or third-party agent crosses a trust boundary. Validated interface data and a developer-approved component catalog offer a clearer boundary than allowing the model to submit executable code.
  • •A2UI fits products that need the agent to assemble a task-specific flow dynamically. Instead of forcing users through fixed application screens, the agent can request the controls needed for the current step.
  • •Use A2UI for server-driven applications whose interface changes in response to conversation context. Progressive message delivery supports streaming interface updates as the agent revises its plan.
  • •A2UI is appropriate when visual fidelity matters and the host app should keep its existing framework. Native rendering avoids requiring a WebView or an HTML-based presentation layer.

Packages and Getting Started

The README points developers to the Quickstart for a full-stack application, A2UI Composer for creating interface JSON without installation, and A2UI Theater for inspecting streaming examples. Package-level choices include a2ui-core and a2ui-agent in Python, @a2ui/web_core, @a2ui/agent and renderer adapters in TypeScript, a2ui_core, a2ui_agent and a2ui_flutter in Dart, and Swift packages distributed through Swift Package Manager. Exact package-manager commands and version pins are not clearly documented in the README; follow the linked Quickstart for the current setup procedure. Packages marked as unpublished can be consumed from source.

Strengths

  • ✓A2UI gives the application owner control over the agent's rendering vocabulary. That is a real security advantage when a remote agent must not access payment details, personal information, financial records or arbitrary application functions.
  • ✓A2UI reduces protocol work across client stacks by keeping the agent-to-renderer contract separate from each native adapter. Teams can retain React, Angular, Lit, Flutter, SwiftUI or JetPack Compose without asking every agent to understand each widget API.
  • ✓The A2UI architecture makes validation and compilation part of the delivery path rather than an optional prompt instruction. Catalog negotiation and schema checks turn capability control into an application concern.
  • ✓A2UI ships enough supporting material to evaluate the approach, including schema assertions and an LLM judge. The broader package set also provides a path from agent generation through transport and native rendering.

Current Limits and Roadmap Work

  • △According to the README roadmap, native design-system building blocks, a common runtime template system, and isolated execution for shared component logic remain future work.
  • △The README places Dart skill generation and official decision-model support on the roadmap. Teams depending on those paths need to account for extra integration or wait for later releases.
  • △Installation commands and a single package setup procedure are not clearly documented in the README. Getting started depends on following the linked Quickstart and selecting the correct language-specific packages.
  • △Shared state between an A2UI surface and its MCP host remains roadmap work. An embedded MCP deployment should therefore account for integration work that is not yet presented as available functionality.

Other Ways to Build Agentic UIs

AG-UI — compare it with A2UI when choosing a protocol for agent events and interface updates, especially if an existing agent stack already uses that ecosystem. ↗MCP Apps — consider this delivery model when the interface must live inside an MCP host. A2UI documents MCP embedding, so the practical choice depends on the host architecture.

Who Should Adopt A2UI

A2UI is designed for teams building server-driven or agentic applications across more than one native client, especially where model output must cross a trust boundary without becoming arbitrary executable code. It suits platform engineers, agent developers, and application teams willing to adopt A2UI’s protocol, catalog, and renderer conventions.

Frequently Asked Questions

Is A2UI open source and can it be used commercially?

A2UI is open source under the Apache-2.0 licence, which permits commercial use subject to that licence’s terms. The repository README also identifies A2UI as an Apache 2.0 licensed project.

Which UI frameworks can render A2UI interfaces?

A2UI renderers can map its interface data to React, Angular and Lit components, as well as widgets for Flutter, SwiftUI and JetPack Compose. Each adapter connects a framework-specific component layer to the shared A2UI core.

Does A2UI let agents execute arbitrary application code?

A2UI does not give agents arbitrary code execution. Agents communicate through schema-validated interface data, while the application controls which standard capabilities and catalog components are available to the model.

Which programming languages have A2UI packages?

A2UI provides packages for Python, TypeScript, Dart and Flutter, and Swift. The collection includes agent SDKs, protocol cores, framework renderers and supporting tooling in those language ecosystems.

Can unpublished A2UI packages be used from source?

Yes. The README states that A2UI packages marked as not published yet can be used directly from source. The listed unpublished package is the TypeScript VegaChart catalog.

Does A2UI integrate with MCP and A2A?

A2UI includes an MCP catalog for rendering messages and UI resources returned by MCP tools. It also provides Python packages that connect its agent SDK to the Agent-to-Agent protocol and the Agent Development Kit.

The problem it solves

A2UI addresses a specific gap between agent output and application UI: language models can emit text, code, or structured data, but remote agents need a controlled way to request native interface components without receiving executable code. A2UI supplies that contract through the A2UI protocol, schema validation, negotiated catalogs, and framework-specific renderers.

How to use

A typical A2UI project starts with an agent SDK that generates a skill, negotiates an allowed component catalog and asks the model for interface data. The model returns an A2UI-compatible description, which the SDK validates and converts into transport messages. On the client, an A2UI core package parses those messages into a framework-neutral representation, evaluates expressions and manages state. A renderer adapter then maps the result to native widgets. User actions and function results can flow back toward the agent, allowing the interface to adapt during the conversation while the catalog continues to constrain what can be rendered.

Related repositories

Source & attribution

A2UI review source: the GitHub repository a2ui-project/a2ui, including its README, package list, architecture description, roadmap, licence, checked date and last-push metadata.

GitHub data · last synced Nov 27, 2026Reviewed by Henry
← Back to TopGit

Want a second opinion on A2UI?

Ask an AI that can read this page — one click and you get its take on A2UI.

GitHub