Skip to content
Back to search

openui

The Open Standard for Generative UI

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 11 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/thesysdev/openui with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/thesysdev/openui'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/thesysdev-openui/badge.svg)](/listings/thesysdev-openui)

HTML

<a href="/listings/thesysdev-openui"><img src="/api/listings/thesysdev-openui/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

npx @openuidev/cli@latest create --name genui-chat-app
cd genui-chat-app
echo "OPENAI_API_KEY=sk-your-key-here" > .env
npm run dev

This is the fastest way to start with OpenUI. The scaffolded app gives you an end-to-end starting point with streaming, built-in UI, and OpenUI Lang support.

What this gives you:

- **OpenUI Lang support** - Start with structured UI generation built into the app flow. - **Library-driven prompts** - Generate instructions from your allowed component set. - **Streaming support** - Update the UI progressively as output arrives. - **Working app foundation** - Start from a ready-to-run example instead of wiring everything manually.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 257 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. <div align="center">
  2. <a href="https://www.openui.com" target="_blank" rel="noopener noreferrer">
  3. <img
  4. src="./assets/banner.png"
  5. alt="OpenUI - The Open Standard for Generative UI"
  6. width="100%"
  7. style="cursor: pointer;"
  8. >
  9. </a>
  10. # OpenUI - The Open Standard for Generative UI
  11. <p align="center">
  12. <a href="https://github.com/thesysdev/openui/actions/workflows/build-js.yml"><img alt="Build" src="https://github.com/thesysdev/openui/actions/workflows/build-js.yml/badge.svg"></a>
  13. <a href="./LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-blue.svg"></a>
  14. <a href="https://discord.com/invite/Pbv5PsqUSv"><img alt="Discord" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fdiscord.com%2Fapi%2Fv10%2Finvites%2FPbv5PsqUSv%3Fwith_counts%3Dtrue&query=%24.approximate_presence_count&label=Discord&suffix=%20online&logo=discord&logoColor=white&color=5865F2"></a>
  15. </p>
  16. <a href="https://trendshift.io/repositories/22357" target="_blank"><img src="https://trendshift.io/api/badge/repositories/22357" alt="thesysdev%2Fopenui | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
  17. </div>
  18. OpenUI is a full-stack, framework-agnostic Generative UI framework built around a compact, streaming-first language. A framework-agnostic core powers first-party runtimes for React, Vue, Svelte, and Angular, and React additionally ships built-in component libraries and ready-to-use chat interfaces. OpenUI Lang uses up to 67% fewer tokens than JSON.
  19. <div align="center">
  20. [Docs](https://openui.com) · [Playground](https://www.openui.com/playground) · [Discord](https://discord.com/invite/Pbv5PsqUSv) · [Contributing](./CONTRIBUTING.md)
  21. </div>
  22. > **Important:** OpenUI has no official cryptocurrency, token, or coin. Any asset using the OpenUI name is unaffiliated with this project and is not endorsed by its maintainers.
  23. ---
  24. ## What is OpenUI
  25. <div align="center">
  26. <img src="./assets/demo.gif" alt="OpenUI Demo" width="100%">
  27. </div>
  28. At the center of OpenUI is **OpenUI Lang**: a compact, streaming-first language for model-generated UI. Instead of treating model output as only text, OpenUI lets you define components, generate prompt instructions from that component library, and render structured UI as the model streams.
  29. **Core capabilities:**
  30. - **OpenUI Lang** - A compact language for structured UI generation designed for streaming output.
  31. - **Built-in component libraries** - Charts, forms, tables, layouts, and more, ready to use or extend.
  32. - **Prompt generation from your component library** - Generate model instructions directly from the components you allow.
  33. - **Streaming renderer** - Parse and render model output progressively in React, Vue, Svelte, or Angular as tokens arrive.
  34. - **Chat and app surfaces** - Use the same foundation for assistants, copilots, and broader interactive product flows.
  35. ## Quick Start
  36. ```bash
  37. npx @openuidev/cli@latest create --name genui-chat-app
  38. ```
  39. This is the fastest way to start with OpenUI. The scaffolded app gives you an end-to-end starting point with streaming, built-in UI, and OpenUI Lang support.
  40. What this gives you:
  41. - **OpenUI Lang support** - Start with structured UI generation built into the app flow.
  42. - **Library-driven prompts** - Generate instructions from your allowed component set.
  43. - **Streaming support** - Update the UI progressively as output arrives.
  44. - **Working app foundation** - Start from a ready-to-run example instead of wiring everything manually.
  45. ## How it works
  46. Your components define what the model can generate.
  47. ```mermaid
  48. flowchart LR
  49. A["Component Library"] --> B["System Prompt"]
  50. B --> C["LLM"]
  51. C --> D["OpenUI Lang Stream"]
  52. D --> E["Renderer"]
  53. E --> F["Live UI"]
  54. ```
  55. 1. Define or reuse a component library.
  56. 2. Generate a system prompt from that library.
  57. 3. Send that prompt to your model.
  58. 4. Stream OpenUI Lang output back to the client.
  59. 5. Render the output progressively with Renderer.
  60. Try it yourself in the [Playground](https://www.openui.com/playground): generate UI live with the default component library.
  61. ## Packages
  62. | Package | Best for | Description |
  63. | :--------------------------------------------------------------------------------------------------------- | :----------------------------------------------- | :----------------------------------------------------------------------------------------------------------- |
  64. | [`@openuidev/lang-core`](./packages/lang-core) | Framework-agnostic parsing and prompt generation | Core parser, prompt-generation, runtime-evaluation, and type layer with no React, Angular, Vue, or Svelte dependency |
  65. | [`@openuidev/langchain`](./packages/langchain) | LangChain and LangGraph agents | Agent transformer and server helpers that stream OpenUI through AG-UI |
  66. | [`@openuidev/react-lang`](./packages/react-lang) | React rendering runtimes | Define component libraries, generate prompts, and render streamed OpenUI Lang in React |
  67. | [`@openuidev/react-headless`](./packages/react-headless) | Bring-your-own React chat UI | Headless chat state, streaming adapters, and message format converters |
  68. | [`@openuidev/react-ui`](./packages/react-ui) | Fastest path to a full React chat experience | Prebuilt chat layouts, standalone UI primitives, and two built-in component libraries |
  69. | [`@openuidev/react-email`](./packages/react-email) | Email generation and HTML export | React Email component definitions plus prompt options for model-generated emails |
  70. | [`@openuidev/assistant-ui`](./packages/assistant-ui) | assistant-ui apps | Tool UI renderers and instruction wiring for streaming OpenUI Lang inside assistant-ui |
  71. | [`@openuidev/vue-lang`](./packages/vue-lang) | Vue integrations | Vue 3 bindings for defining model-renderable components and rendering streamed OpenUI Lang |
  72. | [`@openuidev/svelte-lang`](./packages/svelte-lang) | Svelte integrations | Svelte 5 bindings for defining model-renderable components and rendering streamed OpenUI Lang |
  73. | [`@openuidev/angular-lang`](./packages/angular-lang) | Angular integrations | Angular bindings for defining component libraries and rendering streamed OpenUI Lang |
  74. | [`@openuidev/browser-bundle`](./packages/browser-bundle) | CDN, iframe, and no-build embeds | Prebuilt browser bundle that ships the renderer, UI library, React, and styles as script + stylesheet assets |
  75. | [`@openuidev/a2ui`](./packages/a2ui) | A2UI with OpenUI Lang component payloads | Framework-agnostic A2UI v1.0 protocol client with an optional React renderer |
  76. | [`@openuidev/server`](./packages/server) | Server side utilities | Server utilities for OpenUI and OpenUI Gateway |
  77. | [`@openuidev/observability-cloud`](./packages/observability-cloud) | Hosted observability in the Thesys console | Cloud sink that batches OpenUI events and ships them to OpenUI Gateway |
  78. | [`@openuidev/cli`](./packages/openui-cli) | Project scaffolding and prompt generation | CLI for creating new apps and generating system prompts or JSON schema from a library definition |
  79. | [`@openuidev/openclaw-os-plugin`](https://github.com/thesysdev/openclaw-os/tree/main/packages/claw-plugin) | OpenClaw workspaces | OpenClaw OS plugin for serving OpenUI-powered OpenClaw workspaces |
  80. Common starting points:
  81. ```bash
  82. # React app with OpenUI rendering and prebuilt components
  83. npm install @openuidev/react-lang @openuidev/react-ui
  84. # Framework-agnostic backend or Edge prompt generation
  85. npm install @openuidev/lang-core
  86. # LangChain/LangGraph agent and server integration
  87. npm install @openuidev/langchain @langchain/langgraph
  88. # Vue, Svelte, or Angular runtime
  89. npm install @openuidev/vue-lang
  90. npm install @openuidev/svelte-lang
  91. npm install @openuidev/angular-lang
  92. # A2UI protocol with OpenUI Lang component payloads
  93. npm install @openuidev/a2ui zod
  94. ```
  95. ## Why OpenUI Lang
  96. OpenUI Lang is designed for model-generated UI that needs to be both structured and streamable.
  97. - **Streaming output** - Emit UI incrementally as tokens arrive.
  98. - **Token efficiency** - Up to 67% fewer tokens than equivalent JSON (see [benchmarks](./benchmarks)).
  99. - **Controlled rendering** - Restrict output to the components you define and register.
  100. - **Typed component contracts** - Define component props and structure up front with Zod schemas.
  101. ### Token efficiency benchmarks
  102. Measured with `tiktoken` (GPT-5 encoder). OpenUI Lang vs two JSON-based streaming formats across seven UI scenarios:
  103. | Scenario | Vercel JSON-Render | Thesys C1 JSON | OpenUI Lang | vs Vercel | vs C1 |
  104. | ------------------ | -----------------: | -------------: | ----------: | ---------: | ---------: |
  105. | simple-table | 340 | 357 | 148 | -56.5% | -58.5% |
  106. | chart-with-data | 520 | 516 | 231 | -55.6% | -55.2% |
  107. | contact-form | 893 | 849 | 294 | -67.1% | -65.4% |
  108. | dashboard | 2247 | 2261 | 1226 | -45.4% | -45.8% |
  109. | pricing-page | 2487 | 2379 | 1195 | -52.0% | -49.8% |
  110. | settings-panel | 1244 | 1205 | 540 | -56.6% | -55.2% |
  111. | e-commerce-product | 2449 | 2381 | 1166 | -52.4% | -51.0% |
  112. | **TOTAL** | **10180** | **9948** | **4800** | **-52.8%** | **-51.7%** |
  113. Full methodology and reproduction steps in [`benchmarks/`](./benchmarks).
  114. ## Documentation
  115. Detailed documentation is available at [openui.com](https://openui.com).
  116. ## Repository structure
  117. ```
  118. openui/
  119. ├── packages/
  120. │ ├── react-lang/ # Core runtime (parser, renderer, prompt generation)
  121. │ ├── react-headless/ # Headless chat state & streaming adapters
  122. │ ├── react-ui/ # Prebuilt chat layouts & component libraries
  123. │ ├── react-email/ # React Email component library for generated emails
  124. │ ├── assistant-ui/ # assistant-ui Tool UI renderers for OpenUI Lang
  125. │ ├── lang-core/ # Framework-agnostic parser, prompt, and runtime layer
  126. │ ├── langchain/ # LangChain/LangGraph streaming integration
  127. │ ├── vue-lang/ # Vue runtime bindings for OpenUI Lang
  128. │ ├── svelte-lang/ # Svelte runtime bindings for OpenUI Lang
  129. │ ├── angular-lang/ # Angular runtime bindings for OpenUI Lang
  130. │ ├── browser-bundle/ # Script-tag bundle for CDN / iframe / no-build embeds
  131. │ ├── a2ui/ # A2UI protocol with OpenUI Lang component payloads
  132. │ ├── server/ # Server utilities for OpenUI & OpenUI Gateway
  133. │ ├── observability/ # Framework-free observability event bus
  134. │ ├── observability-cloud/ # Cloud sink shipping OpenUI events to Thesys
  135. │ ├── devtools/ # Dev-only OpenUI Inspect widget
  136. │ └── openui-cli/ # CLI for scaffolding & prompt generation
  137. ├── examples/ # Cookbooks and integration reference implementations
  138. │ ├── agent-frameworks/
  139. │ ├── app-frameworks/
  140. │ ├── cookbooks/
  141. │ ├── design-systems/
  142. │ ├── harnesses/
  143. │ └── miscellaneous/
  144. ├── docs/ # Documentation site (openui.com)
  145. └── benchmarks/ # Token efficiency benchmarks
  146. ```
  147. Good places to start:
  148. - [openui.com](https://openui.com) for the full docs
  149. - [Quickstart](https://www.openui.com/docs/agent/getting-started/quickstart) to scaffold a working app
  150. - [`examples/README.md`](./examples/README.md) to find a focused reference implementation
  151. - [Cookbooks](https://www.openui.com/cookbooks) for complete walkthroughs with [runnable code](./examples/cookbooks)
  152. - [`CONTRIBUTING.md`](./CONTRIBUTING.md) if you want to contribute
  153. ## Community
  154. - [Discord](https://discord.com/invite/Pbv5PsqUSv) - Ask questions, share what you're building
  155. - [GitHub Issues](https://github.com/thesysdev/openui/issues) - Report bugs or request features
  156. ## How OpenUI compares
  157. | Feature | OpenUI | json-render (Vercel) | A2UI (Google) | CopilotKit OpenGenUI |
  158. | ---------------------- | -----------------: | -----------------------------: | ----------------: | -------------------: |
  159. | Tokens | 1x | 3x | 3x | 4x |
  160. | Latency (60 tok/s) | 4.9s | 14.2s | 14.2s | ~20s |
  161. | Streaming | Yes | Yes | Yes | Partial |
  162. | Consistent output | Yes | Yes | Yes | No |
  163. | Components | Library + custom | Library + custom | Custom only | None |
  164. | Multi-platform | Web, mobile, email | Web, mobile, PDF, email, video | Web, iOS, Android | Web |
  165. | Built-in data fetching | Yes | No | No | No |
  166. | Chat UI included | Yes | No | No | Yes |
  167. For more details, refer to the official [OpenUI Lang comparison documentation](https://www.openui.com/docs/openui-lang/comparison).
  168. ## Adopters
  169. A list of organizations and projects using OpenUI is maintained in [`ADOPTERS.md`](./ADOPTERS.md). If you're using OpenUI, please consider adding your organization; it helps the project gain momentum and helps other adopters find peers using OpenUI in similar contexts.
  170. ## Contributing
  171. Contributions are welcome. See [`CONTRIBUTING.md`](./CONTRIBUTING.md) for contribution guidelines and ways to get involved.
  172. ## Agent Skill
  173. OpenUI ships an [Agent Skill](https://agentskills.io) so AI coding assistants (Claude Code, Codex, Cursor, Copilot, etc.) can help you scaffold, build, and debug Generative UI apps using OpenUI Lang.
  174. The skill is maintained in the [`thesysdev/skills`](https://github.com/thesysdev/skills/tree/main/skills/openui) repository.
  175. ### Install
  176. ```bash
  177. # With the skills CLI (works across all agents)
  178. npx skills add thesysdev/skills --skill openui
  179. ```
  180. The skill covers component library design, OpenUI Lang syntax, system prompt generation, the Renderer, SDK packages, and debugging malformed LLM output.
  181. ## Feedback
  182. Found a bug or have an idea? [Open an issue](https://github.com/thesysdev/openui/issues), or send anonymous feedback from your terminal:
  183. ```bash
  184. npx @openuidev/cli feedback "Describe the problem or idea"
  185. ```
  186. Coding agents using the [OpenUI skill](#agent-skill) can send feedback for you. They remove personal details and code from the message and ask for your approval before sending it.
  187. ## License
  188. This project is available under the terms described in [`LICENSE`](./LICENSE).

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.