Repolode
thesysdev

thesysdev/openui

A framework-agnostic Generative UI toolkit built around OpenUI Lang, a compact streaming language that lets LLMs produce renderable UI from your own component library.

Estrelas
12,028
Forks
820
Issues abertas
169
Último commit
há 2 horas

O que é?

OpenUI is a Generative UI framework for letting language models produce interface elements instead of plain text. Its core is OpenUI Lang, a compact streaming-first language. Developers define the components a model may use, the toolkit generates a system prompt from that library, and the streamed model output is parsed and rendered progressively as tokens arrive.

The framework-agnostic core is paired with runtimes for React, Vue, Svelte, and Angular. The React packages also include prebuilt chat layouts and two built-in component libraries covering charts, forms, tables, and layouts. Additional packages target LangChain and LangGraph agents, the A2UI protocol, email generation with React Email, and a browser bundle for CDN or iframe embeds.

The project reports that OpenUI Lang uses up to 67% fewer tokens than equivalent JSON, with a benchmark suite included in the repository. A CLI scaffolds a working chat app with a single command.

Recursos principais

  • 01Streaming renderer that displays model-generated UI progressively as tokens arrive.
  • 02Prompt generation directly from the component library you allow the model to use.
  • 03Runtimes for React, Vue, Svelte, and Angular on a framework-agnostic core.
  • 04Prebuilt React chat layouts and built-in charts, forms, tables, and layout components.
  • 05LangChain and LangGraph integration that streams OpenUI through AG-UI.
  • 06Zod-based typed component contracts for props and structure.

Casos de uso

  • Building an AI assistant or copilot that answers with interactive charts, forms, or tables.
  • Restricting model output to a vetted set of components in a production product.
  • Adding generated UI to a LangGraph agent backend with a React frontend.
  • Embedding generated interfaces in an iframe or static page via the browser bundle.

Tópicos

Perguntas frequentes

O que é openui?
A framework-agnostic Generative UI toolkit built around OpenUI Lang, a compact streaming language that lets LLMs produce renderable UI from your own component library. OpenUI is a Generative UI framework for letting language models produce interface elements instead of plain text. Its core is OpenUI Lang, a compact streaming-first language. Developers define the components a model may use, the toolkit generates a system prompt from that library, and the streamed model output is parsed and rendered progressively as tokens arrive.
openui é gratuito? Qual é a licença?
openui é open source sob a licença MIT. Confira os termos da licença antes de usá-lo em produtos comerciais.
openui ainda é mantido?
Manutenção ativa. O último commit de openui foi em 19 de out. de 2026.
Para que posso usar openui?
Building an AI assistant or copilot that answers with interactive charts, forms, or tables. Restricting model output to a vetted set of components in a production product. Adding generated UI to a LangGraph agent backend with a React frontend. Embedding generated interfaces in an iframe or static page via the browser bundle.
Onde consigo openui?
O código-fonte e as instruções de instalação estão no GitHub: https://github.com/thesysdev/openui

Resumo gerado por IA a partir do README do projeto. As estatísticas do GitHub são atualizadas diariamente.

Projetos relacionados