Skip to content

AI Tools Generative UI

Spinning Idea edited this page Dec 1, 2026 · 1 revision

AI Tools: Generative UI (Runtime Agent-Driven Interfaces)

1) Summary

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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.


2) General Process (Tool-Agnostic)

Building an application that produces runtime Generative UI follows a six-stage lifecycle:

Step 1: Define the Trusted Component Catalog & Prop Contracts

  • 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.

Step 2: Serialize the Catalog into Agent Instructions / Tool Schemas

  • 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.

Step 3: Stream Structured UI Intent from the Model / Agent

  • 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.
  • 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.

Step 4: Incremental Parsing, Validation & Self-Healing

  • 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.

Step 5: Native Progressive Rendering

  • The framework's <Renderer /> maps validated AST nodes or surface IDs directly to your native React, Vue, Svelte, Angular, Flutter, or SwiftUI components.
  • While isStreaming is true, partial props and skeleton states render smoothly in place rather than waiting for the entire response to finish.

Step 6: Bi-Directional State Binding & Action Handling

  • Interactive state: Form inputs, sliders, and pickers bind to local reactive variables ($var in OpenUI Lang, or JSON Pointer data paths like /booking/cabin in 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 A2UI action.event carrying 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.

3) Stack-Ranked Tools (Best at Top)

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.


1. OpenUI (thesysdev/openui) — Deep Dive

  • URL:

  • 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.

    Why OpenUI Lang Outperforms JSON-Based Formats

    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 Vercel json-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 Query and Mutation statements for live data-fetching dashboards and CRUD workflows.
    • 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 (ships openuiLibrary for full-bleed dashboards/apps and openuiChatLibrary for 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).
  • Limitations:

    • Smaller non-coding LLMs (<7B parameters) may occasionally misalign positional arguments on components with many props unless you group components with componentGroups notes 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 /> and defineComponent runtime bindings (where you bring your own components).
  • How to Get Started:

    1. Fastest Scaffold (Interactive CLI): Requires Node.js 20+.
      npx @openuidev/cli@latest create --name genui-chat-app
    2. Install the OpenUI Coding Agent Skill (for Claude Code, Cursor, Codex, or Devin):
      npx skills add thesysdev/skills --skill openui
    3. 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)}
        />

2. Google A2UI (a2ui-project/a2ui) + CopilotKit (CopilotKit/CopilotKit) over AG-UI

  • URL:
  • Cost: Free & Open Source (a2ui is Apache-2.0, 19.1k+ stars; CopilotKit and AG-UI are 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-component standardUI catalog.
      • 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-renderer across React, Angular, Vue, React Native, and Slack (while core A2UI also supports Flutter, SwiftUI, Jetpack Compose, and Lit).
    • 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 an action.event carrying those bound context paths back over the AG-UI stream. The agent then re-emits updates against the same surfaceId—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.
  • Limitations:
    • Because A2UI uses JSON messages, raw token payloads are ~3x larger than line-oriented DSLs like OpenUI Lang (unless paired with @openuidev/a2ui or fast flash models like gemini-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.
  • How to Get Started:
    1. Scaffold a complete A2UI + CopilotKit starter app in one command:
      npx copilotkit@latest create --name my-app --framework a2ui
    2. 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>
          );
        }

3. Vercel Labs json-render (vercel-labs/json-render)

  • 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 (root ID + elements map). 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-render ships official renderers for PDF documents (@json-render/react-pdf), programmatic video (@json-render/remotion), and emails (@json-render/react-email), plus @json-render/shadcn with 36 pre-built shadcn/ui components 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:
    1. Install the core, React, and pre-built shadcn/ui catalog packages:
      npm install @json-render/core @json-render/react @json-render/shadcn
    2. 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} />.

4. assistant-ui (assistant-ui/assistant-ui)

  • 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/ui and Radix primitives; optional cloud persistence tier.
  • Description: The most flexible shadcn/ui-native React library for AI chat and Generative UI. assistant-ui supports every major GenUI pattern simultaneously:
    1. Tool UI (makeAssistantToolUI / defineToolkit): Map any backend tool call (streaming args + result) to a custom React component with human-in-the-loop approval states.
    2. Declarative Present Tool: Ships a built-in present tool with a default vocabulary of 27 components.
    3. First-Class OpenUI & A2UI Integration: Drop in @openuidev/assistant-ui to render streamed OpenUI Lang inside assistant-ui threads, or connect A2UI over AG-UI.
    4. Universal Backend Adapters: Works with Vercel AI SDK, LangGraph, LangChain, Google ADK, Mastra, AG-UI, A2A, or a 100% custom local backend (LocalRuntime / ExternalStoreRuntime).
  • Limitations:
    • React-only (built specifically around React + Tailwind + Radix/shadcn/ui architecture).
  • How to Get Started:
    1. Initialize assistant-ui in any Next.js or Vite React project:
      npx assistant-ui@latest init
    2. To add OpenUI Lang generative components inside assistant-ui, install @openuidev/assistant-ui, or register tool-specific UIs using makeAssistantToolUI({ toolName: "get_weather", render: ({ args, result }) => <WeatherCard {...result} /> }).

5. Vercel AI SDK (vercel/ai)

  • 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 (streamText with tools), typed tool-invocation parts stream directly to the client in real time (call -> partial-call -> result), where your frontend switches on part.toolName to render interactive components. It also includes experimental support for React Server Components (streamUI in @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 or json-render).
    • @ai-sdk/rsc (streamUI) is Next.js App Router specific and remains experimental compared to client-side useChat tool parts or declarative specs.
  • How to Get Started:
    1. Install the core SDK and your provider (e.g., Ollama or OpenAI):
      npm install ai @ai-sdk/react zod
    2. Define Zod-typed tools inside streamText() on your /api/chat route, and map message.parts with part.type === 'tool-invocation' to your React components inside the useChat() hook on the client.

6. MCP-UI / MCP Apps (idosal/mcp-ui & Official @modelcontextprotocol/ext-apps)

  • URL:
  • 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:
    1. Install the server and client packages:
      npm install @mcp-ui/server @mcp-ui/client
    2. 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} />.

7. LangGraph Generative UI (@langchain/langgraph-sdk/react-ui) & Hashbrown (liveloveapp/hashbrown)

  • URL:
  • 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 emit push_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/langchain to 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.
  • Limitations:
    • LangGraph's built-in LoadExternalComponent is tightly coupled to the LangGraph server runtime.
    • Hashbrown has a smaller community footprint than OpenUI, A2UI/CopilotKit, or Vercel AI SDK.
  • How to Get Started:
    • For LangGraph + OpenUI: npm install @openuidev/langchain @langchain/langgraph to stream OpenUI Lang directly from LangGraph nodes.
    • For Hashbrown: Visit hashbrown.dev or run npm install @hashbrownai/core @hashbrownai/react (or @hashbrownai/angular).

Quick Comparison Matrix

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)

Sources & Further Reading

Clone this wiki locally