正在打开每日关注
正在打开每日关注
CopilotKit 发布 AG-UI 1.0,用版本化事件契约标准化任意 Agent 与任意前端应用的双向通信。
Introducing AG-UI 1.0 The open protocol for how ANY agent communicates with ANY application. Now with a stable, versioned contract. Features included in 1.0: 1. Metadata - send backend data to the UI 2. Subagents - expose delegated agent work 3. Interrupts + resumption 3. Run outcomes and token usage 4. Forward compatibility Capabilities that have been part of AG-UI (streaming, tool calls, shared state, reasoning etc) are still covered. Thank you to those who shaped 1.0 🪁 Including builders at @Anthropic, @Google, @Microsoft, @Pydantic, @TanStack and more. Their feedback led directly to several critical improvements in the final release. AG-UI is built with those who build on it. 👉 Read more: https://t.co/vaJh2QGEDg The 1.0 spec will remain unchanged, while future protocol evolution will happen through new draft specifications and open community discussion, led by @CopilotKit. More details below
是什么:AG-UI 1.0 是由 CopilotKit 主导的开放协议首个稳定版本,标准化 Agent 后端与用户界面之间的双向事件流,已被 Google、Microsoft、Amazon、Oracle 采用,并得到 LangChain、Mastra、Claude Managed Agents 等主流框架支持。
核心设计:1.0 规范由两部分构成——JSON Schema 精确定义每种事件的字段,规范文本定义事件时序、运行生命周期与错误处理,并明确生产者/消费者各自责任;TypeScript、Python、.NET SDK 直接从 Schema 生成。新特性包括:子代理事件以 subagentRunId 打标从而在 UI 中分卡展示、自定义 metadata 透传(如模型名、trace id)、多模态工具结果(图片/音频/视频/文档)、人机协同中断与恢复、token 用量上报。1.0 规范承诺冻结,后续演进走新草案与社区讨论,保障向前兼容。
关键洞察:MCP 解决 Agent 连接工具、A2A 解决 Agent 互联,AG-UI 补齐第三块拼图——Agent 连接用户界面。它把各框架私有的流式解析抽象为统一事件契约,前端 SDK 可校验并复用,同一 Agent 即可运行于 Web、移动端、Slack 等任意表面,消除按框架维护胶水代码的负担。
边界与风险:协议由 CopilotKit 主导,长期治理中性与生态中立仍待观察;规范与 Schema 冲突时以 Schema 为准,实现方需自行承担合规责任。视频画面仅为宣传标题卡,不代表设计价值。