
The Open Standard for Generative UIMake your AI apps respond with interactive UI components like cards, tables, forms and charts instead of text. Streaming-native, token-efficient, and works with any AI model (GPT,Claude,M2.5) and agent framework like ai-sdk, Google ADK
OpenUI is an open-source standard and toolkit that lets AI applications respond with interactive UI components—cards, tables, forms, charts, and more—instead of plain text. Instead of forcing AI models to output raw JSON or markdown, OpenUI defines a lightweight, streaming-native language (OpenUI Lang) that any LLM can generate. A renderer on the client side parses that language and turns it into real, interactive React components. The result is a token-efficient pipeline that works with any major AI model—GPT, Claude, Gemini, Mistral, DeepSeek—and integrates with agent frameworks like Vercel AI SDK, LangChain, CrewAI, and OpenAI Agents SDK.
You register components using defineComponent and createLibrary from @openuidev/react-lang. Each component gets a Zod schema for its props, so the AI knows exactly what data to provide. You can build a library from scratch or wrap existing UI libraries like ShadCN, Material Design, DaisyUI, or Base UI.
Once you define your library, OpenUI constructs a system prompt that tells the LLM how to respond in OpenUI Lang. No manual prompt engineering—just register your components, and the toolkit handles the rest.
The model outputs a compact, token-efficient language that describes the UI structure. This format uses up to 67.1% fewer tokens than equivalent JSON rendering, which means faster responses and lower costs.
The client-side renderer interprets the OpenUI Lang stream and renders the corresponding React components as they arrive. Rendering is 3x faster than JSON-based alternatives, supports native streaming, and keeps the UI interactive with reactive state, inputs, and tool-connected actions.
OpenUI turns AI output into real, interactive UI components—without JSON bloat or custom parsers.
Most generative UI approaches force the LLM to output verbose JSON, which is slow, token-heavy, and hard to stream. OpenUI replaces that with a purpose-built language that is streaming-native and token-efficient. The same pipeline works across React, React Native, and Vue, and it integrates with live data sources via tools and MCP servers. Safety is built in: no arbitrary code execution, just structured component calls.
You're building an AI-powered app that needs to go beyond text responses. If you want your chatbot to show a hotel carousel with booking buttons, a real-time dashboard with live data, or a multi-step form that updates as the user interacts, OpenUI gives you a standard way to do it. It's especially useful if you're already using frameworks like Vercel AI SDK or LangChain and want to add rich UI output without reinventing the wheel.
Other tools you might consider
Loading comments…
Maker
async_apple
Visit Website
openui.com
Project Info
Product Keywords
Alternatives