Repository navigation
AI Tools Generative UI
Until recently, AI agents and LLM applications returned walls of Markdown prose or relied on rigid, hard-coded templates. Runtime Generative UI (GenUI) is the architectural layer that enables AI models and agents to compose, stream, and update live, interactive user interfaces—charts, data tables, multi-step forms, interactive cards, and full dashboards—at runtime, tailored to the user's immediate intent and rendered natively with your application's own component library.
Modern runtime Generative UI spans four distinct mechanisms along a spectrum from strictly controlled to open-ended:
-
Compact Streaming UI Languages (e.g., OpenUI Lang): Instead of verbose JSON or raw HTML, the model emits a line-oriented, positional domain-specific language (
identifier = Component(args)) generated directly from your Zod-typed component catalog. This cuts token usage by 50–67% and reduces streaming time-to-interactive by ~3x compared to JSON formats. -
Declarative JSON UI Protocols & Bi-Directional Surfaces (e.g., Google A2UI + CopilotKit / AG-UI, Vercel
json-render): The agent emits flat, ID-referenced JSON messages (createSurface,updateComponents,updateDataModel) constrained to a trusted client-side component catalog. User interactions (form inputs, button clicks) bind to data paths and travel back over the same event stream (AG-UI) so the agent can reactively update the same surface across multi-step workflows. -
Tool-Call / Component Mapping (e.g., assistant-ui, Vercel AI SDK, LangGraph
useStream): The model invokes typed backend tools (search_flights,book_hotel), and the frontend maps each tool call's arguments and result payload to a dedicated React/Vue/Svelte component. -
Sandboxed Code / MCP Apps (
ui://resources): An MCP server or code-generating model returns a self-contained HTML/JS/CSS widget mounted inside a sandboxed iframe—maximizing open-ended flexibility when no pre-built component exists, at the tradeoff of design-system consistency.
For production engineering teams, declarative catalog-constrained standards (OpenUI, A2UI + CopilotKit, and json-render) represent the gold standard: they enforce security first (models emit data/AST, never arbitrary executable JS), preserve brand/design-system fidelity (rendering your actual shadcn/ui, Radix, Material, or native mobile components), and support progressive token-by-token streaming.
Building an application that produces runtime Generative UI follows a six-stage lifecycle:
-
Curate building blocks: Select or build the UI primitives the agent is allowed to render (e.g.,
Stack,Card,StatMetric,BarChart,FlightCard,FormControl,ChoicePicker,Button). - Write strict schemas: Define every component's properties, nested child slots, and human-readable descriptions using Zod (or JSON Schema).
-
Group & annotate: Organize related components into logical groups (e.g.,
Layout,Forms,Charts) with usage notes (such as "Never nest a Form inside a Form") so the model selects the right composition patterns.
-
System prompt or sub-agent injection: Convert the component catalog into either a compact system prompt specification (teaching the model the signatures of allowed components, as in OpenUI Lang) or a dedicated tool schema (
generate_a2ui/render_ui, as in A2UI and CopilotKit). -
Dynamic vs. Static registration: Either pre-compile the catalog spec at build time (
openui.spec.json) on the server, or ship the client's supported component catalog dynamically in the request payload so backend agents stay decoupled from frontend deployments.
- When a user sends a prompt (e.g., "Compare our Q3 revenue by region and let me filter by product line"), the agent fetches the required data via tools and streams back a structured UI representation:
-
Line-oriented statements (
root = Stack([header, chart, filterForm])) in OpenUI Lang, or -
Flat, ID-referenced JSON operations (
createSurface,updateComponents,updateDataModel) over an event protocol like AG-UI.
-
Line-oriented statements (
- Top-down ordering: The root container and layout skeleton are emitted first so the client can draw the structural shell immediately without waiting for deep child data.
- Progressive parsing: As tokens arrive over SSE/WebSockets, the client (or an inline gateway) parses each completed line or JSON chunk.
-
Guardrails & schema validation: Every component name and prop is checked against your registered Zod schemas:
- Unknown components invented by the LLM are safely dropped (
unknown-component). - Missing or mismatched optional props fall back to defaults (
type-mismatch). - Self-healing layers (such as OpenUI's Gateway/Autofix or AG-UI's dedicated sub-agent retry loop) catch syntax or schema errors mid-stream and repair them before broken UI reaches the user.
- Unknown components invented by the LLM are safely dropped (
- The framework's
<Renderer />maps validated AST nodes or surface IDs directly to your native React, Vue, Svelte, Angular, Flutter, or SwiftUI components. - While
isStreamingis true, partial props and skeleton states render smoothly in place rather than waiting for the entire response to finish.
-
Interactive state: Form inputs, sliders, and pickers bind to local reactive variables (
$varin OpenUI Lang, or JSON Pointer data paths like/booking/cabinin A2UI). Client-side validation runs immediately without an LLM round-trip. -
Action dispatch: When the user clicks an action button (e.g.,
@ToAssistant("Approve order", {orderId: 42}),@Run(mutation), or an A2UIaction.eventcarrying bound context paths), the client sends the structured event and current form state back over the agent stream. The agent processes the action and updates the existing UI surface in place.
Tools are ranked with a strict preference for open-source standards, local/self-hostable execution, token/streaming performance, and cross-framework flexibility. Every tool below is open source and can be run locally on your machine or used for free.
-
URL:
- GitHub Repository: https://github.com/thesysdev/openui
- Website & Live Playground: https://www.openui.com/
- Documentation: https://www.openui.com/docs
-
Cost: Free & Open Source (MIT License) for the entire core specification, OpenUI Lang parser/prompt generator, CLI, and all frontend/agent SDK packages (
@openuidev/*). Works 100% locally with Ollama, vLLM, or any BYO model API key (OpenAI, Anthropic, Gemini, DeepSeek, Mistral, Qwen, xAI). Optional managed cloud services (OpenUI Gateway, Autofix API, and Cloud Observability) offer free starter tiers and usage-based production plans. -
Description: OpenUI (15.7k+ GitHub stars) is a full-stack, framework-agnostic open standard for Generative UI centered around OpenUI Lang 1.0—a compact, line-oriented, streaming-first language purpose-built for LLMs to compose interfaces from your own component catalog.
JSON-based UI formats repeat keys like
"component","props","children", and deeply nested braces on every node, wasting tokens and delaying rendering until JSON objects close. OpenUI Lang replaces JSON verbosity with a line-oriented assignment syntax (identifier = Component(positionalArgs...)) mapped directly to your Zod schema's key order:$compact = false root = Stack([header, kpiRow, revenueChart, actionRow]) header = TextContent("Q3 Regional Revenue", "large-heavy") kpiRow = Stack([northMetric, EMEA_Metric], "row") northMetric = StatCard("North America", "$4.2M", "+14%") EMEA_Metric = StatCard("EMEA", "$2.8M", "+9%") revenueChart = BarChart(["NA", "EMEA", "APAC"], [4.2, 2.8, 1.9]) actionRow = Button("Drill into APAC", @ToAssistant("Show APAC breakdown", {region: "APAC"}))-
Up to 67% Fewer Tokens & 3x Faster Generation: In reproducible
tiktoken(GPT-5 encoder) benchmarks across 7 UI scenarios (tables, charts, contact forms, dashboards, pricing pages, settings panels, e-commerce), OpenUI Lang totaled 4,800 tokens vs 10,180 tokens for Verceljson-render(-52.8% overall, and -67.1% on forms) and 4.9s latency vs 14.2s at 60 tok/s. -
Forward References & Line-by-Line Streaming: Because
root = Stack([header, kpiRow, ...])is emitted on line 1 using forward references, the<Renderer />mounts the layout shell immediately and fills in child components line-by-line as each statement streams in. -
Reactive Variables, Queries, Functions & Actions (OpenUI Lang 1.0):
- Local reactive variables (
$var) allow instant client-side UI toggling (root = $compact ? compactView : fullView). - Built-in and custom
@functions (@Percent(done, total)) and actions (@ToAssistant(msg, context),@Set($var, val),@Reset($var),@Run(queryOrMutation),@OpenUrl(url)) make generated interfaces truly interactive without round-tripping every click to an LLM. - Supports
QueryandMutationstatements for live data-fetching dashboards and CRUD workflows.
- Local reactive variables (
-
Comprehensive Package Ecosystem (
@openuidev/*):-
@openuidev/lang-core: Framework-agnostic parser, prompt generator (generateSystemPrompt), and runtime evaluator with zero UI framework dependencies. -
First-party UI Runtimes:
@openuidev/react-lang,@openuidev/vue-lang(Vue 3),@openuidev/svelte-lang(Svelte 5),@openuidev/angular-lang,@openuidev/react-email(model-generated HTML emails), and@openuidev/browser-bundle(no-build script/iframe embeds). -
Batteries-Included Chat & Component Libraries:
@openuidev/react-ui(shipsopenuiLibraryfor full-bleed dashboards/apps andopenuiChatLibraryfor chat cards, plus full chat thread layouts) and@openuidev/react-headless. -
Agent & Protocol Bridges:
@openuidev/langchain(streams OpenUI through LangChain/LangGraph & AG-UI),@openuidev/assistant-ui, and@openuidev/a2ui(an A2UI v1.0 protocol client carrying OpenUI Lang payloads).
-
-
Up to 67% Fewer Tokens & 3x Faster Generation: In reproducible
-
Limitations:
- Smaller non-coding LLMs (<7B parameters) may occasionally misalign positional arguments on components with many props unless you group components with
componentGroupsnotes or run through Autofix/Gateway. - Pre-built full chat UI primitives (
@openuidev/react-ui) are React-first, whereas Vue, Svelte, and Angular packages focus on the<Renderer />anddefineComponentruntime bindings (where you bring your own components).
- Smaller non-coding LLMs (<7B parameters) may occasionally misalign positional arguments on components with many props unless you group components with
-
How to Get Started:
-
Fastest Scaffold (Interactive CLI): Requires Node.js 20+.
npx @openuidev/cli@latest create --name genui-chat-app
-
Install the OpenUI Coding Agent Skill (for Claude Code, Cursor, Codex, or Devin):
npx skills add thesysdev/skills --skill openui
-
Add to an Existing App in 4 Steps:
- Install packages:
npm install @openuidev/react-lang @openuidev/react-ui @openuidev/lang-core zod
- Define your component catalog (
src/lib/openui.tsx):import { defineComponent, createLibrary } from "@openuidev/react-lang"; import { z } from "zod/v4"; const StatCard = defineComponent({ name: "StatCard", description: "Displays a KPI metric label and value.", props: z.object({ label: z.string(), value: z.string() }), component: ({ props }) => ( <div className="p-4 border rounded-lg"> <div className="text-sm text-gray-500">{props.label}</div> <div className="text-2xl font-bold">{props.value}</div> </div> ), }); export const library = createLibrary({ root: "StatCard", components: [StatCard], });
- Export the JSON spec (
npx @openuidev/cli@latest generate src/lib/openui.tsx --spec --out src/lib/openui.spec.json), generate the system prompt on the server (generateSystemPrompt({ library })), stream the LLM response (using Ollama, OpenAI, Anthropic, or OpenUI Gateway), and render on the client:<Renderer response={streamedText} library={library} isStreaming={isStreaming} onAction={(action) => console.log("User triggered:", action)} />
- Install packages:
-
Fastest Scaffold (Interactive CLI): Requires Node.js 20+.
-
URL:
- Google A2UI GitHub: https://github.com/a2ui-project/a2ui · Spec & Site: https://a2ui.org/
- CopilotKit GitHub: https://github.com/CopilotKit/CopilotKit · Docs: https://docs.copilotkit.ai/generative-ui/components
- Architecture Guide: Build Generative UI Apps with A2UI & CopilotKit Agents (Google Developers Blog)
-
Cost: Free & Open Source (
a2uiis Apache-2.0, 19.1k+ stars;CopilotKitandAG-UIare MIT). Self-hosting the runtime and agent endpoints is 100% free; CopilotKit Cloud is optional. -
Description:
Developed by the Google A2UI Team and integrated across the agent ecosystem by CopilotKit, A2UI (Agent-to-UI v1.0) is a transport-agnostic open standard where agents describe interfaces as a flat stream of small, ID-referenced JSON messages (
createSurface,updateComponents,updateDataModel,deleteSurface), and the client renders them with trusted native components.-
How A2UI, AG-UI, and CopilotKit Fit Together:
-
A2UI defines the declarative UI payload and data-binding specification (separating UI component structure from application data state). It ships a Basic Catalog of 18 primitives (layout, display, input, containers) plus full support for Bring-Your-Own-Components (BYOC) (
createCatalog) or CopilotKit's 69-componentstandardUIcatalog. - AG-UI (Agent-User Interaction Protocol) is the bi-directional event transport connecting backend agent frameworks (Google ADK, LangGraph/LangChain, Mastra, AWS Strands, CrewAI, PydanticAI) to the frontend.
-
CopilotKit provides the drop-in frontend provider (
<CopilotKit a2ui={{ catalog }}>), chat and in-page surfaces, and the@copilotkit/a2ui-rendereracross React, Angular, Vue, React Native, and Slack (while core A2UI also supports Flutter, SwiftUI, Jetpack Compose, and Lit).
-
A2UI defines the declarative UI payload and data-binding specification (separating UI component structure from application data state). It ships a Basic Catalog of 18 primitives (layout, display, input, containers) plus full support for Bring-Your-Own-Components (BYOC) (
-
Bi-Directional Reactive Surfaces (Multi-Step Flows on One Surface):
Unlike one-shot generative UI that goes stale after rendering, A2UI surfaces are reactive and bi-directional. Inputs bind to JSON Pointer paths (e.g.,
"value": { "path": "/booking/cabin" }), client-side validation runs inline without an LLM call, and clicking a button dispatches anaction.eventcarrying those bound context paths back over the AG-UI stream. The agent then re-emits updates against the samesurfaceId—allowing an entire multi-step flight search, seat selection, passenger form, and booking confirmation to evolve seamlessly inside a single surface. - Dedicated Sub-Agent & Self-Healing: Running A2UI over AG-UI keeps heavy catalog/protocol instructions inside a dedicated UI sub-agent (saving your main agent's context window) and automatically catches and self-heals invalid schema generations before they reach the screen.
-
How A2UI, AG-UI, and CopilotKit Fit Together:
-
Limitations:
- Because A2UI uses JSON messages, raw token payloads are ~3x larger than line-oriented DSLs like OpenUI Lang (unless paired with
@openuidev/a2uior fast flash models likegemini-3.8-flash). - A2UI v1.0 is actively evolving; complex multi-agent setups require running both your Python/Node agent server (e.g., FastAPI +
ag_ui_adk) and a Next.js/Node runtime route.
- Because A2UI uses JSON messages, raw token payloads are ~3x larger than line-oriented DSLs like OpenUI Lang (unless paired with
-
How to Get Started:
-
Scaffold a complete A2UI + CopilotKit starter app in one command:
npx copilotkit@latest create --name my-app --framework a2ui
-
Or wire a Python Google ADK / LangGraph agent to a React frontend:
-
Backend (
FastAPI+ag_ui_adk):from fastapi import FastAPI from google.adk.agents import LlmAgent from ag_ui_adk import ADKAgent, add_adk_fastapi_endpoint root_agent = LlmAgent( name="flight_agent", model="gemini-3.8-flash", instruction="Help users find and book flights. Call generate_a2ui to show results.", ) app = FastAPI() add_adk_fastapi_endpoint(app, ADKAgent(adk_agent=root_agent, app_name="flights", user_id="demo"), path="/")
-
Frontend (
@copilotkit/react-core/v2+@copilotkit/a2ui-renderer):import { CopilotKit, CopilotChat } from '@copilotkit/react-core/v2'; import { createCatalog } from '@copilotkit/a2ui-renderer'; import { z } from 'zod'; const catalog = createCatalog( { FlightCard: { description: 'A flight result with airline, times, and stops.', props: z.object({ airline: z.string(), departs: z.string(), arrives: z.string(), stops: z.number() }), }, }, { FlightCard: MyFlightCard }, { catalogId: 'flight-catalog', includeBasicCatalog: true } ); export default function App() { return ( <CopilotKit runtimeUrl="/api/copilotkit" a2ui={{ catalog }}> <CopilotChat /> </CopilotKit> ); }
-
Backend (
-
Scaffold a complete A2UI + CopilotKit starter app in one command:
- URL: https://github.com/vercel-labs/json-render · Website: https://json-render.dev/
- Cost: 100% Free & Open Source (Apache-2.0 License). Runs locally with any LLM or model provider.
-
Description:
Vercel Labs' dedicated open-source Generative UI framework for turning natural language prompts into guardrailed, schema-validated UI trees using a flat JSON spec (
rootID +elementsmap). Its standout strength is extreme multi-target rendering from a single catalog: in addition to web (React, Vue, Svelte, Solid) and mobile (React Native),json-renderships official renderers for PDF documents (@json-render/react-pdf), programmatic video (@json-render/remotion), and emails (@json-render/react-email), plus@json-render/shadcnwith 36 pre-builtshadcn/uicomponents ready out of the box. -
Limitations:
- Does not include a built-in chat UI or agent state runtime (pair it with Vercel AI SDK or assistant-ui for chat threads).
- JSON stream payloads consume ~2–3x more tokens than OpenUI Lang for equivalent complex layouts.
-
How to Get Started:
- Install the core, React, and pre-built
shadcn/uicatalog packages:npm install @json-render/core @json-render/react @json-render/shadcn
- Define your component registry (
defineRegistry), generate the AI catalog prompt using@json-render/core, stream the flat JSON spec from your LLM, and pass it to<Renderer spec={spec} registry={registry} />.
- Install the core, React, and pre-built
- URL: https://github.com/assistant-ui/assistant-ui · Website: https://www.assistant-ui.com/
-
Cost: Free & Open Source (MIT License). Local-first React components built on
shadcn/uiand Radix primitives; optional cloud persistence tier. -
Description:
The most flexible
shadcn/ui-native React library for AI chat and Generative UI.assistant-uisupports every major GenUI pattern simultaneously:-
Tool UI (
makeAssistantToolUI/defineToolkit): Map any backend tool call (streaming args + result) to a custom React component with human-in-the-loop approval states. -
Declarative Present Tool: Ships a built-in
presenttool with a default vocabulary of 27 components. -
First-Class OpenUI & A2UI Integration: Drop in
@openuidev/assistant-uito render streamed OpenUI Lang inside assistant-ui threads, or connect A2UI over AG-UI. -
Universal Backend Adapters: Works with Vercel AI SDK, LangGraph, LangChain, Google ADK, Mastra, AG-UI, A2A, or a 100% custom local backend (
LocalRuntime/ExternalStoreRuntime).
-
Tool UI (
-
Limitations:
- React-only (built specifically around React + Tailwind + Radix/
shadcn/uiarchitecture).
- React-only (built specifically around React + Tailwind + Radix/
-
How to Get Started:
- Initialize
assistant-uiin any Next.js or Vite React project:npx assistant-ui@latest init
- To add OpenUI Lang generative components inside
assistant-ui, install@openuidev/assistant-ui, or register tool-specific UIs usingmakeAssistantToolUI({ toolName: "get_weather", render: ({ args, result }) => <WeatherCard {...result} /> }).
- Initialize
- URL: https://github.com/vercel/ai · Docs: https://sdk.vercel.ai/docs
- Cost: 100% Free & Open Source (Apache-2.0 License). Works locally with Ollama, LM Studio, or any cloud model provider.
-
Description:
With 26,800+ GitHub stars, the Vercel AI SDK (
ai) is the foundational TypeScript toolkit for streaming text, structured objects (streamObject), and tool-call-based Generative UI across React, Next.js, Vue, Svelte, and Solid. In AI SDK UI (useChat), when a model invokes tools on the server (streamTextwithtools), typedtool-invocationparts stream directly to the client in real time (call->partial-call->result), where your frontend switches onpart.toolNameto render interactive components. It also includes experimental support for React Server Components (streamUIin@ai-sdk/rsc) and MCP Apps rendering (ui://resources). -
Limitations:
- Out of the box, tool-part mapping requires you to manually write
switch (toolName)mappings for each tool rather than letting the model freely compose multi-component layouts from a declarative catalog (unless you pair AI SDK's stream transport with OpenUI orjson-render). -
@ai-sdk/rsc(streamUI) is Next.js App Router specific and remains experimental compared to client-sideuseChattool parts or declarative specs.
- Out of the box, tool-part mapping requires you to manually write
-
How to Get Started:
- Install the core SDK and your provider (e.g., Ollama or OpenAI):
npm install ai @ai-sdk/react zod
- Define Zod-typed
toolsinsidestreamText()on your/api/chatroute, and mapmessage.partswithpart.type === 'tool-invocation'to your React components inside theuseChat()hook on the client.
- Install the core SDK and your provider (e.g., Ollama or OpenAI):
-
URL:
- MCP-UI GitHub: https://github.com/idosal/mcp-ui · Docs: https://mcpui.dev/
- Official MCP Apps Extension: https://github.com/modelcontextprotocol/ext-apps
- Cost: 100% Free & Open Source (MIT / Apache-2.0). Runs completely locally between any MCP server and MCP host.
-
Description:
Brings runtime Generative UI to the Model Context Protocol (MCP). Instead of returning plain JSON text from an MCP tool call, an MCP server returns an interactive UI payload (
ui://resource URI, Remote DOM script, or self-contained HTML/Web Component bundle) that the host application mounts inside a secure, sandboxed iframe with bi-directional postMessage communication back to the agent. This allows third-party or remote MCP tools (e.g., a database explorer, Stripe checkout widget, or 3D viewer) to ship their own interactive UI without the host app needing to pre-install those components. -
Limitations:
- Because MCP Apps render inside sandboxed iframes (or Remote DOM boundaries), styling can drift from your host application's native design system compared to catalog-based renderers like OpenUI or A2UI.
-
How to Get Started:
- Install the server and client packages:
npm install @mcp-ui/server @mcp-ui/client
- Return
createUIResource({ uri: "ui://widget/chart", content: { type: "rawHtml", htmlString: "..." } })from your MCP tool handler, and render it on the frontend using<UIResourceRenderer resource={toolResult.resource} />.
- Install the server and client packages:
-
URL:
- LangGraph React UI Docs: https://langchain-ai.github.io/langgraphjs/
- Hashbrown GitHub: https://github.com/liveloveapp/hashbrown (https://hashbrown.dev)
- Cost: Free & Open Source (MIT License).
-
Description:
Two specialized open-source frameworks for developers committed to specific stacks:
-
LangGraph
useStream/LoadExternalComponent: Enables Python or TypeScript LangGraph nodes to emitpush_ui_message()events tied to specific graph states, streaming props directly into React components alongside agent checkpoints and human-in-the-loop interrupts. (Can also be upgraded with@openuidev/langchainto stream full OpenUI Lang layouts). -
Hashbrown: An open-source framework tailored for Angular and React that specializes in streaming structured JSON parsing (
exposeComponent), letting LLMs compose your existing Angular/React components with reactive signals and local client-side JS runtime execution.
-
LangGraph
-
Limitations:
- LangGraph's built-in
LoadExternalComponentis tightly coupled to the LangGraph server runtime. - Hashbrown has a smaller community footprint than OpenUI, A2UI/CopilotKit, or Vercel AI SDK.
- LangGraph's built-in
-
How to Get Started:
- For LangGraph + OpenUI:
npm install @openuidev/langchain @langchain/langgraphto stream OpenUI Lang directly from LangGraph nodes. - For Hashbrown: Visit hashbrown.dev or run
npm install @hashbrownai/core @hashbrownai/react(or@hashbrownai/angular).
- For LangGraph + OpenUI:
| Rank | Tool / Standard | Core Mechanism | Token Overhead | Latency (60 tok/s) | Supported Frontend Frameworks | Built-in Components & Chat UI? | License / Cost |
|---|---|---|---|---|---|---|---|
| 1 | OpenUI (thesysdev/openui) |
OpenUI Lang 1.0 (Line-oriented positional DSL + Zod catalog) | 1x (Baseline — up to 67% fewer tokens) | ~4.9s | React, Vue 3, Svelte 5, Angular, React Email, CDN/Iframe |
Yes (@openuidev/react-ui ships 2 component libraries + full chat UI + data fetching) |
MIT (Free & Open Source; optional cloud Gateway/Autofix) |
| 2 | Google A2UI + CopilotKit (over AG-UI) |
Declarative JSON Surface Stream (createSurface, updateComponents, bi-directional data paths) |
~3x | ~14.2s | React, Angular, Vue, Lit, Flutter, SwiftUI, Jetpack Compose, React Native |
Yes (A2UI 18-primitive Basic Catalog + CopilotKit 69-component standardUI + Chat/In-page surfaces) |
Apache-2.0 / MIT (Free & Open Source) |
| 3 | Vercel json-render |
Flat JSON SpecStream (root + elements map constrained to catalog) |
~3x | ~14.2s | React, Vue, Svelte, Solid, React Native, PDF, Remotion Video, Email |
Components Only (36 pre-built shadcn/ui components; no chat UI included) |
Apache-2.0 (100% Free & Open Source) |
| 4 | assistant-ui | Tool UI + Present Catalog + OpenUI/A2UI adapters | 1x–3x (depends on adapter) | Fast | React (shadcn/ui + Radix primitives) |
Yes (Production chat threads, tool approval UIs, 27-component present tool) |
MIT (Free & Open Source) |
| 5 | Vercel AI SDK (ai) |
Typed Tool-Call Parts (useChat + streamText / streamObject) |
~1.5x–3x | Fast | React, Next.js, Vue, Svelte, Solid |
No (Headless hooks; bring your own components or pair with OpenUI/json-render) |
Apache-2.0 (100% Free & Open Source) |
| 6 | MCP-UI / MCP Apps |
Sandboxed ui:// Iframe / Remote DOM from MCP servers |
Varies | Fast | React, Preact, Web Components, any MCP host | No (Renders self-contained widgets shipped by MCP servers) | MIT / Apache-2.0 (Free & Open Source) |
| 7 | LangGraph UI / Hashbrown | Graph UI Events (push_ui_message) / Streamed Component JSON |
~3x | Medium | React (LangGraph) / Angular & React (Hashbrown) | No (Brings your own Angular/React components) | MIT (Free & Open Source) |
-
OpenUI GitHub Repository (
thesysdev/openui) · OpenUI Website · OpenUI Documentation · OpenUI Lang 1.0 Specification - Google Developers Blog — Build Generative UI Apps with A2UI & CopilotKit Agents
- Google Developers Blog — Introducing A2UI: An open project for agent-driven interfaces
-
A2UI Open Standard (
a2ui-project/a2ui) · A2UI v1.0 Protocol Spec - CopilotKit Components & Surfaces (A2UI Integration Docs)
- Vercel Labs
json-render(vercel-labs/json-render) - assistant-ui (
assistant-ui/assistant-ui)