ag-ui-protocol/ag-ui
AG-UI: the Agent-User Interaction Protocol. Bring Agents into Frontend Applications.
TypeScript · ★ 20,127 · Fork 2,075 · 在 GitHub 查看
在手机上浏览源码、订阅每日 AI 趋势日报与项目架构深度解读:获取 CopoHub 客户端(iOS & HarmonyOS)→
GitHub Trending 上榜记录
ag-ui-protocol/ag-ui 已在 GitHub Trending 每日榜单上榜 5 天,最高排名第 1,首次上榜 2026-11-14,最近一次上榜 2026-11-18。
| 日期 | 排名 | Star | 当日增长 |
|---|---|---|---|
| 2026-11-18 | #10 | 20,127 | +1,445 |
| 2026-11-17 | #1 | 19,966 | +1,444 |
| 2026-11-16 | #1 | 18,911 | +790 |
| 2026-11-15 | #2 | 17,807 | +393 |
| 2026-11-14 | #8 | 17,334 | +9 |
同期上榜的项目
- elementalsouls/Claude-BugHunter – A Claude Code skill bundle for bug hunting and external red-team work - 82 skills, 15 slash commands, 681 disclosed-report patterns curated across 24 core vulnerability classes, plus enterprise identity + infrastructure attack matrices.
- mvanhorn/last30days-skill – AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
- alibaba/open-code-review – Secure, fast, efficient, battle-tested at Alibaba's scale. Hybrid architecture code review tool: deterministic pipelines + LLM Agent, precise line-level comments, built-in multi-language ruleset (NPE, thread-safety, XSS, SQL injection), OpenAI & Anthropic compatible.
- Tencent/LoopForge – Self-hosted workflows for coding-agent delivery. Orchestrate CodeBuddy, Codex and Claude Code with scripts and human approval gates. Includes Local workflows for coding assistants.
- dream-num/univer – Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
- getarcaneapp/arcane – Modern Docker Management, Designed for Everyone
ag-ui 项目深度剖析与商业评估报告
ag-ui 项目深度剖析与商业评估报告
1. 核心定位与商业落地价值
1.1 解决的根本痛点:Agentic 应用的“最后一公里” 在 AI Agent 架构演进中,底层模型推理与后端工作流编排(如 LangGraph、CrewAI、Semantic Kernel)已相对成熟,工具调用层也有了 Anthropic 主导的 MCP(Model Context Protocol)作为行业事实标准。然而,Agent 与终端用户界面的交互(Agent-to-User Interface)长期处于严重碎片化状态。
传统聊天机器人(Chatbot)模式仅依赖简单的流式文本(Markdown Streaming)。但在复杂 Agentic 交互场景中,系统面临以下三大核心困境: 1. 双向状态同步(Bidirectional State Sync)缺失:Agent 执行复杂工作流时,无法实时、结构化地感知前端画布、表单或上下文的变化;反之,Agent 修改前端复杂状态时容易产生脏读与并发覆写。 2. Generative UI 与富交互协议割裂:如何安全地让 Agent 根据上下文流式渲染前端微应用组件,并捕获用户的组件级交互反馈,缺乏标准化规范。 3. 前端工具执行(Client-Side Tools)与人机协同(Human-in-the-Loop, HITL)无统一管道:Agent 无法将浏览器 DOM、客户端存储或前端专用 API 作为工具调用,且缺少断点交互确认的标准状态机机制。
ag-ui 的核心定位是 Agent 交互层通信协议与事件总线,与 MCP(解决 Agent-Tool 通信)及 A2A(解决 Agent-to-Agent 通信)形成互补闭环,填补了现代 Agent 协议栈中最贴近终端业务价值的空缺。
+-------------------------------------------------------------+ | User Application (UI) | +-------------------------------------------------------------+ ▲ │ AG-UI Protocol (Agent-to-UI) ▼ +-------------------------------------------------------------+ | Agent Orchestration | | (LangGraph / CrewAI / Bedrock / Mastra) | +-------------------------------------------------------------+ ▲ ▲ │ A2A (Agent-to-Agent) │ MCP (Agent-to-Tool) ▼ ▼ +---------------------+ +-------------------+ | Sub-Agents Fleet | | External Services | +---------------------+ +-------------------+
1.2 企业级商业落地场景 复杂企业级 SaaS 的内置 Copilot:在 ERP、CRM、低代码平台或 BI 分析工具中,Agent 不仅能回答问题,还能直接流式操纵多维表格、筛选器、可视化图表,并实现前后端状态同构更新。 高风险操作的 Human-in-the-Loop(HITL)协同审批:在金融风控、医疗开方、DevOps 自动化运维等场景,Agent 执行敏感操作前,通过 AG-UI 协议挂起状态并向下推送信标组件,等待用户前端鉴权或签名确认后再恢复执行。 协同设计与创意画布系统:如在线文档(Notion-like)或设计系统(Figma-like),用户与 Agent 并发协同编辑,基于协议实现细粒度的数据补丁(JSON Patch)同步。
1.3 生态位与竞争壁垒分析 先发标准占位与跨厂商联盟:由 CopilotKit 发起,已联合 Microsoft Agent Framework、Google ADK、AWS Bedrock AgentCore、LangChain、CrewAI、Pydantic AI 等主流大厂及头部开源框架提供官方或第一方支持,形成了强大的生态网络效应。 去商业绑定的协议中立性:尽管背靠商业实体,该项目以独立的协议规范(Specification)驱动,采用宽容的 MIT 开源许可,极大降低了企业在基础设施选型时对单一技术栈被锁定的顾虑。
在 README 中展示上榜徽章
[](https://github.fq6825.top/repo/ag-ui-protocol/ag-ui)