<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Rust on Zata-砸它</title><link>https://www.zata.cc/tags/rust/</link><description>Recent content in Rust on Zata-砸它</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><copyright>Example Person</copyright><lastBuildDate>Tue, 30 Jun 2026 11:59:50 +0800</lastBuildDate><atom:link href="https://www.zata.cc/tags/rust/index.xml" rel="self" type="application/rss+xml"/><item><title>Gliding Horse Agent OS 介绍：Rust 构建的工业级 AI Agent 操作系统</title><link>https://www.zata.cc/p/gliding-horse-agent-os-%E4%BB%8B%E7%BB%8Drust-%E6%9E%84%E5%BB%BA%E7%9A%84%E5%B7%A5%E4%B8%9A%E7%BA%A7-ai-agent-%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F/</link><pubDate>Mon, 29 Jun 2026 10:00:00 +0800</pubDate><guid>https://www.zata.cc/p/gliding-horse-agent-os-%E4%BB%8B%E7%BB%8Drust-%E6%9E%84%E5%BB%BA%E7%9A%84%E5%B7%A5%E4%B8%9A%E7%BA%A7-ai-agent-%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F/</guid><description>&lt;img src="https://www.zata.cc/p/gliding-horse-agent-os-%E4%BB%8B%E7%BB%8Drust-%E6%9E%84%E5%BB%BA%E7%9A%84%E5%B7%A5%E4%B8%9A%E7%BA%A7-ai-agent-%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F/images/index/index.svg" alt="Featured image of post Gliding Horse Agent OS 介绍：Rust 构建的工业级 AI Agent 操作系统" />&lt;h2 id="项目概览">项目概览
&lt;/h2>&lt;p>&lt;img src="https://www.zata.cc/p/gliding-horse-agent-os-%E4%BB%8B%E7%BB%8Drust-%E6%9E%84%E5%BB%BA%E7%9A%84%E5%B7%A5%E4%B8%9A%E7%BA%A7-ai-agent-%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F/images/index/index.svg"
loading="lazy"
alt="Gliding Horse Agent OS 总览"
>&lt;/p>
&lt;p>&lt;strong>Gliding Horse Agent OS&lt;/strong> 是由 &lt;a class="link" href="https://github.com/doiito" target="_blank" rel="noopener"
>doiito&lt;/a> 在 GitHub 上开源的 &lt;strong>Rust 编写的工业级 AI Agent 操作系统&lt;/strong>。项目名称源自三国时期诸葛亮发明的&amp;quot;&lt;strong>木牛流马&lt;/strong>&amp;quot;——一种能在险峻山路上自主运输粮草的机械装置,象征&amp;quot;以基础设施驾驭集体智能&amp;quot;:不仅构建 Agent,更构建&lt;strong>让多个 Agent 协同调度、自主演化、可审计&lt;/strong>的底层系统。&lt;/p>
&lt;ul>
&lt;li>&lt;strong>仓库&lt;/strong>:&lt;a class="link" href="https://github.com/doiito/gliding_horse" target="_blank" rel="noopener"
>doiito/gliding_horse&lt;/a>&lt;/li>
&lt;li>&lt;strong>许可&lt;/strong>:MIT&lt;/li>
&lt;li>&lt;strong>当前版本&lt;/strong>:&lt;code>v0.1.2.preview&lt;/code>(2026-06 发布)&lt;/li>
&lt;li>&lt;strong>语言占比&lt;/strong>:Rust ≈ 80.9%&lt;/li>
&lt;li>&lt;strong>定位&lt;/strong>:面向企业级 AI Agent 系统的多智能体编排框架,提供完整的中文文档&lt;/li>
&lt;/ul>
&lt;blockquote>
&lt;p>&amp;ldquo;We don&amp;rsquo;t just build agents; we build the &lt;strong>infrastructure that harnesses their collective intelligence&lt;/strong>.&amp;rdquo;&lt;/p>
&lt;/blockquote>
&lt;hr>
&lt;h2 id="设计哲学">设计哲学
&lt;/h2>&lt;p>借鉴&amp;quot;木牛流马&amp;quot;的范式:古代机械并不是替换人力,而是&lt;strong>把人从机械性劳动中解放出来&lt;/strong>。Gliding Horse 同样不追求把 Agent 框死在某种刚性流程里,而是提供一套&lt;strong>自适应任务复杂度&lt;/strong>的编排基础设施——从一次性的即时查询,到多周的长流程项目,同一套引擎都能覆盖。&lt;/p>
&lt;p>核心理念可以概括为一句话:&lt;/p>
&lt;blockquote>
&lt;p>&lt;strong>&amp;ldquo;灵活编排适应任务复杂度,而非刚性框架强迫任务就范&amp;rdquo;&lt;/strong>(The wise adapt their methods to circumstances, just as water shapes its course according to the ground over which it flows.)&lt;/p>
&lt;/blockquote>
&lt;hr>
&lt;h2 id="整体架构">整体架构
&lt;/h2>&lt;p>仓库分为多个 Workspace,核心层次按职能拆分:&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>层级&lt;/th>
&lt;th>目录&lt;/th>
&lt;th>技术栈&lt;/th>
&lt;th>职责&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>&lt;strong>核心调度&lt;/strong>&lt;/td>
&lt;td>&lt;code>crates/&lt;/code> · &lt;code>src/&lt;/code>&lt;/td>
&lt;td>Rust 2021 · PDCA · 5W2H · EventBus&lt;/td>
&lt;td>Agent 编排与生命周期&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>应用层&lt;/strong>&lt;/td>
&lt;td>&lt;code>apps/software_engineering_team/&lt;/code>&lt;/td>
&lt;td>Center (Go+Temporal) + Edge (Rust+axum) + VS Code Plugin&lt;/td>
&lt;td>完整 SDLC 联邦&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>终端助手&lt;/strong>&lt;/td>
&lt;td>&lt;code>crates/gliding_code/&lt;/code>&lt;/td>
&lt;td>Rust (musl 静态二进制)&lt;/td>
&lt;td>零依赖命令行 AI 助手&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>技能定义&lt;/strong>&lt;/td>
&lt;td>&lt;code>skills/&lt;/code>&lt;/td>
&lt;td>RDF / YAML&lt;/td>
&lt;td>可插拔的 Skill 描述&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>数据契约&lt;/strong>&lt;/td>
&lt;td>&lt;code>proto/&lt;/code> · &lt;code>workflow.jsonld&lt;/code>&lt;/td>
&lt;td>gRPC Proto · JSON-LD 1.1&lt;/td>
&lt;td>跨进程/跨语言接口&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>文档&lt;/strong>&lt;/td>
&lt;td>&lt;code>docs/&lt;/code>&lt;/td>
&lt;td>Markdown (中英双语)&lt;/td>
&lt;td>设计文档与设计哲学&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;hr>
&lt;h2 id="核心机制详解">核心机制详解
&lt;/h2>&lt;h3 id="1-广义-pdca--7-级自适应执行">1. 广义 PDCA —— 7 级自适应执行
&lt;/h3>&lt;p>PDCA(Plan-Do-Check-Act)是经典的戴明环。Gliding Horse 将其&lt;strong>广义化为 7 级复杂度&lt;/strong>,通过任务的 &lt;code>5W2H&lt;/code> 元数据动态选择:&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>级别&lt;/th>
&lt;th>含义&lt;/th>
&lt;th>触发场景&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>&lt;strong>L0&lt;/strong>&lt;/td>
&lt;td>即时响应&lt;/td>
&lt;td>简单问答、不需要工具&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>L1&lt;/strong>&lt;/td>
&lt;td>单步工具调用&lt;/td>
&lt;td>单次搜索、单次代码执行&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>L2&lt;/strong>&lt;/td>
&lt;td>多步推理&lt;/td>
&lt;td>多轮 ReAct,需要思考&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>L3&lt;/strong>&lt;/td>
&lt;td>子任务分解&lt;/td>
&lt;td>任务拆解后并行执行&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>L4&lt;/strong>&lt;/td>
&lt;td>长链 Pipeline&lt;/td>
&lt;td>多阶段流水线&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>L5&lt;/strong>&lt;/td>
&lt;td>递归 PDCA&lt;/td>
&lt;td>任务作为其他任务的子节点&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>L6&lt;/strong>&lt;/td>
&lt;td>应急模式&lt;/td>
&lt;td>异常升级、人工接管&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;p>&lt;strong>一个引擎覆盖从 L0 的即时查询到 L6 的应急处置&lt;/strong>——这是 Gliding Horse 区别于其他编排框架的关键:不要求开发者为不同复杂度写不同框架。&lt;/p>
&lt;p>&lt;img src="https://www.zata.cc/p/gliding-horse-agent-os-%E4%BB%8B%E7%BB%8Drust-%E6%9E%84%E5%BB%BA%E7%9A%84%E5%B7%A5%E4%B8%9A%E7%BA%A7-ai-agent-%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F/images/inline/pdca-7-levels.svg"
loading="lazy"
alt="PDCA 7 级自适应执行"
>&lt;/p>
&lt;h3 id="2-5w2h-本体级审计--告别黑盒-passfail">2. 5W2H 本体级审计 —— 告别黑盒 PASS/FAIL
&lt;/h3>&lt;p>传统 Agent 评测只给一个&amp;quot;通过/不通过&amp;quot;的二值信号。Gliding Horse 对每一次执行结果按 &lt;strong>5W2H 七个维度&lt;/strong>独立审计:&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>维度&lt;/th>
&lt;th>失败时动作&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>&lt;strong>What&lt;/strong>(产物对不对)&lt;/td>
&lt;td>重新生成&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>Why&lt;/strong>(决策理由是否充分)&lt;/td>
&lt;td>重新分析&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>How&lt;/strong>(方法是否合理)&lt;/td>
&lt;td>重新规划&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>Where&lt;/strong>(执行环境/上下文是否合适)&lt;/td>
&lt;td>重新规划&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>When&lt;/strong>(时序/截止日期)&lt;/td>
&lt;td>有条件放行&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>HowMuch&lt;/strong>(资源消耗是否在预算内)&lt;/td>
&lt;td>有条件放行&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>(附加)Who/Which&lt;/strong>&lt;/td>
&lt;td>角色/工具匹配&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;p>这让&lt;strong>精确回滚&lt;/strong>成为可能——你可以精准定位&amp;quot;哪一维度出问题&amp;quot;,而不是把整个流程推倒重做。&lt;/p>
&lt;h3 id="3-cpu-缓存启发的-4-层记忆--mesi-一致性">3. CPU 缓存启发的 4 层记忆 + MESI 一致性
&lt;/h3>&lt;p>Gliding Horse 最具创新性的设计之一是&lt;strong>把 CPU 缓存架构搬到多 Agent 记忆系统中&lt;/strong>:&lt;/p>
&lt;p>&lt;img src="https://www.zata.cc/p/gliding-horse-agent-os-%E4%BB%8B%E7%BB%8Drust-%E6%9E%84%E5%BB%BA%E7%9A%84%E5%B7%A5%E4%B8%9A%E7%BA%A7-ai-agent-%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F/images/inline/memory-4-layers.svg"
loading="lazy"
alt="Memory 4-Layer &amp;#43; MESI"
>&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>层&lt;/th>
&lt;th>类比&lt;/th>
&lt;th>技术实现&lt;/th>
&lt;th>性能指标&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>&lt;strong>L0&lt;/strong>&lt;/td>
&lt;td>寄存器/缓存&lt;/td>
&lt;td>&lt;code>Sled&lt;/code> KV + &lt;code>Qdrant&lt;/code> 向量库&lt;/td>
&lt;td>读取 ~1ms · 1000 ops/sec&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>L1&lt;/strong>&lt;/td>
&lt;td>L1 缓存&lt;/td>
&lt;td>上下文窗口 / 最近对话&lt;/td>
&lt;td>由 LLM 决定&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>L2&lt;/strong>&lt;/td>
&lt;td>L2 缓存&lt;/td>
&lt;td>&lt;code>Oxigraph&lt;/code> RDF 三元组存储&lt;/td>
&lt;td>写入 ~2ms · 500 ops/sec&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>L3&lt;/strong>&lt;/td>
&lt;td>L3 缓存 / 内存&lt;/td>
&lt;td>&lt;code>SPARQL 1.1&lt;/code> 投影视图&lt;/td>
&lt;td>查询 ~15ms · 66 ops/sec&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;p>更关键的是引入了 CPU 的 &lt;strong>MESI 缓存一致性协议&lt;/strong>(Modified / Exclusive / Shared / Invalid)的记忆改造版,解决多 Agent 共享记忆时的不一致问题。配合&lt;strong>扩散激活式预取&lt;/strong>(Spreading Activation),常用记忆提前加载,&lt;strong>感知延迟下降约 90%&lt;/strong>。&lt;/p>
&lt;h3 id="4-json-ld-11-通用数据总线">4. JSON-LD 1.1 通用数据总线
&lt;/h3>&lt;p>Agent 之间共享数据时,字段命名冲突是隐形大坑。Gliding Horse 用 &lt;a class="link" href="https://www.w3.org/TR/json-ld11/" target="_blank" rel="noopener"
>JSON-LD 1.1&lt;/a> 作为&lt;strong>跨子系统、跨语言的通用数据契约&lt;/strong>:&lt;/p>
&lt;ul>
&lt;li>&lt;code>@context&lt;/code> —— 鸭子类型,消除字段命名冲突&lt;/li>
&lt;li>&lt;code>@id&lt;/code> —— 零成本跨 Agent 实体合并(同一个对象在不同子系统里指向同一 &lt;code>@id&lt;/code> 即视为同一对象)&lt;/li>
&lt;li>&lt;code>@graph&lt;/code> (Named Graphs) —— 命名图机制,允许不同子系统并行写入而不冲突&lt;/li>
&lt;/ul>
&lt;blockquote>
&lt;p>配套的 &lt;code>workflow.jsonld&lt;/code> 把&amp;quot;工作流描述&amp;quot;也建模为带 &lt;code>@id&lt;/code> 的实体,可以直接写入 RDF 图并被 SPARQL 查询。&lt;/p>
&lt;/blockquote>
&lt;h3 id="5-统一知识图谱--oxigraph-rdf">5. 统一知识图谱 —— Oxigraph RDF
&lt;/h3>&lt;p>所有子系统(技能、记忆、任务、代码知识)&lt;strong>共享同一个 &lt;code>Oxigraph&lt;/code> RDF 存储&lt;/strong>,通过命名图隔离,通过 &lt;code>@id&lt;/code> 互联:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>代码 AST&lt;/strong> 由 &lt;code>tree-sitter&lt;/code> 自动解析为 RDF 三元组入图&lt;/li>
&lt;li>跨子系统的 &lt;strong>SPARQL JOIN&lt;/strong> 让&amp;quot;代码模块 ↔ 任务 ↔ 记忆&amp;quot;可以一次性查询&lt;/li>
&lt;li>单一 &lt;code>@id&lt;/code> 保证实体在所有上下文中的身份一致&lt;/li>
&lt;/ul>
&lt;p>这一设计的核心收益是&lt;strong>消除信息孤岛&lt;/strong>:跨子系统的关联不再需要额外的 ETL 管道,直接在图上做关联查询即可。&lt;/p>
&lt;h3 id="6-自演化-skill-graph">6. 自演化 Skill Graph
&lt;/h3>&lt;p>Skill 不是一个静态的 YAML 列表,而是一张&lt;strong>自演化的认知网络&lt;/strong>:&lt;/p>
&lt;ul>
&lt;li>约 &lt;strong>7,500+ LOC&lt;/strong> 的动态 RDF 网络&lt;/li>
&lt;li>&lt;strong>6 种语义链接&lt;/strong>:Prerequisite(前置)、Composition(组合)、Related(相关)、Conflict(冲突)、Refine(精炼)、Deprecate(废弃)&lt;/li>
&lt;li>&lt;strong>任务后学习&lt;/strong>:&lt;code>/learn&lt;/code> 机制根据执行结果创建新知识片段与新链接&lt;/li>
&lt;li>&lt;strong>去重压缩&lt;/strong>:&lt;code>/reduce&lt;/code> 机制定期合并冗余节点&lt;/li>
&lt;/ul>
&lt;p>简单说,系统跑得越多,这张&amp;quot;能力地图&amp;quot;&lt;strong>自动生长&lt;/strong>得越完备。&lt;/p>
&lt;h3 id="7-主动感知引擎">7. 主动感知引擎
&lt;/h3>&lt;p>不是等任务失败再处理,Gliding Horse 内置&lt;strong>主动监控&lt;/strong>:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>10 类执行触发器&lt;/strong>:截止日期、Token 预算超 80%、角色失配、环境冲突、循环检测……&lt;/li>
&lt;li>&lt;strong>60 秒异常去重窗&lt;/strong>:避免同一异常反复打扰&lt;/li>
&lt;li>&lt;strong>自动升级人工&lt;/strong>:超出 Agent 能力的异常自动升级到人介入&lt;/li>
&lt;/ul>
&lt;h3 id="8-微工具系统micro-tool">8. 微工具系统(Micro-Tool)
&lt;/h3>&lt;p>当 Agent 输出超过 &lt;strong>8 KB&lt;/strong> 的结果时,Gliding Horse 自动把它&lt;strong>包装为一组对话式微工具&lt;/strong>(例如 &lt;code>search_in_results&lt;/code>、&lt;code>summarize_section&lt;/code>)。原本 50 KB+ 难以一次性塞进上下文的结果,变成可在上下文里&lt;strong>交互式查询&lt;/strong>的对象——极大降低 LLM 上下文压力。&lt;/p>
&lt;h3 id="9-mcp-协议接入">9. MCP 协议接入
&lt;/h3>&lt;p>原生支持 &lt;a class="link" href="https://modelcontextprotocol.io/" target="_blank" rel="noopener"
>Model Context Protocol&lt;/a>,&lt;strong>一个协议接入 GitHub、Slack、Jira 等所有 MCP 兼容服务&lt;/strong>,运行时动态发现工具,告别&amp;quot;每接一个外部服务就写一套对接代码&amp;quot;。&lt;/p>
&lt;h3 id="10-检查点与恢复">10. 检查点与恢复
&lt;/h3>&lt;p>长任务最怕崩溃丢失进度。Gliding Horse 在关键节点&lt;strong>对会话状态打快照&lt;/strong>:&lt;/p>
&lt;ul>
&lt;li>崩溃后&lt;strong>完整恢复&lt;/strong>到最近检查点,无需重头开始&lt;/li>
&lt;li>支持&lt;strong>事后回放调试&lt;/strong>(post-mortem replay)&lt;/li>
&lt;li>支撑小时级甚至天级的 Agent 长任务&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="center--edge-联邦架构">Center + Edge 联邦架构
&lt;/h2>&lt;p>这是一个独立于以上机制之上的&lt;strong>部署拓扑&lt;/strong>,值得单独说。&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">VS Code Plugin (TypeScript)
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> │ WebSocket / REST
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> ▼
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> Edge Daemon (Rust · axum)
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> ├─ API Server (ws / chat / health)
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> ├─ Agent Core (SupervisorAgent · DoAgent · LLM Client)
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> ├─ Docker Sandbox (安全执行: 编译 / 测试)
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> └─ Graph Layer (本地 Sled + Delta Sync)
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> │ gRPC + REST
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> ▼
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> Center (Go · Gin)
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> ├─ HTTP API (/api/v1/* · /ws)
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> ├─ Temporal Workflow (编排引擎)
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> ├─ Agent Manager (注册 · 心跳 · 派发)
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> ├─ Executors (req → design → coding → review → test → cicd → deploy)
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> └─ Store (SQLite · gRPC Client · Graph Sync)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;table>
&lt;thead>
&lt;tr>
&lt;th>角色&lt;/th>
&lt;th>语言 / 框架&lt;/th>
&lt;th>核心职责&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>&lt;strong>Center&lt;/strong>&lt;/td>
&lt;td>Go + Gin + Temporal&lt;/td>
&lt;td>全局工作流编排、项目生命周期、Agent 注册中心、图谱同步&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>Edge&lt;/strong>&lt;/td>
&lt;td>Rust + axum&lt;/td>
&lt;td>本地 LLM 执行、Docker 沙箱、VS Code WebSocket 桥&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>VS Code Plugin&lt;/strong>&lt;/td>
&lt;td>TypeScript&lt;/td>
&lt;td>Chat Panel + Graph View + Task Panel,实时呈现 Agent 协作&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;p>设计哲学:&lt;strong>Center 负责编排,Edge 负责执行,VS Code 负责感知&lt;/strong>——三者解耦,任一节点宕机不影响其他局部。&lt;/p>
&lt;hr>
&lt;h2 id="两个旗舰应用">两个旗舰应用
&lt;/h2>&lt;h3 id="1-software-engineering-team">1. Software Engineering Team
&lt;/h3>&lt;p>最完整的多 Agent 协作&lt;strong>软件工程团队&lt;/strong>:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">需求 → 设计 → 编码 → 评审 → 测试 → CI/CD → 部署
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>提供完整 Dashboard(项目总览、Agent 状态、Pipeline 进度)以及 VS Code 插件(Chat Panel / Graph View / Task Panel),让开发者可以&lt;strong>实时看到多个 Agent 在背后协作&lt;/strong>。&lt;/p>
&lt;blockquote>
&lt;p>这种&amp;quot;联邦式&amp;quot;设计的好处是:Center/Edge 可以独立扩展,VS Code 插件可以独立演进,核心调度引擎不必关心 UI 细节。&lt;/p>
&lt;/blockquote>
&lt;h3 id="2-gliding-code">2. Gliding Code
&lt;/h3>&lt;p>&lt;strong>零依赖终端 AI 编码助手&lt;/strong>——Gliding Horse 知识图谱与编排能力的&amp;quot;轻量入口&amp;quot;:&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>平台&lt;/th>
&lt;th>包大小&lt;/th>
&lt;th>说明&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>Linux (x86_64, musl)&lt;/td>
&lt;td>13.9 MB&lt;/td>
&lt;td>完全静态链接&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Linux (aarch64, musl)&lt;/td>
&lt;td>12.9 MB&lt;/td>
&lt;td>-&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>macOS (Apple Silicon)&lt;/td>
&lt;td>12.1 MB&lt;/td>
&lt;td>-&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Windows (x86_64)&lt;/td>
&lt;td>11.6 MB&lt;/td>
&lt;td>-&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">&lt;span class="c1"># 下载即用,无需安装任何依赖&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">tar xzf glidingcode-*.tar.gz
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="c1"># 设置 API Key(支持 DeepSeek 或任意 OpenAI 兼容端点)&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">export&lt;/span> &lt;span class="nv">DEEPSEEK_API_KEY&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s2">&amp;#34;sk-...&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="c1"># 交互式会话&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">./glidingcode
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="c1"># 或一次性任务&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">./glidingcode &lt;span class="s2">&amp;#34;Explain how Rust&amp;#39;s borrow checker works&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>它的特点是&lt;strong>把整套&amp;quot;知识图谱 + Agent 编排&amp;quot;塞进一个 13 MB 的二进制&lt;/strong>——这是 musl 全静态链接的功劳。对于想体验 Gliding Horse 但又不想搭建完整 Center/Edge 的开发者,&lt;strong>Gliding Code 是最佳入口&lt;/strong>。&lt;/p>
&lt;hr>
&lt;h2 id="性能基线">性能基线
&lt;/h2>&lt;table>
&lt;thead>
&lt;tr>
&lt;th>操作&lt;/th>
&lt;th>延迟&lt;/th>
&lt;th>吞吐&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>L2 节点写入 (Oxigraph)&lt;/td>
&lt;td>~2 ms&lt;/td>
&lt;td>500 ops/sec&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>L3 SPARQL 投影&lt;/td>
&lt;td>~15 ms&lt;/td>
&lt;td>66 ops/sec&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>L0 Sled KV 读取&lt;/td>
&lt;td>~1 ms&lt;/td>
&lt;td>1000 ops/sec&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>Agent ReAct 一轮&lt;/td>
&lt;td>1–5 s&lt;/td>
&lt;td>0.2–1 turns/sec&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>空闲内存&lt;/strong>&lt;/td>
&lt;td>~200 MB&lt;/td>
&lt;td>随任务规模线性增长&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;blockquote>
&lt;p>注意:吞吐数据为仓库 README 公布的基线,实际表现取决于 LLM 调用频次与上下文长度。&lt;/p>
&lt;/blockquote>
&lt;hr>
&lt;h2 id="上手指南">上手指南
&lt;/h2>&lt;h3 id="快速体验gliding-code零依赖">快速体验:Gliding Code(零依赖)
&lt;/h3>&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">git clone https://github.com/doiito/gliding_horse.git
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">cd&lt;/span> gliding_horse
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="c1"># 在 releases 页面下载对应平台的预编译包&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">./glidingcode --help
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="完整搭建software-engineering-team">完整搭建:Software Engineering Team
&lt;/h3>&lt;p>前置依赖:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Rust ≥ 1.94&lt;/strong>&lt;/li>
&lt;li>&lt;strong>Go ≥ 1.24&lt;/strong>&lt;/li>
&lt;li>&lt;strong>Docker&lt;/strong>&lt;/li>
&lt;li>&lt;strong>Temporal Server&lt;/strong>(本地或远端)&lt;/li>
&lt;li>一个 &lt;strong>OpenAI 兼容的 LLM API Key&lt;/strong>(DeepSeek、OpenAI、本地 vLLM 均可)&lt;/li>
&lt;/ul>
&lt;p>启动步骤:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">&lt;span class="c1"># 1) 启动 Center&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">cd&lt;/span> apps/software_engineering_team/center
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">cp center/config.yaml center/config.local.yaml
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="c1"># 编辑 config.local.yaml,填入 LLM Key、Temporal 地址&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">go run ./cmd/server/... &lt;span class="c1"># API server on :8080&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">go run ./cmd/worker/... &lt;span class="c1"># Temporal worker&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="c1"># 2) 启动 Edge Daemon&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">cd&lt;/span> ../edge/daemon
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">cargo run -- daemon start &lt;span class="c1"># Agent daemon on :7890&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="c1"># 3) 安装 VS Code 插件&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">code --install-extension apps/software_engineering_team/edge/vscode/
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>也可以&lt;strong>直接调用 API&lt;/strong>:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">curl http://localhost:8080/api/v1/projects &lt;span class="se">\
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="se">&lt;/span> -X POST -H &lt;span class="s2">&amp;#34;Content-Type: application/json&amp;#34;&lt;/span> &lt;span class="se">\
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="se">&lt;/span> -d &lt;span class="s1">&amp;#39;{&amp;#34;name&amp;#34;:&amp;#34;My Project&amp;#34;,&amp;#34;description&amp;#34;:&amp;#34;Build a microservice&amp;#34;}&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;hr>
&lt;h2 id="路线图">路线图
&lt;/h2>&lt;p>&lt;strong>核心 OS(持续推进)&lt;/strong>:&lt;/p>
&lt;ul>
&lt;li>扩展 MCP 工具生态与动态发现&lt;/li>
&lt;li>多模型路由优化(成本感知调度)&lt;/li>
&lt;li>知识图谱查询性能与规模优化&lt;/li>
&lt;li>带版本化 Prompt 继承的模板引擎&lt;/li>
&lt;li>细粒度订阅过滤的事件系统&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>应用层(未来)&lt;/strong>:&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>时间&lt;/th>
&lt;th>内容&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>&lt;strong>Q3 2026&lt;/strong>&lt;/td>
&lt;td>原生 Web 仪表板 · Python/TypeScript SDK&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>Q4 2026&lt;/strong>&lt;/td>
&lt;td>Kubernetes Operator · 多轮对话记忆压缩 · Skill Marketplace 原型&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;strong>2027&lt;/strong>&lt;/td>
&lt;td>跨 Edge 节点的分布式 Agent Mesh · 多模态 Agent(视觉/音频) · 社区插件注册中心&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;hr>
&lt;h2 id="一些深度观察">一些深度观察
&lt;/h2>&lt;p>作为一份完整的概览,以下是我认为 Gliding Horse 与同类项目相比的几个显著差异点:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>PDCA 7 级自适应&lt;/strong>让它对&amp;quot;什么算 Agent 框架&amp;quot;的定义更宽泛——同一套引擎既可做即时问答,又可跑周级项目,这种&amp;quot;弹性&amp;quot;是 LangChain / AutoGen 目前都没做到的。&lt;/li>
&lt;li>&lt;strong>CPU 缓存架构 + MESI 一致性&lt;/strong>是从硬件架构借来的概念,工程上不是新东西,但&lt;strong>移植到多 Agent 记忆&lt;/strong>是很新鲜的一手;若实现得当,能极大缓解&amp;quot;Agent 之间互相覆盖记忆&amp;quot;的常见 bug。&lt;/li>
&lt;li>&lt;strong>JSON-LD 作为跨子系统数据总线&lt;/strong>使得&amp;quot;技能/记忆/任务/代码&amp;quot;得以在 RDF 图层统一——这一点与 &lt;a class="link" href="../../GraphRAG%e5%bc%80%e6%ba%90%e9%a1%b9%e7%9b%ae%e5%85%a8%e6%99%af%ef%bc%9a%e4%bb%8e%e5%be%ae%e8%bd%afGraphRAG%e5%88%b0LightRAG/index.md" >GraphRAG 全景&lt;/a> 思路一脉相承,但走得更远。&lt;/li>
&lt;li>&lt;strong>OpenAI 兼容 API + MCP 双协议&lt;/strong>意味着开发者不强制绑定任何单一模型生态,DeepSeek、Qwen、本地 vLLM 都可以无缝接入,适合国内闭源/开源混合场景。&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>目前的不确定性&lt;/strong>:&lt;/p>
&lt;ul>
&lt;li>项目仍处 &lt;code>v0.1.2.preview&lt;/code>,&lt;strong>生产环境稳定性未充分验证&lt;/strong>&lt;/li>
&lt;li>官方 Issue 中已有用户反馈&amp;quot;流程太繁琐、跑半天没结果、重问又从头开始&amp;quot;(Issue #3),&lt;strong>会话连续性与状态恢复&lt;/strong>仍是体验痛点&lt;/li>
&lt;li>实时统计(stargazer_count / watcher_count)GitHub API 返回 &lt;code>null&lt;/code>,需访问仓库页确认当前社区热度&lt;/li>
&lt;/ul>
&lt;blockquote>
&lt;p>适合谁:正在搭建&lt;strong>多 Agent 协作平台 / 企业级 Agent 工作流 / 知识密集型 Agent 系统&lt;/strong>的团队。
不适合谁:只要做一次性 prompt 调用或单 Agent RAG 的项目(用 LangChain / LlamaIndex 更轻)。&lt;/p>
&lt;/blockquote>
&lt;hr>
&lt;h2 id="相关资源">相关资源
&lt;/h2>&lt;ul>
&lt;li>&lt;strong>项目主页&lt;/strong>:&lt;a class="link" href="https://github.com/doiito/gliding_horse" target="_blank" rel="noopener"
>github.com/doiito/gliding_horse&lt;/a>&lt;/li>
&lt;li>&lt;strong>中文 README&lt;/strong>:&lt;code>README.zh.md&lt;/code>(仓库根目录)&lt;/li>
&lt;li>&lt;strong>设计文档&lt;/strong>:&lt;code>docs/DESIGN_DETAIL.md&lt;/code> · &lt;code>docs/DESIGN_DETAIL.zh.md&lt;/code>&lt;/li>
&lt;li>&lt;strong>核心哲学&lt;/strong>:&lt;code>docs/CORE_DESIGN_PHILOSOPHY.md&lt;/code> · &lt;code>docs/CORE_DESIGN_PHILOSOPHY.zh.md&lt;/code>&lt;/li>
&lt;li>&lt;strong>gRPC 协议定义&lt;/strong>:&lt;code>proto/pdca_core.proto&lt;/code>&lt;/li>
&lt;li>&lt;strong>作者博客&lt;/strong>:
&lt;ul>
&lt;li>Medium(英文):&lt;a class="link" href="https://medium.com/@doiito-sun" target="_blank" rel="noopener"
>medium.com/@doiito-sun&lt;/a>&lt;/li>
&lt;li>掘金:&lt;a class="link" href="https://juejin.cn/column/7647868075887165450" target="_blank" rel="noopener"
>juejin.cn/column/7647868075887165450&lt;/a>&lt;/li>
&lt;li>SegmentFault:&lt;a class="link" href="https://segmentfault.com/u/doiito/articles" target="_blank" rel="noopener"
>segmentfault.com/u/doiito&lt;/a>&lt;/li>
&lt;li>CSDN:&lt;a class="link" href="https://blog.csdn.net/2604_96270735" target="_blank" rel="noopener"
>blog.csdn.net/2604_96270735&lt;/a>&lt;/li>
&lt;li>B 站:&lt;a class="link" href="https://space.bilibili.com/1547455799/lists" target="_blank" rel="noopener"
>space.bilibili.com/1547455799&lt;/a>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="系列文章">系列文章
&lt;/h2>&lt;ul>
&lt;li>&lt;a class="link" href="../01-%e6%99%ba%e8%83%bd%e4%bd%93%e7%bc%96%e6%8e%92%e8%ae%be%e8%ae%a1%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%ad%a6%e4%b9%a0%e6%8c%87%e5%8d%97/index.md" >智能体编排设计工程师学习指南&lt;/a>&lt;/li>
&lt;li>&lt;a class="link" href="../AI%20Agent%20Loop%20%e5%b7%a5%e7%a8%8b%ef%bc%9a%e5%8e%9f%e7%90%86%e3%80%81%e6%a8%a1%e5%bc%8f%e4%b8%8e%e5%ae%9e%e7%8e%b0/index.md" >AI Agent Loop 工程:原理、模式与实现&lt;/a>&lt;/li>
&lt;li>&lt;a class="link" href="../%e8%ae%b0%e5%bf%86%e6%a8%a1%e5%9d%97%e6%8a%80%e6%9c%af%e6%96%87%e6%a1%a3/index.md" >记忆模块技术文档&lt;/a>&lt;/li>
&lt;li>&lt;a class="link" href="../../GraphRAG%e5%bc%80%e6%ba%90%e9%a1%b9%e7%9b%ae%e5%85%a8%e6%99%af%ef%bc%9a%e4%bb%8e%e5%be%ae%e8%bd%afGraphRAG%e5%88%b0LightRAG/index.md" >GraphRAG 开源项目全景&lt;/a>&lt;/li>
&lt;/ul>
&lt;blockquote>
&lt;p>注:Hugo 的相对路径解析对含空格目录使用 URL 编码(&lt;code>%20&lt;/code>);若仍出现 broken 链接,请以博客最终渲染为准。&lt;/p>
&lt;/blockquote></description></item></channel></rss>