产品

Thesys 发布开源框架 OpenUI 1.0,让智能体生成可交互界面

精选理由

Thesys 开源的 OpenUI 1.0 能让智能体边回答边生成界面,token 用量比 Vercel json-render 少 58%,还能接应用自己的代码。

Thesys 发布 OpenUI 1.0,这是一个开源框架,让智能体在应用内直接生成可用的界面。在其自建的 46 个界面简报基准上,OpenUI 对比 Vercel 的 json-render 少用 58% 的输出 token,对比 Google 的 A2UI 少用 52%。它让模型编写一种紧凑的 UI 语言,在回答还在生成时就能渲染到屏幕上。1.0 版本新增自定义动作功能,生成内容中的按钮可以调用应用自身的代码,且支持任意模型,包括跑在自托管硬件上的开源权重模型。

原文 · TestingCatalog

Thesys has released OpenUI 1.0, its open-source framework that lets agents create working interfaces inside apps.

On Thesys' own benchmark of 46 interface briefs across six models, OpenUI used 58% fewer output tokens than Vercel's json-render and 52% fewer than Google's A2UI.

> OpenUI allows models to write a compact UI language that renders on screen while the answer is still being generated.

> It works with any model, including open-weight ones running on a team's own hardware.

> Version 1.0 adds custom actions, allowing buttons inside a generated answer to activate an app's own code.