What do you want to do?
5 use cases
-
Scaffold a streaming generative UI chat app
Create a ready-to-run app that streams OpenUI Lang output and renders it as live UI.
- Openui
- Software and DevOps
- Intermediate
View prompt
Using the thesysdev/openui repo, scaffold a new app named genui-chat-app in <target folder> by running `npx @openuidev/cli@latest create --name genui-chat-app`. Report the start command the CLI prints and confirm that a test prompt in the running app produces streamed UI rather than plain text.
-
Add streamed OpenUI rendering to a React app
Install the React runtime and prebuilt chat UI to render model output in an existing app.
- Openui
- Software and DevOps
- Intermediate
View prompt
In the thesysdev/openui repo, use the @openuidev/react-lang and @openuidev/react-ui packages to add a streamed chat panel to the React project at <target project path>. Expected output is a running chat view that renders OpenUI Lang output; verify by sending one test prompt and confirming a component renders rather than raw text.
-
Generate model prompts from a component list on the server
Use the framework-agnostic core to build system prompts on a backend or Edge function.
- Openui
- Software and DevOps
- Advanced
View prompt
Using the thesysdev/openui repo, add @openuidev/lang-core to the backend at <target backend path> and generate a system prompt from a component library that has at least two components. Expected output is the prompt text; verify that it lists only the components you defined.
-
Stream a LangChain agent's output as live UI
Connect a LangChain or LangGraph agent to OpenUI through AG-UI for streamed UI responses.
- Openui
- Software and DevOps
- Advanced
View prompt
In the thesysdev/openui repo, wire the @openuidev/langchain transformer into the LangGraph agent at <target agent path> so its output streams as OpenUI Lang over AG-UI. Expected output is a streamed UI response in the client; verify by running one request that returns a table or form component.
-
Render streamed OpenUI in a Vue, Svelte, or Angular app
Install the matching runtime to render OpenUI Lang output in a non-React front end.
- Openui
- Software and DevOps
- Intermediate
View prompt
Using the thesysdev/openui repo, install the matching runtime for the project at <target project path> (vue-lang, svelte-lang, or angular-lang) and render one streamed OpenUI Lang response. Expected output is a visible model-generated component; verify that it appears progressively rather than all at once.
How to use Openui
- Check you have what it needs: Node.js with npm and npx, since the README install and scaffold commands use them; An LLM provider you can call from your backend, because OpenUI sends a generated system prompt to your model; A component library to use or define; the README provides built-in libraries in @openuidev/react-ui.
- Open thesysdev/openui on GitHub and read the README and license.
- Open a terminal in the folder where you want the project.
- Run
npx @openuidev/cli@latest create --name genui-chat-app - Change into the new genui-chat-app folder and follow the install and start steps the CLI prints.
- Open the app and send a prompt to confirm UI renders as the response streams.
These steps come from our top use case, Scaffold a streaming generative UI chat app, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forFront-end and full-stack developers building AI chat assistants or copilots who need model output rendered as live UI instead of plain text.
- Why it is hot
- LanguageTypeScript
- Sourcegithub.com/thesysdev/openui · Back to Hot repos
Requirements
- Node.js with npm and npx, since the README install and scaffold commands use them
- An LLM provider you can call from your backend, because OpenUI sends a generated system prompt to your model
- A component library to use or define; the README provides built-in libraries in @openuidev/react-ui
Maintain Openui? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/thesysdev-openui/?ref=badge)
Questions about Openui
What is Openui?
OpenUI is an open, framework-agnostic Generative UI framework that lets models stream structured UI, built around the compact OpenUI Lang and runtimes for React, Vue, Svelte, and Angular. It is an open-source project on GitHub: https://github.com/thesysdev/openui.
Who is Openui for?
Front-end and full-stack developers building AI chat assistants or copilots who need model output rendered as live UI instead of plain text.
What can I do with Openui?
5 use cases so far, for example: Scaffold a streaming generative UI chat app; Add streamed OpenUI rendering to a React app; Generate model prompts from a component list on the server. Each has steps and a copy-paste agent prompt.
What do I need to run Openui?
Node.js with npm and npx, since the README install and scaffold commands use them; An LLM provider you can call from your backend, because OpenUI sends a generated system prompt to your model; A component library to use or define; the README provides built-in libraries in @openuidev/react-ui.
What are alternatives to Openui?
Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
Is Openui safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.