跳到正文
原文
rohanpaul_ai· @rohanpaul_ai · X·· 3 小时前AI 评分59

OpenUI 1.0 让任意模型为应用生成原生设计界面

AI 导读

OpenUI 1.0 把 ChatGPT 式的生成式 UI 能力带到其他应用和 Agent,支持任意闭源或开源模型,包括本地运行的模型。

正文 · 原文

This is a good news for front-end engineers.

ChatGPT has generative UI built in, and OpenUI 1.0 brings it to every other app and agent.

It also works with any model, closed or open, including ones running on your own hardware, so the UI layer isn’t tied to a single provider.

The developer picks the components, the model picks what the answer needs, OpenUI renders it in the product’s own design.

The developer registers the app’s own UI components (hotel cards, maps, charts, booking forms) with OpenUI, which converts that component library into a system prompt telling the LLM exactly what it may use.

When a user asks something, the LLM, whether GPT, Claude or a self-hosted open model, replies in OpenUI Lang, a compact markup that names the components the answer needs and fills them with data, instead of writing prose.

OpenUI’s renderer reads that markup as it streams, checks it against the registered components, and draws the screen with the app’s real components, so the answer arrives as working interface in the app’s own design system.

Check out their GitHub (11K stars) in comment.

来源:rohanpaul_ai · x.com