Skip to content
AgentAgent framework

a2ui

Open-source generative UI framework letting agents render native interfaces

Pricing
Open source
Platforms
Web, iOS, Android
GitHub stars
17.5K
Last commit
today
Language
TypeScript
License
Apache-2.0

About a2ui

a2ui is an open-source agent framework for developer tools. It is available on Web, iOS, Android and API.

A2UI (Agent-to-User Interface) is an open-source framework that lets agents describe user interfaces as data rather than code. A protocol tuned for streaming carries this description to a renderer, which draws it using components from a catalog that the application has registered.

Because agents can only place components from the approved catalog, the output stays aligned with an app's design system and avoids executing agent-written code. Renderers are listed for React, Lit, Angular, Flutter, SwiftUI and Jetpack Compose, along with SDKs for agent frameworks in several languages.

It is aimed at developers whose applications are agent- or server-driven and who want UI composed for each user's request.

What it does

Declarative UI protocol
Interfaces are expressed as streamed JSON data, not executable code.
Component catalog
Agents may only use components that the application has registered.
Native renderers
Renderers are listed for React, Lit, Angular, Flutter, SwiftUI and Jetpack Compose.
Agent SDKs
SDKs for agent frameworks are provided in several languages.
Streaming rendering
The client renders the interface as the agent produces it.
MCP Apps support
The same surface can run inside an MCP App in supporting hosts.

Good for

  • Let an agent build a booking or ordering flow on the fly
  • Render agent output with a brand's own design system
  • Add generative UI to web and mobile apps
  • Show agent-composed forms and widgets instead of plain text

Pricing

Open source

Apache-2.0 licensed

Prices change. Check a2ui.org before you buy.

a2ui FAQ

Does A2UI run code from the agent?

No, it streams declarative data and renders it with your own components.

Which platforms have renderers?

React, Lit, Angular, Flutter, SwiftUI and Jetpack Compose, plus community renderers.

What license is it?

Apache-2.0.

Is there a way to try it?

The README links an A2UI Composer you can use in the browser.

Is a2ui free?

Yes. a2ui is open source, so you can use and self-host it for free.

What are the best alternatives to a2ui?

The closest alternatives to a2ui are hermes-agent, deepseek-harness, langchain, gemini-cli and deer-flow.

Alternatives to a2ui

  1. Open-source self-improving agent with memory, scheduling and many chat gateways

    • Freemium
    • Open-source agent
    • 264K GitHub stars
    • AI models and LLM tooling
  2. Open-source agent harness from DeepSeek, built on a plugin architecture

    • Open source
    • Open-source agent
    • 282K GitHub stars
    • Multi-agent frameworks
  3. Python library for building agents from a model, tools, prompt and middleware

    • Open source
    • Agent framework
    • 150K GitHub stars
    • AI models and LLM tooling
  4. Open-source terminal agent for Gemini Code Assist workflows on Google Cloud

    • Open source
    • Open-source agent
    • 109K GitHub stars
    • AI models and LLM tooling
  5. Open-source super agent harness that researches, codes and creates with sandboxes

    • Open source
    • Open-source agent
    • 85.4K GitHub stars
    • AI models and LLM tooling
  6. ruflo

    Agent

    Agent meta-harness that adds swarms, memory and MCP tools to Claude Code and Codex

    • Open source
    • Agent framework
    • 81.9K GitHub stars
    • Knowledge and memory