OpenUI - The Open Standard for Generative UI
7016stars
OpenUI<br>Open Standard for Generative UI
7016starspnpx @openuidev/cli@latest create<br>pnpx @openuidev/cli@latest createbunx @openuidev/cli@latest createyarn dlx @openuidev/cli@latest createnpx @openuidev/cli@latest create
OpenUI
Open Standard for Generative UI
7,016starspnpx @openuidev/cli@latest createpnpx @openuidev/cli@latest createpnpx @openuidev/cli@latest createCopied. Paste in your terminal to install.
An open source toolkit to make your AI agents respond with your UI.
1You define your library<br>Register components with defineComponent & createLibrary.
2OpenUI generates system prompt<br>Generate a system prompt from your library and send it to LLM.
3LLM responds in OpenUI Lang<br>The model returns token-efficient, line-oriented OpenUI Lang.
4Renderer parses and renders UI<br>The renderer parses the output and renders UI in real time.
Generative UI for every use case<br>From dashboards to support to dev tools, OpenUI renders the interface your users need.
Analytics<br>Help users move from raw data to dashboards, insights, and decision-ready reports.
CRM / Sales
Customer support
DevTools
Project management
AnalyticsHelp users move from raw data to dashboards, insights, and decision-ready reports.
CRM / Sales
Customer support
DevTools
Project management
Renders 3x faster<br>with 67% fewer tokens<br>when compared to JSON-Render<br>View benchmarks
Live data<br>Interfaces query your tools and MCP servers at runtime, so the data is always current.
Cross-platform<br>One spec renders natively to React, React Native, Vue, and more.
Streaming-first<br>UI renders progressively as the model responds, not after the full output.
Interactive<br>Reactive state, inputs, and actions wired straight to your tools.
Safe by default<br>The model only composes your components and never runs arbitrary code.
Bring your own components<br>Build from the components and design system you already have.
All LLMs<br>OpenAI
Anthropic
Gemini
Mistral
xAI
DeepSeek
OpenAI
Anthropic
Gemini
Mistral
xAI
DeepSeek
OpenAI
Anthropic
Gemini
Mistral
xAI
DeepSeek
Any UI Library<br>OpenUI Design system
ShadCN
Material Design system<br>DaisyUI<br>Base UI
OpenUI Design system
ShadCN
Material Design system<br>DaisyUI<br>Base UI
OpenUI Design system
ShadCN
Material Design system<br>DaisyUI<br>Base UI
Any Framework<br>Vercel AI SDK
LangChain
CrewAI
OpenAI Agents SDK
Anthropic Agents SDK
Vercel AI SDK
LangChain
CrewAI
OpenAI Agents SDK
Anthropic Agents SDK
Vercel AI SDK
LangChain
CrewAI
OpenAI Agents SDK
Anthropic Agents SDK
Introducing OpenUI Cloud<br>Production-ready Generative UI<br>View Documentation<br>Production-grade rendering<br>Tested, responsive components that render consistently across browsers, devices, and screen sizes.
Editable artifact generation<br>Generate static artifacts like slides and reports, and live artifacts like dashboards and pages.
Bring your design system<br>Apply your fonts, colors, spacing, and component styles across every generated interface.
Output validation<br>Detect and correct invalid model output before it turns into broken UI.
Model & provider resilience<br>Keep generated UI working across model quirks, upgrades, slowdowns, and provider failures.
Observability & audit trail<br>Track performance, failures, cost, and what was rendered across your deployment.
Pre-tested componentsCross-browser compatibilityBuilt-in accessibilityResponsive by defaultTemplate supportEditable text and chartsEditable layoutsExport as PPTXExport as PDFDesign tokensTypographyComponent variantsBrand configurationsError correctionModel normalizationVersion pinningRollbacksProvider fallbacksRender success ratesLatency percentilesError frequencyAudit trailPre-tested componentsCross-browser compatibilityBuilt-in accessibilityResponsive by defaultTemplate supportEditable text and chartsEditable layoutsExport as PPTXExport as PDFDesign tokensTypographyComponent variantsBrand configurationsError correctionModel normalizationVersion pinningRollbacksProvider fallbacksRender success ratesLatency percentilesError frequencyAudit trail
Want to learn more, or need hands-on engineering support?<br>Talk to our team
Trusted by thousands of developers<br>7,016stars1 Million+downloads across all packages