OpenUI 团队发布 OpenUI 1.0,将 ChatGPT 式生成式 UI 开放给其他应用和 Agent。开发者注册自有组件(酒店卡片、地图、图表等)后,LLM 以 OpenUI Lang 标记语言指定所需组件并填入数据,渲染器流式校验并用应用自身设计系统绘制界面,支持闭源、开源及自托管模型。该开源项目已有约 11K GitHub stars。
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.
For 30 years, technology has moved in one direction: turning information into intuitive interfaces Somehow, the smartest software we’ve ever built took us back to a textbox We’ve spent the last 2 years at @openuidev trying to fix that. 6 months ago we open-sourced it: 10K+ GitHub stars, 6M+ downloads ChatGPT shipped Intelligent UI and showed everyone what it looks like Today we’re releasing OpenUI 1.0 bringing it to every other agent在 X 查看被引用的帖子
来源:Rohan Paul · x.com