技巧精选73°

AG-UI协议v1.0发布

精选理由

AG-UI协议v1.0来了,Anthropic、Google等大厂都在用,一个适配器就能让你的智能体接入所有应用。

AG-UI协议v1.0正式发布,这是Agent与前端交互的开源社区标准。该协议支持任何前端界面和聊天应用,兼容A2UI、MCP应用等多种生成式UI。新版本增加了JSON schema支持,可精确定义事件行为、运行生命周期和错误处理。

原文 · Ate-a-Pi

To integrate an agent with any app:

Use the AG-UI protocol. AG-UI stands for "Agent-User Interaction Protocol".

Every big-name company is already using AG-UI: Anthropic, Google, AWS, Microsoft, LangChain, Mastra, Pydantic, etc.

This is the open, community-driven standard for how agents and frontends communicate.

Their new v1.0 is out. Here is what you get:

• It works with any frontend: web, mobile, terminal, etc. • It works with any chat app: Slack, Teams, etc. • It supports all types of generative UI: A2UI, MCP apps, etc. • It supports subagents, shared state, interrupts • End-to-end interaction data you can learn from

Their specification now supports a JSON schema to define events and how they behave: their order, run lifecycle, and errors. It's precise enough for anyone to implement.

If you have a custom agent or harness, you can write one adapter that outputs AG-UI events, and plug it into everything built on top. If you want to take your agent to production, @CopilotKit provides the full UI layer, plus threads, agent analytics, automatic learning, and more.

Full developer guide for AG-UI: https://t.co/eTs6HjfDZi

Thanks to the team for partnering with me on this post.