DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to scaffold a streaming generative UI chat app with Openui

Create a ready-to-run app that streams OpenUI Lang output and renders it as live UI.

Short answer: Open a terminal in the folder where you want the project; then 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. All steps.

Who it is forA developer who wants a working generative UI chat app to start from, without wiring streaming and rendering by hand.

The problemWiring model output, streaming, and a UI renderer from scratch takes time before any working prototype exists.

The outcomeA scaffolded app with OpenUI Lang support, library-driven prompts, and streaming UI updates that you can run and then extend.

What you need first

  • 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

Steps

  1. Open a terminal in the folder where you want the project.
  2. Run npx @openuidev/cli@latest create --name genui-chat-app
  3. Change into the new genui-chat-app folder and follow the install and start steps the CLI prints.
  4. Open the app and send a prompt to confirm UI renders as the response streams.
  5. Open the Playground at https://www.openui.com/playground to compare generated output with your app.

Prompt for your agent

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.

Caveat. The scaffold needs a model provider set up on your side, and the README does not describe which provider settings the generated app expects.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for thesysdev/openui and "Scaffold a streaming generative UI chat app"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer