OpenUI
MIT generative-UI framework: streaming UI language, component library, chat shell
OpenUI (by Thesys) is a renderer-agnostic generative-UI framework built around OpenUI Lang, a compact streaming syntax an LLM emits instead of JSON — benchmarked at roughly half the tokens of Vercel json-render or Thesys C1. You define a component library with Zod schemas, generate the system prompt from it, and render the model's stream progressively. Eleven npm packages cover the core parser, React/Vue/Svelte runtimes, a headless chat layer, a prebuilt React UI kit of about 50 components, React Email output, a LangChain/LangGraph adapter, a CDN bundle and a scaffolding CLI. It is for teams whose agent must answer with a working interface, not a wall of markdown. Not to be confused with wandb/openui.
npx @openuidev/cli@latest create --name genui-chat-appChoose OpenUI over Vercel's json-render or AI SDK generative UI when token cost and streaming latency actually matter — the benchmark in the repo shows about 50% fewer tokens across seven scenarios, and the renderer paints partial output as it arrives. Start from `@openuidev/react-lang` + `@openuidev/react-ui` if you want the built-in kit, or `lang-core` alone if you only need prompt generation on the server. Two traps: the models must be constrained to the components you register or output silently fails to render, and this is thesysdev/openui — completely unrelated to the older wandb/openui HTML generator with a similar name.
Why it is here. Generative UI is drifting toward a shared wire format, and this is the most complete open bid for it — a language, a renderer, a component library and framework bindings under one MIT licence.
- OpenUI Lang streaming syntax
- ~50% fewer tokens than JSON formats
- 11 packages: React, Vue, Svelte, email, CDN
- ships its own agent skill
- 8.4k stars, MIT, active daily
Verified 2026-08-15. HTTP 200. https://www.openui.com/, https://www.openui.com/docs, https://github.com/thesysdev/openui README via GitHub API, repo tree packages/react-ui/src/components and packages/react-ui/src/genui-lib (component dirs enumerated), GitHub API repos/thesysdev/openui








