Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

a2ui

Skill by a2ui-project

Guides an assistant to build agent-generated UI with the A2UI protocol, where an agent sends layout data and the app renders it with its own native components. Built for developers on Flutter, Angular, native mobile or multiple platforms.

  • Score 89
  • 19k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install a2ui

Built from the published package, never by AI.

git clone --depth 1 https://github.com/a2ui-project/a2ui /tmp/a2ui && mkdir -p ~/.claude/skills && cp -r /tmp/a2ui/skills/a2ui ~/.claude/skills/a2ui

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install a2ui in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant guidance for building agent-generated UI with A2UI (Agent-to-User Interface), an open Apache-2.0 protocol with renderer libraries. The agent sends layout data made of surfaces, catalog components and a data model, and the client renders it with its own trusted components. No code is executed, and the host app keeps its design system.

The skill covers when to choose A2UI, which packages to install for React, Angular, Lit, Flutter, SwiftUI, Jetpack Compose and Python or TypeScript agents, and a minimal React render example. It tells the assistant to check current docs instead of relying on memory, because the protocol has several versions. It suits developers building generative UI on Flutter, Angular, native mobile or across platforms, or where a remote agent must not send executable code.

Written from the project's SKILL.md and checked against it.

What it can do

  • Platform decision rulesExplains when A2UI fits Flutter, Angular, native mobile, multi-platform or remote agent setups.
  • Package installationLists current package names for React, Angular, Lit, Flutter, SwiftUI, Jetpack Compose and agent SDKs.
  • React render exampleShows a minimal MessageProcessor and A2uiSurface setup for protocol v0.9.
  • Integration pathsPoints to guides for AG-UI, CopilotKit, A2A and MCP integration with A2UI.
  • Version-aware guidanceDirects the assistant to package docs or a2ui.org/llms.txt instead of guessing message names.

What you need

  • npm for the React, Angular, Lit and TypeScript packages
  • Flutter for the a2ui_flutter package
  • Python and pip for the a2ui-agent-sdk package

Try asking

  • Build a Flutter screen where my agent generates forms at runtime with A2UI
  • Set up A2UI rendering in my React app using a MessageProcessor
  • Which A2UI packages do I install for an Angular and SwiftUI app?

Good to know

  • v0.8 is deprecated and the protocol has several versions with different message names.
  • SwiftUI and Jetpack Compose support is marked alpha.
  • The TypeScript agent package is early 0.x with known gaps.
  • flutter_genui and genui_a2ui are discontinued and should not be used.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/a2ui/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB

Alternatives to a2ui

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

a2ui: common questions

Does A2UI let the agent run code on the client?

No. The agent sends layout data and the client renders it with its own trusted components, so no code is executed.

Which platforms does A2UI support?

The source lists React, Angular, Lit, Flutter, SwiftUI and Jetpack Compose. SwiftUI and Jetpack Compose are marked alpha.

Is A2UI open source?

The source describes A2UI as an open, Apache-2.0 protocol plus renderer libraries for agent-generated UI.

How do I install a2ui?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is a2ui free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is a2ui safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to a2ui?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

Add to stack

Loading.