OpenUI
An open-source standard and toolkit for building generative UI in AI apps, enabling LLMs to respond with dynamic, streaming UI components using OpenUI Lang.
At a Glance
Fully open-source toolkit available via npm and GitHub at no cost.
Engagement
Available On
Alternatives
Listed May 2026
About OpenUI
OpenUI is an open standard and toolkit that lets AI applications respond with rich, dynamic user interfaces instead of plain text. Built by Thesys, it introduces OpenUI Lang — a token-efficient format that allows LLMs to generate and stream full component trees at runtime. It is up to 3x faster than JSON-based rendering approaches and uses up to 67.1% fewer tokens, making it well-suited for production AI applications.
- OpenUI Lang — A purpose-built language for generative UI; define your component library once and let LLMs respond with structured, validated UI trees.
- defineComponent & createLibrary — Register your own React (or other framework) components with Zod-validated props schemas so the renderer knows exactly how to instantiate them.
- Native Streaming — UI renders in real time as the LLM streams its response, enabling live dashboards, conversational apps, and more.
- Token Efficiency — Up to 67.1% fewer tokens compared to json-render, reducing cost and latency for every AI response.
- Cross-Platform Support — Works with React, React Native, Vue, and other frameworks; supports web apps, mobile apps, dashboards, and bottom trays.
- MCP & Tool Integration — Query MCP servers and tools at runtime to inject live data directly into generated UI.
- Safe by Default — No arbitrary code execution; the renderer validates all props against the registered schema before rendering.
- LLM Agnostic — Compatible with OpenAI, Anthropic, Gemini, Mistral, xAI, DeepSeek, and more.
- Framework Integrations — Works with Vercel AI SDK, LangChain, CrewAI, OpenAI Agents SDK, Anthropic Agents SDK, and popular UI libraries like ShadCN, Material Design, DaisyUI, and Base UI.
- CLI Scaffolding — Bootstrap a new project instantly with
npx @openuidev/cli@latest create. - Playground & Demo — Try OpenUI Lang live in the browser playground without any local setup.
Community Discussions
Be the first to start a conversation about OpenUI
Share your experience with OpenUI, ask questions, or help others learn from your insights.
Pricing
Open Source
Fully open-source toolkit available via npm and GitHub at no cost.
- OpenUI Lang standard
- defineComponent and createLibrary APIs
- CLI scaffolding
- React, React Native, Vue support
- MCP server integration
Capabilities
Key Features
- OpenUI Lang generative UI standard
- Token-efficient rendering (up to 67.1% fewer tokens than json-render)
- 3x faster rendering than json-render
- Native streaming UI
- defineComponent and createLibrary APIs
- Zod-based prop validation
- Cross-platform support (React, React Native, Vue)
- MCP server and tool integration at runtime
- Safe by default (no arbitrary code execution)
- LLM agnostic (OpenAI, Anthropic, Gemini, Mistral, xAI, DeepSeek)
- CLI scaffolding via npx
- Interactive playground
- Support for conversational apps, dashboards, mobile apps, bottom trays
