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.

Estrellas
12,028
Forks
820
Issues abiertos
169
Último commit
hace 2 horas

¿Qué es?

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.

Funciones clave

  • 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.

Temas

Preguntas frecuentes

¿Qué es 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 es gratuito? ¿Qué licencia tiene?
openui es open source bajo la licencia MIT. Revisa los términos de la licencia antes de usarlo en productos comerciales.
¿openui sigue mantenido?
Mantenimiento activo. El último commit de openui fue el 19 oct 2026.
¿Para qué puedo 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.
¿Dónde consigo openui?
El código fuente y las instrucciones de instalación están en GitHub: https://github.com/thesysdev/openui

Resumen generado por IA a partir del README del proyecto. Las estadísticas de GitHub se actualizan a diario.

Proyectos relacionados