原文
| ||||||||||
| ||||||||||
![]() |
原始链接: https://news.ycombinator.com/item?id=43974484
AG-UI(Agent-User Interaction Protocol,代理-用户交互协议)已正式发布,旨在标准化AI代理与前端应用程序的连接方式。AG-UI 是CopilotKit与多个代理框架合作的成果,它是一个开放且轻量级的基于事件的协议,旨在通过双向桥接统一后端代理与前端应用之间的连接。它支持任何事件传输机制(SSE、WebSockets、Webhook),并标准化了16种常见代理-用户交互的事件类型。 AG-UI 填补了代理通信中的特定空白,专注于应用内代理与人的交互,补充了像MCP(代理-工具)和A2A/ACP(代理-代理)这样的协议。此次发布受到了广泛好评,并且正在组建一个工作组来进一步发展该协议。AG-UI协议旨在解决以客户端无关的方式显示代理活动的需求,例如工作、思考、调用工具、遇到错误或需要人工输入/批准。
| ||||||||||
| ||||||||||
![]() |
AG-UI is an open, lightweight, event-based protocol that standardizes how AI agents connect to fronted-end applications.
After a year of one-off, CopilotKit <> Agent frameworks collaborations, we decided to ship a standard, and open way for agents to connect to apps.
We are launching with day 0 integrations with LangChain, Mastra, CrewAI and AG2 with more partnerships on the way.
How AG-UI works: - Creates a unified, two-way bridge between backend agents and frontend apps - Works with any event transport (SSE, WebSockets, webhooks) - Supports 16 standardized event types for common agent-user interactions
Where AG-UI fits in the agent protocol landscape: - MCP: for agent←→tools communication - A2A/ACP: for agent←→agent communication - AG-UI: for agent←→human interaction in applications
We launched the protocol yesterday, and have been blown away by the reception. We have the first working group this Friday, to help expand and steer the direction of the protocol.
Check out the repo to get started!
reply