Skip to content
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/docs/integrations/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Speech-to-text supports six providers: local faster-whisper (free, runs on-devic
## Memory & Personalization

- **[Built-in Memory](/user-guide/features/memory)** — Persistent, curated memory via `MEMORY.md` and `USER.md` files. The agent maintains bounded stores of personal notes and user profile data that survive across sessions.
- **[Memory Providers](/user-guide/features/memory-providers)** — Plug in external memory backends for deeper personalization. Eight providers are supported: Honcho (dialectic reasoning), OpenViking (tiered retrieval), Mem0 (cloud extraction), Hindsight (knowledge graphs), Holographic (local SQLite), RetainDB (hybrid search), ByteRover (CLI-based), and Supermemory.
- **[Memory Providers](/user-guide/features/memory-providers)** — Plug in external memory backends for deeper personalization. Supported providers: Honcho (dialectic reasoning), OpenViking (tiered retrieval), Mem0 (cloud extraction), Hindsight (knowledge graphs), Holographic (local SQLite), RetainDB (hybrid search), ByteRover (CLI-based), Supermemory, Memori, and Mnemosyne.

## Messaging Platforms

Expand Down
48 changes: 45 additions & 3 deletions website/docs/user-guide/features/memory-providers.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
sidebar_position: 4
title: "Memory Providers"
description: "External memory provider plugins — Honcho, OpenViking, Mem0, Hindsight, Holographic, RetainDB, ByteRover, Supermemory"
description: "External memory provider plugins — Honcho, OpenViking, Mem0, Hindsight, Holographic, RetainDB, ByteRover, Supermemory, Memori, Mnemosyne"
---

# Memory Providers

Hermes Agent ships with 8 external memory provider plugins that give the agent persistent, cross-session knowledge beyond the built-in MEMORY.md and USER.md. Only **one** external provider can be active at a time — the built-in memory is always active alongside it.
Hermes Agent ships with 9 external memory provider plugins that give the agent persistent, cross-session knowledge beyond the built-in MEMORY.md and USER.md. A 10th community provider (Mnemosyne) is supported via the plugin-discovery system. Only **one** external provider can be active at a time — the built-in memory is always active alongside it.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This conflates bundled and user-installed providers. Current plugins/memory/ has eight tracked provider directories, while the Mnemosyne section describes a separately installed $HERMES_HOME/plugins/mnemosyne plugin. Please retain the eight bundled count and describe community providers separately.


## Quick Start

Expand All @@ -22,7 +22,7 @@ Or set manually in `~/.hermes/config.yaml`:

```yaml
memory:
provider: openviking # or honcho, mem0, hindsight, holographic, retaindb, byterover, supermemory
provider: openviking # or honcho, mem0, hindsight, holographic, retaindb, byterover, supermemory, memori, mnemosyne
```

## How It Works
Expand Down Expand Up @@ -541,6 +541,45 @@ hermes config set memory.provider memori
hermes memory setup
```

### Mnemosyne

Local-first SQLite memory with hybrid semantic + FTS5 + temporal ranking, episodic consolidation, multi-agent conflict detection, and a temporal knowledge graph. Mnemosyne is community-maintained and installed as a Hermes plugin; the Hermes plugin-discovery system loads it from `$HERMES_HOME/plugins/` alongside the bundled providers.

| | |
|---|---|
| **Best for** | Fully local, zero-cloud agents that want hybrid recall (vector + full-text + temporal) plus a knowledge graph |
| **Requires** | `pip install mnemosyne-memory` and a one-time plugin symlink into `$HERMES_HOME/plugins/` |
| **Data storage** | Local SQLite (no network egress) |
| **Cost** | Free (MIT) — no API key, no subscription, no quotas |

**Tools (26):** `mnemosyne_remember`, `mnemosyne_recall`, `mnemosyne_remember_canonical`, `mnemosyne_recall_canonical`, `mnemosyne_shared_remember`, `mnemosyne_shared_recall`, `mnemosyne_shared_forget`, `mnemosyne_shared_stats`, `mnemosyne_sleep`, `mnemosyne_stats`, `mnemosyne_invalidate`, `mnemosyne_validate`, `mnemosyne_get`, `mnemosyne_triple_add`, `mnemosyne_triple_query`, `mnemosyne_triple_end`, `mnemosyne_scratchpad_write`, `mnemosyne_scratchpad_read`, `mnemosyne_scratchpad_clear`, `mnemosyne_export`, `mnemosyne_import`, `mnemosyne_update`, `mnemosyne_forget`, `mnemosyne_diagnose`, `mnemosyne_graph_query`, `mnemosyne_graph_link`.

**Setup:**
```bash
pip install mnemosyne-memory

# Symlink the plugin into $HERMES_HOME so Hermes plugin discovery picks it up.
# We symlink the hermes_memory_provider package (not the core mnemosyne package)
# because that's where the register_memory_provider() entry point lives.
mkdir -p "$HERMES_HOME/plugins"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HERMES_HOME is an optional override; when unset, Hermes falls back to ~/.hermes (hermes_constants.py:75-84). In a normal shell this command expands to mkdir -p /plugins. Initialize it to the documented default before using it, or use an explicit default-home path.

ln -s "$(python3 -c 'import hermes_memory_provider, os; print(os.path.dirname(hermes_memory_provider.__file__))')" \
"$HERMES_HOME/plugins/mnemosyne"

hermes config set memory.provider mnemosyne
```

**Key capabilities:**
- **Hybrid ranking** — combines vector similarity, FTS5 full-text search, and recency / time-aware scoring in one query.
- **Episodic consolidation** — short-term working memories are automatically compressed into long-term episodic summaries.
- **Temporal knowledge graph** — triple-based facts with validity windows (`valid_from` dates) plus multi-hop graph traversal via `mnemosyne_graph_query` / `mnemosyne_graph_link`.
- **Multi-agent conflict detection** — detects and surfaces contradictory facts across sessions and agents.
- **Strict fact matching** — configurable fact recall precision (lenient vs strict) with entity prefix guards.
- **Memory export / import** — full JSON backup and cross-instance migration.

**Lifecycle integration:** Mnemosyne implements the full provider contract (`register_memory_provider`, `initialize`, `is_available`, `system_prompt_block`, `prefetch` + `queue_prefetch`, `sync_turn`, `get_tool_schemas`, `handle_tool_call`, `shutdown`) plus the optional hooks `on_turn_start`, `on_session_end`, and `on_memory_write` (mirrors built-in memory writes to the SQLite backend). A separate `register(ctx)` entry point registers the `hermes mnemosyne` CLI commands. `on_session_switch`, `on_pre_compress`, and `on_delegation` are not yet implemented — see the provider's changelog for status.

**Status note:** Mnemosyne is **community-maintained** rather than first-party-bundled. Inclusion here is to make the option discoverable; bugs and feature requests should go to the Mnemosyne project. The Hermes plugin contract is documented in the [Developer Guide](/developer-guide/memory-provider-plugin) and applies to Mnemosyne the same way it applies to bundled providers.

---

## Provider Comparison
Expand All @@ -556,6 +595,9 @@ hermes memory setup
| **ByteRover** | Local/Cloud | Free/Paid | 3 | `brv` CLI | Pre-compression extraction |
| **Supermemory** | Cloud | Paid | 4 | `supermemory` | Context fencing + session graph ingest + multi-container |
| **Memori** | Cloud | Free/Paid | 5 | `hermes-memori` | Tool-aware memory + structured recall |
| **Mnemosyne**¹ | Local | Free | 26 | `mnemosyne-memory` | Hybrid semantic + FTS5 + temporal ranking + knowledge graph |

¹ Community-maintained; loaded via the plugin-discovery system from `$HERMES_HOME/plugins/`.

## Profile Isolation

Expand Down
2 changes: 1 addition & 1 deletion website/docs/user-guide/features/memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ memory:

## External Memory Providers

For deeper, persistent memory that goes beyond MEMORY.md and USER.md, Hermes ships with 8 external memory provider plugins — including Honcho, OpenViking, Mem0, Hindsight, Holographic, RetainDB, ByteRover, and Supermemory.
For deeper, persistent memory that goes beyond MEMORY.md and USER.md, Hermes ships with external memory provider plugins — including Honcho, OpenViking, Mem0, Hindsight, Holographic, RetainDB, ByteRover, Supermemory, Memori, and Mnemosyne.

External providers run **alongside** built-in memory (never replacing it) and add capabilities like knowledge graphs, semantic search, automatic fact extraction, and cross-session user modeling.

Expand Down
2 changes: 1 addition & 1 deletion website/docs/user-guide/features/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Hermes Agent includes a rich set of capabilities that extend far beyond basic ch
- **[Fallback Providers](fallback-providers.md)** — Automatic failover to backup LLM providers when your primary model encounters errors, including independent fallback for auxiliary tasks like vision and compression.
- **[Credential Pools](credential-pools.md)** — Distribute API calls across multiple keys for the same provider. Automatic rotation on rate limits or failures.
- **[Prompt caching](../configuration#prompt-caching)** — Built-in cross-session 1-hour prefix cache for Claude on native Anthropic, OpenRouter, and Nous Portal. Always-on; no configuration required.
- **[Memory Providers](memory-providers.md)** — Plug in external memory backends (Honcho, OpenViking, Mem0, Hindsight, Holographic, RetainDB, ByteRover, Supermemory) for cross-session user modeling and personalization beyond the built-in memory system.
- **[Memory Providers](memory-providers.md)** — Plug in external memory backends (Honcho, OpenViking, Mem0, Hindsight, Holographic, RetainDB, ByteRover, Supermemory, Memori, Mnemosyne) for cross-session user modeling and personalization beyond the built-in memory system.
- **[API Server](api-server.md)** — Expose Hermes as an OpenAI-compatible HTTP endpoint. Connect any frontend that speaks the OpenAI format — Open WebUI, LobeChat, LibreChat, and more.
- **[IDE Integration (ACP)](acp.md)** — Use Hermes inside ACP-compatible editors such as VS Code, Zed, and JetBrains. Chat, tool activity, file diffs, and terminal commands render inside your editor.
- **[Batch Processing](batch-processing.md)** — Run the agent over many prompts or tasks in parallel from the CLI, with structured outputs and trajectory capture suitable for evals or downstream training pipelines.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Hermes 内置完整的浏览器自动化功能,提供多种后端选项,用
## 记忆与个性化

- **[内置记忆](/user-guide/features/memory)** — 通过 `MEMORY.md` 和 `USER.md` 文件实现持久化、精选记忆。Agent 维护有界的个人笔记和用户画像数据存储,跨会话保留。
- **[记忆提供商](/user-guide/features/memory-providers)** — 接入外部记忆后端以实现更深度的个性化。支持八个提供商:Honcho(辩证推理)、OpenViking(分层检索)、Mem0(云端提取)、Hindsight(知识图谱)、Holographic(本地 SQLite)、RetainDB(混合搜索)、ByteRover(基于 CLI)和 Supermemory。
- **[记忆提供商](/user-guide/features/memory-providers)** — 接入外部记忆后端以实现更深度的个性化。支持的提供商包括:Honcho(辩证推理)、OpenViking(分层检索)、Mem0(云端提取)、Hindsight(知识图谱)、Holographic(本地 SQLite)、RetainDB(混合搜索)、ByteRover(基于 CLI)、Supermemory、Memori 和 Mnemosyne。

## 消息平台

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Hermes Agent 包含一套丰富的能力,远超基础聊天范畴。从持久
- **[备用提供商](fallback-providers.md)** — 当主模型遇到错误时自动故障转移至备用 LLM 提供商,包括针对视觉和压缩等辅助任务的独立备用机制。
- **[凭证池](credential-pools.md)** — 在同一提供商的多个密钥之间分发 API 调用。在触发速率限制或发生故障时自动轮换。
- **[Prompt 缓存](../configuration#prompt-caching)** — 针对原生 Anthropic、OpenRouter 和 Nous Portal 上的 Claude,内置跨会话 1 小时前缀缓存。始终开启,无需配置。
- **[记忆提供商](memory-providers.md)** — 接入外部记忆后端(Honcho、OpenViking、Mem0、Hindsight、Holographic、RetainDB、ByteRover、Supermemory),实现跨会话用户建模和超越内置记忆系统的个性化。
- **[记忆提供商](memory-providers.md)** — 接入外部记忆后端(Honcho、OpenViking、Mem0、Hindsight、Holographic、RetainDB、ByteRover、Supermemory、Memori、Mnemosyne),实现跨会话用户建模和超越内置记忆系统的个性化。
- **[API 服务器](api-server.md)** — 将 Hermes 作为兼容 OpenAI 的 HTTP 端点暴露。连接任何支持 OpenAI 格式的前端——Open WebUI、LobeChat、LibreChat 等。
- **[IDE 集成(ACP)](acp.md)** — 在兼容 ACP 的编辑器(如 VS Code、Zed 和 JetBrains)中使用 Hermes。聊天、工具活动、文件 diff 和终端命令均在编辑器内渲染。
- **[强化学习训练](rl-training.md)** — 从 Agent 会话中生成轨迹数据,用于强化学习和模型微调。
Expand Down
Loading