ag-ui-protocol / ag-ui
Title: ag-ui-protocol / ag-ui
AG-UI: The Agent-User Interaction Protocol AG-UI is an open, lightweight, event-based protocol that standardizes how AI agents connect to user-facing applications. Built for simplicity and flexibility, it enables seamless integration between AI agents, real time user context, and user interfaces. Join our Discord → Read the Docs → Go to the AG-UI Dojo → Follow us → 🚀 Getting Started Create a new AG-UI application in seconds: npx create-ag-ui-app my-agent-app Useful Links: The AG-UI Dojo Build AG-UI-powered applications(Quickstart) Build new AG-UI framework integrations (Quickstart) Book a call to discuss an AG-UI integration with a new framework Join the Discord Community
AG-UI:智能体-用户交互协议。AG-UI 是一项开放、轻量级、基于事件的协议,旨在标准化 AI 智能体连接用户界面应用的方式。它专为简洁与灵活性而构建,实现了 AI 智能体、实时用户上下文与用户界面之间的无缝集成。加入我们的 Discord → 阅读文档 → 前往 AG-UI Dojo → 关注我们 → 🚀 快速入门:在几秒钟内创建一个新的 AG-UI 应用:npx create-ag-ui-app my-agent-app。实用链接:AG-UI Dojo、构建 AG-UI 支持的应用(快速入门)、构建新的 AG-UI 框架集成(快速入门)、预约通话讨论 AG-UI 与新框架的集成、加入 Discord 社区。
What is AG-UI? AG-UI is an open, lightweight, event-based protocol for agent-human interaction, designed for simplicity & flexibility: During agent executions, agent backends emit events compatible with one of AG-UI’s ~16 standard event types Agent backends can accept one of a few simple AG-UI compatible inputs as arguments AG-UI includes a flexible middleware layer that ensures compatibility across diverse environments: Works with any event transport (SSE, WebSockets, webhooks, etc.) Allows for loose event format matching, enabling broad agent and app interoperability It also ships with a reference HTTP implementation and default connector to help teams get started fast. Learn more about the specs →
什么是 AG-UI?AG-UI 是一种用于智能体与人类交互的开放、轻量级、基于事件的协议,旨在实现简洁与灵活:在智能体执行期间,智能体后端会发出与 AG-UI 约 16 种标准事件类型之一兼容的事件;智能体后端可以接受几种简单的 AG-UI 兼容输入作为参数。AG-UI 包含一个灵活的中间件层,确保在不同环境下的兼容性:适用于任何事件传输方式(SSE、WebSockets、webhooks 等);允许松散的事件格式匹配,从而实现广泛的智能体与应用互操作性。它还附带了参考 HTTP 实现和默认连接器,以帮助团队快速上手。了解更多规格信息 →
Why AG-UI? AG-UI was developed based on real-world requirements and practical experience building in-app agent interactions. Where does AGUI fit in the agentic protocol stack? AG-UI is complementary to the other 2 top agentic protocols MCP gives agents tools A2A allows agents to communicate with other agents AG-UI brings agents into user-facing applications 🚀 Features 💬 Real-time agentic chat with streaming 🔄 Bi-directional state synchronization 🧩 Generative UI and structured messages 🧠 Real-time context enrichment 🛠️ Frontend tool integration 🧑💻 Human-in-the-loop collaboration
为什么选择 AG-UI?AG-UI 是基于现实世界的需求以及构建应用内智能体交互的实践经验而开发的。AG-UI 在智能体协议栈中处于什么位置?AG-UI 与其他两大顶级智能体协议互补:MCP 为智能体提供工具,A2A 允许智能体与其他智能体通信,而 AG-UI 则将智能体引入面向用户的应用程序中。🚀 功能:💬 带有流式传输的实时智能体聊天;🔄 双向状态同步;🧩 生成式 UI 和结构化消息;🧠 实时上下文丰富;🛠️ 前端工具集成;🧑💻 人机协作。
🛠 Supported Integrations AG-UI was born from CopilotKit’s initial partnership with LangChain and CrewAI - and brings the incredibly popular agent-user-interactivity infrastructure to the wider agentic ecosystem. 1st party = the platforms that have AG‑UI built in and provide documentation for guidance. Frameworks Framework Status AG-UI Resources Built-in Agent ✅ Supported ➡️ Docs 🤝 Partnerships Framework Status AG-UI Resources LangChain ✅ Supported ➡️ Docs 🎮 Demos CrewAI ✅ Supported ➡️ Docs 🎮 Demos 🧩 1st Party Framework Status AG-UI Resources Microsoft Agent Framework ✅ Supported ➡️ Docs 🎮 Demos Google ADK ✅ Supported ➡️ Docs 🎮 Demos Google Antigravity ✅ Supported ➡️ Docs 🎮 Demos AWS Strands Agents ✅ Supported ➡️ Docs 🎮 Demos Mastra ✅ Supported ➡️ Docs 🎮 Demos Pydantic AI ✅ Supported ➡️ Docs 🎮 Demos Agno ✅ Supported ➡️ Docs 🎮 Demos LlamaIndex ✅ Supported ➡️ Docs 🎮 Demos AG2 ✅ Supported ➡️ Docs 🎮 Demos AWS Bedrock Agents 🛠️ In Progress – 🌐 Community Framework Status AG-UI Resources Claude Agent SDK ✅ Supported 🎮 Demos Claude Managed Agents SDK ✅ Supported 🎮 Demos Langroid ✅ Supported 🎮 Demos Omnara ✅ Supported ➡️ Docs 🎮 Demos OpenAI Agents SDK 🛠️ In Progress – Cloudflare Agents ✅ Supported ➡️ Integration Agent Interaction Protocols Protocols Status AG-UI Resources Integrations A2A ✅ Supported ➡️ Docs Partnership Infrastructure / Deployment Platform Status AG-UI Resources Integrations Amazon Bedrock AgentCore ✅ Supported ➡️ Docs 1st Party Specification (standard) Framework Status AG-UI Resources Oracle Agent Spec ✅ Supported ➡️ Docs 🎮 Demos Generative UI Framework Status AG-UI Resources MCP Apps ✅ Supported ➡️ Docs 🎮 Demos
🛠 支持的集成:AG-UI 源于 CopilotKit 与 LangChain 和 CrewAI 的初步合作,并将这种极受欢迎的智能体-用户交互基础设施带入了更广泛的智能体生态系统。第一方(1st party)指内置了 AG-UI 并提供指导文档的平台。框架、合作伙伴、第一方、智能体交互协议、基础设施/部署平台、规格(标准)、生成式 UI 等分类下,列出了包括 LangChain、CrewAI、Microsoft Agent Framework、Google ADK、AWS Strands Agents、Mastra、Pydantic AI、Agno、LlamaIndex、AG2、Claude Agent SDK、Langroid、Omnara、Amazon Bedrock AgentCore、Oracle Agent Spec、MCP Apps 等在内的多种已支持或进行中的集成状态及资源链接。
SDKs SDK Status AG-UI Resources Integrations Kotlin ✅ Supported ➡️ Getting Started Community Golang ✅ Supported ➡️ Getting Started Community Dart ✅ Supported ➡️ Getting Started Community Java ✅ Supported ➡️ Getting Started Community Rust ✅ Supported ➡️ Getting Started Community Ruby ✅ Supported ➡️ Getting Started Community C++ ✅ Supported ➡️ GitHub Source Community .NET ✅ Supported ➡️ Getting Started Community Nim 🛠️ In Progress ➡️ PR Community Flowise 🛠️ In Progress ➡️ GitHub Source Community Langflow 🛠️ In Progress ➡️ GitHub Source Community Clients Client Status AG-UI Resources Integrations CopilotKit ✅ Supported ➡️ Getting Started 1st Party Terminal + Agent ✅ Supported ➡️ Getting Started Community Chat platforms (Slack, Microsoft Teams) ✅ Supported ➡️ Channels SDK 🎮 OpenTag example 1st Party React Native ✅ Supported ➡️ Example 1st Party OpenBot ✅ Supported ➡️ Getting Started 🎮 Source 1st Party View all supported integrations →
SDK 与客户端:支持的 SDK 包括 Kotlin、Golang、Dart、Java、Rust、Ruby、C++、.NET 等,Nim、Flowise 和 Langflow 处于进行中状态。客户端方面,CopilotKit、Terminal + Agent、聊天平台(Slack、Microsoft Teams)、React Native 和 OpenBot 均已支持。查看所有支持的集成 →
Examples Hello World App Video: agui-hello-world-2.mp4 https://agui-demo.vercel.app/ The AG-UI Dojo (Building-Blocks Viewer) The AG-UI Dojo demonstrates AG-UI’s core building blocks through simple, focused examples—each just 50-200 lines of code. View the source code for the Dojo and all framework integrations here. dojo.mp4 🙋🏽♂️ Contributing to AG-UI Check out the Contributing guide Biweekly AG-UI Working Group 📅 Follow the CopilotKit Luma Events Calendar Roadmap Check out the AG-UI Roadmap to see what’s being built and where you can jump in. 📄 License AG-UI is open source software licensed as MIT.
示例:Hello World 应用视频及演示链接。AG-UI Dojo(构建块查看器)通过简单、专注的示例(每个仅 50-200 行代码)展示了 AG-UI 的核心构建块。在此处查看 Dojo 和所有框架集成的源代码。🙋🏽♂️ 为 AG-UI 做贡献:查看贡献指南;双周 AG-UI 工作组;📅 关注 CopilotKit Luma 活动日历。路线图:查看 AG-UI 路线图,了解正在构建的内容以及您可以参与的部分。📄 许可证:AG-UI 是基于 MIT 许可的开源软件。