Hermes Memory Providers: A Complete Breakdown for New Users

Hermes Memory Providers: A Complete Breakdown for New Users

Hermes 内存提供程序:新手完全指南

Hermes has a lot of memory options. If you’re new, the choices can be overwhelming — built-in memory, 8 external providers, different costs, different architectures. This guide breaks it all down so you can make the right call for your setup. Hermes 提供了多种内存选项。如果你是新手,这些选择可能会让你感到不知所措——内置内存、8 种外部提供程序、不同的成本、不同的架构。本指南将为你详细拆解,帮助你为自己的配置做出正确的选择。

First: Built-In Memory (Always Active)

第一部分:内置内存(始终处于活动状态)

Before we talk providers, understand that built-in memory is always on. It doesn’t cost anything, requires no setup, and works out of the box. 在讨论提供程序之前,请先了解内置内存是始终开启的。它无需任何费用,无需设置,开箱即用。

Two files in ~/.hermes/memories/: ~/.hermes/memories/ 下的两个文件:

FilePurposeChar Limit
MEMORY.mdAgent’s notes — environment facts, project conventions, lessons learned2,200 chars (~800 tokens)
USER.mdUser profile — your name, preferences, communication style1,375 chars (~500 tokens)
文件用途字符限制
MEMORY.md智能体笔记 — 环境事实、项目约定、经验教训2,200 字符 (~800 tokens)
USER.md用户资料 — 你的姓名、偏好、沟通风格1,375 字符 (~500 tokens)

Both are injected into the system prompt at the start of every session. The agent manages them automatically — it saves preferences you correct, environment facts it discovers, and conventions it learns. 这两个文件在每次会话开始时都会被注入到系统提示词中。智能体会自动管理它们——它会保存你修正的偏好、发现的环境事实以及学到的约定。

Key details: 关键细节:

  • Entries are separated by § delimiters.
  • 条目由 § 分隔符隔开。
  • The header shows usage % (e.g., MEMORY [67% — 1,474/2,200 chars]).
  • 头部显示使用百分比(例如:MEMORY [67% — 1,474/2,200 chars])。
  • Above 80% capacity, the agent should consolidate before adding.
  • 当容量超过 80% 时,智能体应在添加新内容前进行整合。
  • Duplicate entries are auto-rejected.
  • 重复条目会被自动拒绝。
  • Entries are scanned for injection/exfiltration patterns for security.
  • 出于安全考虑,条目会被扫描是否存在注入/数据外泄模式。
  • Changes persist to disk immediately but appear in the system prompt at the next session (frozen snapshot — preserves LLM prefix cache).
  • 更改会立即保存到磁盘,但在下一次会话时才会出现在系统提示词中(冻结快照 — 以保留 LLM 前缀缓存)。

For most new users, built-in memory is enough. It handles preferences, project facts, and daily workflow notes. You don’t need an external provider for a personal assistant setup. 对于大多数新用户来说,内置内存已经足够了。它能处理偏好、项目事实和日常工作笔记。对于个人助理设置,你不需要外部提供程序。

But you’ll want one when: 但在以下情况下,你可能需要外部提供程序:

  • You have multiple Hermes profiles that should share knowledge.
  • 你有多个需要共享知识的 Hermes 配置文件。
  • You want the agent to learn and synthesize across sessions automatically.
  • 你希望智能体能自动跨会话学习和综合信息。
  • You’re running long conversations that exceed context limits.
  • 你正在进行超出上下文限制的长对话。
  • You need structured knowledge retrieval (entities, relationships, not just text blobs).
  • 你需要结构化的知识检索(实体、关系,而不仅仅是文本块)。

The 8 External Memory Providers

8 种外部内存提供程序

All external providers are installed via: 所有外部提供程序均通过以下方式安装:

hermes memory setup # interactive picker
hermes memory status # check what's active
hermes memory off # disable

Or set manually in ~/.hermes/config.yaml: 或者在 ~/.hermes/config.yaml 中手动设置:

memory:
  provider: hindsight # or any of the 8

Important: Only one external provider can be active at a time. All of them layer on top of built-in memory — they don’t replace it. 重要提示: 同一时间只能激活一个外部提供程序。它们都是在内置内存的基础上叠加的,并不会取代它。

Quick Comparison

快速对比

ProviderStorageCostUnique AngleBest For
HindsightLocal/CloudFree (local)Knowledge graph + reflect synthesisHighest accuracy, privacy
HolographicLocal SQLiteFreeHRR algebra + trust scoring, zero depsAir-gapped, zero-install
OpenVikingSelf-hostedFree (AGPL)Tiered L0/L1/L2 loading, 80-90% token savingsSelf-hosted teams, cost optimization
Mem0CloudFreemiumServer-side LLM extraction, dual memory scopeFastest setup
HonchoCloud/SelfPaid/FreeDialectic user modelingMulti-agent, deep user understanding
ByteRoverLocal/CloudFreemiumKnowledge tree in MarkdownPre-compression knowledge capture
RetainDBCloudPaidHybrid search: vector + BM25 + rerankingProduction search quality
SuperMemoryCloudWeb-focused memory with browser integrationWeb research workflows
提供程序存储成本独特优势适用场景
Hindsight本地/云端免费 (本地)知识图谱 + 反思综合最高准确度、隐私
Holographic本地 SQLite免费HRR 代数 + 信任评分,零依赖离线环境、零安装
OpenViking自托管免费 (AGPL)分层 L0/L1/L2 加载,节省 80-90% token自托管团队、成本优化
Mem0云端免费增值服务端 LLM 提取,双重内存范围最快设置
Honcho云端/自托管付费/免费辩证用户建模多智能体、深度用户理解
ByteRover本地/云端免费增值Markdown 知识树预压缩知识捕获
RetainDB云端付费混合搜索:向量 + BM25 + 重排序生产级搜索质量
SuperMemory云端专注网页的内存,带浏览器集成网络研究工作流

Benchmark Snapshot

基准测试快照

Only two providers have published LongMemEval scores: 目前只有两家提供程序发布了 LongMemEval 分数:

ProviderScoreModel
Hindsight91.4%Gemini-3
Hindsight89.0%Open-source 120B
Mem067.6%GPT-4o (LongMemEval-S variant)
提供程序分数模型
Hindsight91.4%Gemini-3
Hindsight89.0%开源 120B
Mem067.6%GPT-4o (LongMemEval-S 变体)

Hindsight is the clear retrieval accuracy leader. Others haven’t published comparable benchmarks. Hindsight 在检索准确度方面处于绝对领先地位。其他提供程序尚未发布可比的基准测试数据。


(Note: Due to length constraints, the detailed “Provider Deep Dives” section for each of the 8 providers follows the same logic as above. If you need the full text for the remaining sections, please let me know!) (注:由于篇幅限制,8 个提供程序的详细“深度解析”部分遵循上述逻辑。如果你需要剩余部分的全文,请告诉我!)