The Open Standard for Generative UI
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.
Docs · Playground · Discord · Contributing
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.
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.
Core capabilities:
npx @openuidev/cli@latest create --name genui-chat-app
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:
Your components define what the model can generate.
flowchart LR
A["Component Library"] --> B["System Prompt"]
B --> C["LLM"]
C --> D["OpenUI Lang Stream"]
D --> E["Renderer"]
E --> F["Live UI"]
Try it yourself in the Playground: generate UI live with the default component library.
| Package | Best for | Description |
|---|---|---|
@openuidev/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 |
@openuidev/langchain | LangChain and LangGraph agents | Agent transformer and server helpers that stream OpenUI through AG-UI |
@openuidev/react-lang | React rendering runtimes | Define component libraries, generate prompts, and render streamed OpenUI Lang in React |
@openuidev/react-headless | Bring-your-own React chat UI | Headless chat state, streaming adapters, and message format converters |
@openuidev/react-ui | Fastest path to a full React chat experience | Prebuilt chat layouts, standalone UI primitives, and two built-in |
No good first issue or help wanted issues are currently available.
Thank you for your interest in contributing to OpenUI. We want contributions to be easy to start, clear to review, and aligned with the direction of the project.
Please open an issue before opening a pull request.
This applies to all contributions, including bug fixes, documentation changes, features, refactors, examples, and package changes. Once a maintainer has approved the issue and confirmed the direction, you can open a pull request linked to that issue.
This helps us avoid duplicate work, keep the project direction coherent, and make sure contributors do not spend time on changes that may not be accepted.
Pull requests without an approved issue may be closed so the discussion can happen in the issue first.
Issues marked good first issue or help wanted are intended for community contributors. If you want to work on one of these issues, comment on the issue so maintainers and other contributors know you are interested.
If you are unsure where to start, want feedback on an idea, or need help with an issue, join our Discord. The maintainers and community can help you choose a good first issue, clarify the expected behavior, or review your approach before you begin.
If your pull request has been merged, message anyone with the @admin role in Discord and we will give you the Contributor role in the server.
OpenUI is a pnpm workspace. Packages live in the packages/ directory.
Install dependencies:
pnpm install
Run commands for a specific package with pnpm --filter:
pnpm --filter @openuidev/react-lang test
pnpm --filter @openuidev/react-lang lint:check
pnpm --filter @openuidev/react-lang build
Use the package name that matches the area you are changing.
The OpenUI agent skill is maintained in the thesysdev/skills repository, which is its source of truth.
To propose changes to the skill or its supporting references, open a pull request in thesysdev/skills.
Before opening a pull request, please make sure that:
packages/, a changeset is
included: run pnpm changeset, pick the affected packages and bump levels
(patch for fixes and compatible changes; minor for breaking changes — all
packages are 0.x), and commit the generated file. Releases are automated
from these; see .changeset/README.md.Use GitHub Issues to report bugs. Please include:
Use GitHub Issues for feature requests. Please include:
Please keep contributions focused and easy to review. Large refactors, public API changes, dependency changes, or changes that affect multiple packages should be discussed carefully in the issue before implementation starts.
When changing user-facing behavior, include enough context in the pull request for reviewers to understand the impact. For UI changes, screenshots or short recordings are helpful.
By participating in this project, you agree to follow our Code of Conduct.