跳到正文
Rohan Paul· X:Rohan Paul (@rohanpaul_ai)·· 2 小时前AI 评分62

OpenUI 1.0 发布,把生成式 UI 带给所有 Agent 和模型

AI 导读

OpenUI 1.0 发布,把 ChatGPT 内置的生成式 UI 能力带给其他应用和 Agent,并支持闭源或开源模型,包括本地硬件上运行的模型。开发者把自家 UI 组件(酒店卡片、地图、图表、预订表单)注册到 OpenUI,它会将组件库转成系统提示词,模型用 OpenUI Lang 标记语言指定所需组件并填充数据,渲染器在流式输出中校验并绘制成应用自身设计系统的界面。

正文

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.

来源:Rohan Paul · x.com