产品

OpenUI 1.0 开源:让任意应用和 Agent 具备生成式 UI 能力

精选理由

OpenUI 1.0 开源了,前端工程师可以把自己应用的组件注册进去,让 GPT 或 Claude 甚至本地模型直接输出真实界面而不是一段文字,GitHub 上已有 11K stars。

OpenUI 1.0 开源发布,把 ChatGPT 内置的生成式 UI 能力带给其他应用和 Agent。

正文

开发者先注册应用自己的 UI 组件(如酒店卡片、地图、图表、预订表单),OpenUI 会将组件库转成系统提示词,告知 LLM 可用的组件范围。用户提问时,无论 GPT、Claude 还是自托管开源模型,都返回名为 OpenUI Lang 的紧凑标记语言,指定所需组件并填入数据。

渲染器在流式输出时解析标记、校验组件,最终用应用自身的设计系统绘制界面。项目已上架 GitHub,获得 11K stars。

原文 · rohanpaul_ai

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.

产业坐标与信源核验

本条情报归属 AITOP「产品」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」「中美大模型技术代差与商业化对照」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:OpenUI、生成式UI、GPT、Claude,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「rohanpaul_ai」(@rohanpaul_ai),经 AITOP 多维评分管线结构化提炼。

发现摘要或翻译有误? 告诉我们