ag-ui
17,097
Stars
1,568
Forks
93
Watchers
574
Open Issues
MIT
许可证
TypeScript
语言
2025-05-07
创建时间
2026-11-10
最近更新
项目能做什么
Agent 与用户交互协议(AG-UI),用于将各类 AI Agent 无缝接入前端应用程序。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# <img src="https://github.com/user-attachments/assets/ebc0dd08-8732-4519-9b6c-452ce54d8058" alt="ag-ui Logo" width="22"/> 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. --- <div align="center"> <a href="https://trendshift.io/repositories/27961?utm_source=trendshift-badge&utm_medium=badge&utm_campaign=badge-trendshift-27961" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/trendshift/repositories/27961/daily" alt="ag-ui-protocol%2Fag-ui | Trendshift" width="250" height="55"/></a> </div> <br> [](https://www.npmjs.com/package/@ag-ui/core)   <a href="https://discord.gg/Jd3FzfdJa8" target="_blank"> Join our Discord → </a> <a href="https://ag-ui.com/" target="_blank"> Read the Docs → </a> <a href="https://dojo.ag-ui.com/" target="_blank"> Go to the AG-UI Dojo → </a> <a href="https://x.com/CopilotKit" target="_blank"> Follow us → </a> <img width="1600" height="680" alt="1600x680" src="https://github.com/user-attachments/assets/00ec7366-713e-443f-a8f0-8db52ad28ef4" /> ## 🚀 Getting Started Create a new AG-UI application in seconds: ```bash npx create-ag-ui-app my-agent-app ``` <h3> Useful Links:</h3> - [The AG-UI Dojo](https://dojo.ag-ui.com/) - [Build AG-UI-powered applications(Quickstart)](https://docs.ag-ui.com/quickstart/applications) - [Build new AG-UI framework integrations (Quickstart)](https://go.copilotkit.ai/agui-contribute) - [Book a call to discuss an AG-UI integration with a new framework](https://calendly.com/markus-copilotkit/ag-ui) - [Join the Discord Community](https://discord.gg/Jd3FzfdJa8) ## 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 →](https://go.copilotkit.ai/ag-u阅读完整原文
商业机会分析 AI 生成
Agent UI Pro 高级商业组件库与模板套件
| 产品构想 | 基于 AG-UI 协议构建高颜值、开箱即用的商业级 UI 组件库与模板市场,类似 Tailwind UI / Shadcn Pro 模式。 |
| 核心功能 | 多Agent协同画布组件、复杂HITL(人工介入确认/表单)交互块、流式富文本与图表混合渲染、Next.js/React/Vue企业级起步模板。 |
| 目标用户 | 独立开发者、初创企业技术负责人、外包服务团队。 |
| 难度/周期 | 中等 · 1-2个月 · 成本:< $500(主要是域名、Demo展示服务器托管) |
| 收费模式 | 一次性代码授权购买(单开发者/团队商业授权)或年费更新订阅。 |
| 竞争风险 | 开源社区快速涌现免费替代品,需持续保持UI质感和组件丰富度的壁垒。 |
| 依据 | AI推测 |
AG-UI Inspector:智能体前端交互调试与模拟平台
| 产品构想 | 针对 AG-UI 协议的开发者调试工具(类似针对 Agent UI 的 Postman + Storybook),支持协议抓包、状态模拟与UI回放。 |
| 核心功能 | AG-UI协议Payload模拟发送器、交互状态时间旅行与回放、协议Schema自动验证、UI异常报错捕获与诊断看板。 |
| 目标用户 | Agent后端开发者、前端联调工程师、QA测试人员。 |
| 难度/周期 | 中等偏高 · 2-3个月 · 成本:< $1000(前期云服务器及存储成本) |
| 收费模式 | Freemium SaaS(个人版免费,团队协作、云端用例保存与持续集成测试收费)。 |
| 竞争风险 | 协议本身演进频繁导致维护成本高,工具市场受限于该协议的实际普及率。 |
| 依据 | 尚需验证的假设 |
嵌入式 Copilot 快速接入云组件 (Drop-in Agent UI SDK)
| 产品构想 | 为传统 SaaS 网站提供只需一行代码嵌入的高交互式 Agent 悬浮窗/侧边栏,全面兼容 AG-UI 协议规范。 |
| 核心功能 | 极简JS脚本嵌入、自带AG-UI协议解析引擎、自定义主题样式生成器、内置鉴权与前端上下文捕获器。 |
| 目标用户 | 希望快速为产品增加 AI Copilot 的中小型 SaaS 厂商、企业内网系统运维团队。 |
| 难度/周期 | 中等 · 1-2个月 · 成本:< $300(前端静态分发与微服务API) |
| 收费模式 | 按月度活跃终端用户数(MAU)或交互会话量梯级订阅收费。 |
| 竞争风险 | 竞品厂商众多,需突出基于标准协议的轻量免绑定优势。 |
| 依据 | 数据支持的判断 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| CopilotKit/CopilotKit | 中文介绍暂未生成 The Frontend Stack for Agents & Generative UI. React, Angula |
38,607 | TypeScript |
| cheshire-cat-ai/core | 中文介绍暂未生成 AI agent microservice |
3,099 | Python |
| Idun-Group/idun-agent-platform | 中文介绍暂未生成 🟪 Open-source runtime that ships any LangGraph or Google ADK |
204 | Python |
| BabyJ723/blast-ON | 中文介绍暂未生成 # Awesome Keycloak [ |
| 许可证 | MIT |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
快速开始(以仓库 README 为准)
git clone https://github.com/ag-ui-protocol/ag-ui.git cd ag-ui # 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。