Codex 校核(2026-10-10) Hermes 官方文档已说明主动上下文压缩,并保留可通过 session_search 恢复的旧消息;官方仓库支持 Telegram、Discord、Slack、WhatsApp、Signal 等渠道及自带持久记忆,gbrain 是可选外部方案,不是运行依赖。MEMORY.md 默认限制以字符计(2200 characters),不是 2200 tokens。以上是当前官方能力,不代表本页 5 月的某个本地安装已经具备或已经升级。 本文 YC 的 Context Gateway 与 Compresr-ai/Context-Gateway 指同一项目,不能重复计为两条独立产品线。

⚡ 多平台深度情报 — 2026-05-25

扫描窗口: 2026-05-25 | 平台: GitHub + HN + ArXiv 今日焦点: 自主 Agent 基础设施进入”战国时代”——ZeroClaw、OpenViking、OpenShell、OpenLore 四大新生力量同时崛起,AI Agent 从实验走向工程化

─────────────────────────

🚨 核心发现(3 个深度分析)

1. ZeroClaw(⭐31,567)— Rust 原生的全自主 AI 助手基础设施,Hermes 最直接的竞品

评分: ⭐⭐⭐⭐⭐ | ⭐ 31,567 | 🦀 Rust 编写 来源: GitHub → https://github.com/zeroclaw-labs/zeroclaw 创建时间: 2026-02-13(仅 3 个月)

项目定位(一句话): Rust 编写的、完全自主的 AI 个人助手基础设施——你拥有代理、拥有数据、拥有运行的机器。多通道、多提供商、安全优先。

证据原文:

“Fast, small, and fully autonomous AI personal assistant infrastructure, any OS, any platform — deploy anywhere, swap any model.”

“Multi-channel — one agent answering you across every channel you configure. Inbound messages from Discord, Telegram, Matrix, email, webhooks, CLI — all delivered to the same agent loop.”

“Provider-agnostic — model providers are pluggable. Configure Anthropic, OpenAI, local Ollama, or any OpenAI-compatible endpoint. Fallback chains and routing keep the agent running when a provider flakes.”

“Security-first, with escape hatches — default autonomy is supervised: medium-risk ops require approval, high-risk blocked. Workspace boundaries, command policy, OS-level sandboxes (Landlock / Bubblewrap / Seatbelt / Docker), and cryptographic tool receipts on every action.”

深度分析:

这是一个值得高度重视的项目。ZeroClaw 和 Hermes Agent 在精神理念上非常接近——都是要做”个人 AI 助手基础设施”,但技术路线完全不同:

  • 架构对比:

    • Hermes Agent:Python/TypeScript,依赖 gbrain 知识库 + skill 系统 + cron 调度,当前 45K+ ⭐
    • ZeroClaw:Rust(edition 2024)原生编写,目标是 ~6.6 MB 的最小内核(--minimal 模式),安装脚本支持功能标志(--features agent-runtime,channel-discord)
  • 硬件能力(Hermes 没有):

    • ZeroClaw 支持 GPIO / I2C / SPI / USB on Raspberry Pi、STM32、Arduino、ESP32 via Peripheral trait
    • 这意味着 ZeroClaw 目标包括边缘设备和嵌入式场景
  • 安全模型(值得借鉴):

    • 默认 supervised 模式:中等风险操作需审批,高风险默认禁止
    • 加密工具收据(cryptographic tool receipts)记录每一个操作
    • 操作系统级沙箱:Landlock / Bubblewrap / Seatbelt / Docker
    • Hermes 目前缺少类似的权限分级系统
  • 通道覆盖面(Hermes 有差距):

    • ZeroClaw: Discord, Telegram, Matrix, Email, Webhooks, CLI
    • Hermes: Discord 为主,其余尚未充分集成

对我们意味着什么:

  • 🔴 P0:这是一个不能忽视的竞品。它的 Rust 原生架构意味着更小的内存占用、更快的启动速度、更小的二进制体积。如果 ZeroClaw 建立起生态,可能从”轻量级”角度蚕食 Hermes 的用户群
  • 行动建议:
    1. 认真评估 ZeroClaw 的安全沙箱模型(supervised 分级 + 工具收据),考虑引入类似机制到 Hermes Agent
    2. 分析 ZeroClaw 的多通道实现(特别是 Email 和 Telegram 通道),Hermes 可以加速补齐这些通道
    3. 保持对 ZeroClaw 架构演进的关注——Rust agent infra 的趋势值得 Hermes 社区讨论
    4. 可能的互补场景:Hermes Agent 作为”大脑层”(gbrain + skills + cron),ZeroClaw 作为”执行层”(sandbox + multi-channel),但需要确认 API 兼容性

─────────────────────────

2. OpenViking(⭐24,625)& OpenLore(⭐137)— Agent 记忆与上下文的”文件系统范式”革命

评分: ⭐⭐⭐⭐⭐ | ⭐ 24,625 (OpenViking) + ⭐ 137 (OpenLore) 来源: GitHub

项目定位(一句话): OpenViking 是专为 AI Agent 设计的”上下文数据库”,用文件系统范式统一管理记忆、资源和技能;OpenLore 则将代码库转化为可查询的知识图谱,提供跨会话的架构记忆。

证据原文:

OpenViking:

“OpenViking abandons the fragmented vector storage model of traditional RAG and innovatively adopts a ‘file system paradigm’ to unify the structured organization of memories, resources, and skills needed by Agents.”

“Tiered Context Loading → Reduces Token Consumption: L0/L1/L2 three-tier structure, loaded on demand, significantly saving costs.”

“Directory Recursive Retrieval → Improves Retrieval Effect: Supports native filesystem retrieval methods, combining directory positioning with semantic search.”

“Visualized Retrieval Trajectory → Observable Context: Supports visualization of directory retrieval trajectories, allowing users to clearly observe the root cause of issues.”

OpenLore:

“AI agents are powerful but amnesiac. On every new task: They re-read the same source files to understand structure… File-by-file navigation often burns 15,000–50,000 tokens per orientation pass, before a single line of useful code is written.”

“openlore closes this loop… orient() call returns the relevant functions, their call neighbours, matching spec sections, and insertion-point candidates — often reducing orientation cost from ~30,000 exploratory tokens to ~1,000 targeted tokens.”

深度分析:

这两个项目指向了同一个核心问题——Agent 的记忆和上下文管理还停留在”蛮力时代”,OpenViking 和 OpenLore 给出了两种不同的解法:

  • OpenViking(火山引擎出品,大厂背书):

    • 核心创新:用”文件系统范式”替代向量数据库的碎片化存储
    • L0/L1/L2 三级上下文加载:按需加载,大幅降低成本
    • 可视化检索轨迹:可调试的上下文检索
    • 自动会话管理:自动压缩对话,提取长期记忆
    • ⚠️ 需要 Rust toolchain 编译核心组件
  • OpenLore(社区项目,早期但精巧):

    • 三层独立架构:静态分析(无需 API key)→ spec 层 → agent runtime(45 个 MCP 工具)
    • orient() 函数能在 1-3K token 内给出代码插入点,而传统方式需要 15-50K
    • 独创”Epistemic Lease”机制防止 long-session confidence decay
    • 支持 spec drift detection 和 architectural decision gates

与 gbrain 的对比:

维度gbrain (Hermes)OpenVikingOpenLore
定位知识大脑上下文数据库代码架构记忆
存储范式Brain page + 语义搜索文件系统范式 + 分级加载知识图谱 + 调用图
查询方式语义 + 文件路由目录检索 + 语义搜索MCP tools + orient()
跨会话✅ 有✅ 自动会话管理✅ Persistent graph
代码理解有限无✅ 核心能力
Token 效率中等✅ L0/L1/L2 分级✅ 1-3K vs 15-50K

对我们意味着什么:

  • 🔴 P0:OpenViking 的”文件系统范式”直接挑战了 gbrain 的设计哲学。gbrain 当前使用 brain page + semantic search 的架构,而 OpenViking 用目录检索+语义搜索的组合 -> gbrain 应该考虑引入”目录递归检索”模式,在保留语义搜索的同时,增加按目录树组织的检索路径
  • 🟡 P1:OpenLore 的 orient() 概念——给 Agent 一个”单次调用即知全貌”的入口——值得在 Hermes 中实现类似的 contextualize(task) 函数,降低 Agent 初始化时的 token 消耗
  • 🟡 P1:OpenLore 的 Epistemic Lease(长期会话置信度衰减)机制非常有启发性。Hermes 在长时间运行中也会遇到类似问题
  • 具体行动:
    1. 评估 OpenViking 的文件系统范式检索 vs gbrain 的语义搜索,看是否能结合
    2. 跟踪 OpenLore 的 spec drift detection 和 ADR 管理——这对 Hermes 的 skill 管理很有参考价值
    3. 考虑在 Hermes Agent 中加入 “orient” 等价功能:给定任务描述,返回相关 brain pages、skills、代码上下文

─────────────────────────

3. Context Gateway(⭐97 HN, 💬64)& 上下文压缩的范式转变

评分: ⭐⭐⭐⭐ | 💬 64 条 HN 评论 来源: HN → https://news.ycombinator.com/item?id=47367526 + https://github.com/Compresr-ai/Context-Gateway

项目定位(一句话): YC 背景的 Compresr 公司出品,在 AI Agent 和 LLM API 之间作为代理,后台预计算压缩历史上下文,让 Agent 永远不需要等待 compaction 完成。

证据原文:

“Context Gateway sits between your AI agent (Claude Code, Cursor, etc.) and the LLM API. When your conversation gets too long, it compresses history in the background so you never wait for compaction.”

“Supported agents: claude_code, cursor, openclaw, custom”

“No more waiting when conversation hits context limits. Compaction happens instantly (summary was pre-computed in background).”

深度分析:

这条 HN 讨论反映了社区的一个关键痛点——随着 Agent 使用深入,上下文窗口膨胀成为最大的效率杀手:

  • 社区情绪分歧:

    • 正面:@thesiti92 “do you guys have any stats on how much faster this is than claude or codex’s compression?”
    • 怀疑:@verdverm “I don’t want some other tooling messing with my context. It’s too important to leave to something that needs to optimize across many users”
    • 替代方案:@esafak “I can already prevent context pollution with subagents”
    • 关键观察:@root_axis “Anthropic just went GA with 1m context Claude that has supposedly solved the lost-in-the-middle problem”
  • 市场信号:YC 支持 + 97 个 HN 点赞 + 64 条评论 = 强烈的信号。上下文压缩正在成为一个独立的产品品类

  • 与《Small Language Models are the Future of Agentic AI》论文的关联(arxiv 2506.02153):

    • 该论文论证了”小型语言模型是 Agentic AI 的未来”,核心论点是 Agent 场景中模型重复执行少量专用任务
    • Context Gateway 做的是”把大上下文压缩成小上下文”的工程方案
    • SLM 论文做的是”用小模型替代大模型”的架构方案
    • 两者指向同一结论:Agent 场景下,你不需要让整个上下文窗口一直保持膨胀状态

对我们意味着什么:

  • 🟡 P1:本页未验证当时本地 Hermes 的压缩配置;当前官方 Hermes 已支持主动压缩。Context Gateway 的”后台预计算 compaction”模式值得借鉴
  • 具体行动:
    1. 评估 Hermes Agent 是否需要类似 Context Gateway 的中间层,预计算上下文的压缩版本
    2. 考虑 skill 系统能否实现”自动摘要关键会话”的机制(与已存在的 agentmemory skill 协同)
    3. 研究 SLM 论文(2506.02153)的论点——如果 SLM 路线成立,Hermes 应该考虑支持小模型作为”核心推理引擎”(当前用 deepseek-v4 等大模型)
    4. 关注的 HN 评论:Compresr 是 YC 公司,这意味着上下文压缩作为一个独立品类正在被风险资本认可

─────────────────────────

📡 生态信号扫描

GitHub 生态新项目(快速一览)

项目⭐上榜原因一句话
ZeroClaw31,567Rust 原生全自主 Agent 基础设施”You own the agent. You own the data. You own the machine.”
OpenViking24,625火山引擎出品的 Agent 上下文数据库文件系统范式管理记忆/资源/技能,L0/L1/L2 分级加载
OpenShell6,227NVIDIA 入局 Agent 沙箱安全安全的 Agent 私有运行时,YAML 策略 + Docker/VM 沙箱
Tirith2,370Agent 终端安全防护”Your browser would catch this. Your terminal won’t.”
Bumblebee2,274Perplexity 出品的供应链安全扫描器只读扫描 developer 端点的 package 清单
GSD Redux632上下文工程续作”Solves context rot” - 元提示+规范驱动开发
MCP-Universe588Salesforce 的 MCP 训练/评估框架MCP+ 减少 75% token 成本
MCP-Bench486Accenture 的 MCP 基准测试NeurIPS 2025 Workshop accepted
Codex Shim492Codex Desktop 的 BYOK 模型桥接本地 API shim 暴露自定义模型给 Codex
OpenLore137Agent 代码架构记忆”orient()” 单次调用省 15-50K token

高增长项目(最近 2 周创建)

项目⭐创建日分析
Bumblebee2,2742026-05-20Perplexity(Perplexity AI)首次开源工具,供应链安全赛道
GSD Redux6322026-05-22GSD 社区接管后发布续作,增加安全审计透明度报告
Codex Shim4922026-05-22让 Codex Desktop 可以用非 OpenAI 模型,很实用

社区讨论趋势

主题平台热度核心分歧/共识
Context Gateway(上下文压缩)HN⭐97 / 💬64一边担心第三方篡改上下文,一边认可后台预计算的效率价值
Claude Code 恶意软件检测回归HN⭐252 / 💬147本周最热讨论——Anthropic 在每次文件读取时插入”检测恶意软件”提示,导致 agent 拒绝修改代码、浪费天量 token。评论指出”卖 API 的公司同时卖 agent harness 存在激励冲突”
SLM 是 Agentic AI 的未来HN⭐113 / 💬45Peter Belcak 等论文论证:Agent 场景中模型重复执行少量专用任务,小模型更高效
Polymcp(Python→MCP 工具)HN⭐23 / 💬7新工具把任意 Python 函数变成 MCP tool,降低 MCP 开发门槛

技术文献/博客

论文: Small Language Models are the Future of Agentic AI (arxiv 2506.02153)

  • 作者: Belcak, Heinrich, Diao, Fu, Dong
  • 日期: 2025-06-02
  • 核心论点: “Large language models (LLMs) are often praised for exhibiting near-human performance on a wide range of tasks… The rise of agentic AI systems is, however, ushering in a mass of applications in which language models perform a small number of specialized tasks repetitively and with little variation. Here we lay out the position that small language models…”
  • 解读: 这篇论文的观点与 Hermes 的架构哲学高度一致——Agent 不需要”全能通用智能”,需要的是在特定场景下高效、可靠地执行。当前 Hermes 使用 deepseek-v4 等大模型,但如果 SLM 路线成立,应考虑支持 Qwen3-30B、Llama-3.1-8B 等小模型作为日常运行的主力

论文: MCP-Bench (Accenture, NeurIPS 2025 Workshop)

  • 核心发现: MCP 场景下 GPT-5 得分 0.749 > o3 0.715 > Gemini 2.5 Pro 0.690 > Claude Sonnet 4 0.681 > Llama-3.1-8B 0.428
  • 启示: 小模型在 MCP 场景下还有较大差距(8B vs 旗舰模型差约 30%),但随着 MCP+(Salesforce)减少 75% token 成本,成本-质量权衡正在改变

─────────────────────────

🧭 趋势研判

本周信号强度

方向趋势信号强度我的判断
Agent 基础设施竞争🔥 急剧升温🔴🟡🟢🔴🔴Rust 原生的 ZeroClaw 31K⭐、NVIDIA 的 OpenShell 6K⭐ 几乎同时出现,Agent 基础设施从 Python 向 Rust/Go 迁移的趋势明确
Agent 上下文管理🔥 热点🔴🟡🟢🔴🔴Context Gateway (YC)、OpenViking (火山引擎)、Graphiti 三家不同路线同时爆发,指向同一结论:当前上下文管理太原始
小模型 Agent↗ 上升🔴🟡🟢🔴SLM 论文 + 多个 tiny-agent 项目(tiny-agents, TinyCTX)出现,4 月/5 月创建
Agent 安全🔥 热点🔴🟡🟢🔴Tirith (2.3K⭐)、OpenShell (6K⭐)、Bumblebee (2.2K⭐)、Claude Code 回归事件(252 HN⭐) - 安全从边缘话题变为核心议题
MCP 生态标准化➡ 平稳🔴🟡🟢MCP-Bench、MCP-Universe、Polymcp 等评估/工具化框架出现,MCP 本身已趋于稳定
代码 Agent 记忆↗ 上升🔴🟡🟢🔴OpenLore 的 orient() 模式 + Epistemic Lease 概念是创新热点,值得跟踪

关注的变化

  • Claude Code 回归事件(⭐252 HN)是一个重要的行业警示:Agent harness 层的”好心办坏事”(每次文件读取都做恶意软件检测)正在浪费大量 token,并且导致 agent 拒绝工作。这意味着 Agent harness 需要更谨慎的设计,不要在主循环中加入过于保守的安全检查。这对 Hermes 的 skill 系统设计也有启示:安全检查应该可分级、可关闭。
  • 上下文压缩成为独立产品品类:YC 支持的 Compresr-ai/Context-Gateway 与火山引擎的 OpenViking 两个项目被列出。这个赛道正在快速拥挤。

─────────────────────────

📋 执行建议汇总

#建议优先级对应项目难度
1调研 ZeroClaw(⭐31K)的安全模型——supervised 分级审批 + 加密工具收据,评估是否引入 Hermes Agent🔴 P0ZeroClaw中
2评估 OpenViking 的”文件系统范式”检索,看能否与 gbrain 的语义搜索结合,引入目录递归检索模式🔴 P0OpenViking中
3阅读 SLM 论文(2506.02153),评估 Hermes 对小模型(Qwen3-30B, Llama-8B)的一等支持优先级🟡 P1ArXiv 2506.02153低
4实现类似 OpenLore “orient()” 的 Hermes 函数——单次调用获取任务相关的 brain pages、skills、代码上下文🟡 P1OpenLore中
5研究 Context Gateway 的后台预计算压缩模式,看是否集成到 Hermes 的 agent loop🟡 P1Context Gateway高
6关注 Tirith(终端安全)和 OpenShell(沙箱安全)的发展,评估是否在 Hermes 中集成🟢 P2Tirith, OpenShell中
7关注 Bumblebee(Perplexity 出品)的供应链安全能力,评估 Hermes 环境是否受益🟢 P2Bumblebee低
8继续跟踪 OpenLore 的 Epistemic Lease 机制——long-session 置信度衰减可能对 Hermes 的长时间任务调度有启示🟢 P2OpenLore低

─────────────────────────

日报自动生成于 2026-05-25 07:10 UTC · 下次扫描 2026-05-26