← Back to articles

NewsBy: toolsdevelopmentartificial intelligence

OpenUI builds interfaces on the fly and saves up to 67% of tokens

OpenUI turns a model response into a streaming interface with forms, tables, charts, and chats. The project supports React, Vue, Svelte, and Angular, while OpenUI Lang uses up to 67% fewer tokens than JSON.

AI news faster than on the site — on Telegram KARMAZIN MEDIA

OpenUI builds interfaces on the fly and saves up to 67% of tokens
Photo: KARMAZIN MEDIA
Media: KARMAZIN MEDIA

OpenUI turns model output into more than text, generating a structured interface. The developer specifies a component library, receives instructions for the model based on it, sends a request, and gradually displays the result as tokens arrive. The set includes forms, tables, charts, and ready made elements for chats.

You can start with the ready made Playground or a scaffolded application from the project. React has ready made component libraries and chat interfaces, while separate packages connect OpenUI Lang to Vue 3, Svelte 5, and Angular. The CLI can create applications and generate system prompts or JSON Schema from a library description.

OpenUI Lang is designed for streaming generation and, according to the project, requires up to 67% fewer tokens than equivalent JSON. However, the model can create only the components allowed in the library, so an arbitrary screen will not appear without prior configuration.

original