Hermes Integration Guide

Use this optional integration to make this Wiki the durable, inspectable memory for one configured agent identity. Hermes is the first supported client. Enable LLM Wiki writing mode so the shared Raw space is available. Memory records and opted-in conversation evidence are restricted, immutable Raw entries with published revisions and common Wiki indexing/provenance; forgetting only hides a logical record from provider recall and does not change the Raw source.

1. Create a dedicated key

Open User Center → API Keys and choose the Memory provider option. Set a stable Agent identity (use hermes for Hermes). Create a new private destination unless you deliberately want to share a destination with another client identity. Grant only the memory scopes you need:

  • memory.read for recall
  • memory.write for explicit saves and optional evidence capture
  • memory.delete for reversible forgetting

Keep the secret in Hermes's secure prompt or secret store. Never put it in this page, a command-line argument, a shell history, or a normal JSON configuration file.

2. Install and activate

python -m pip install next-wiki-hermes-memory
hermes memory setup
hermes memory status

Select next-wiki, enter this Wiki's versioned API URL ending in /api/v1, and enter the key only when Hermes asks for a secret. The provider stores non-secret settings below the active Hermes home directory and keeps capture disabled by default. If you want every eligible user/assistant turn archived as evidence, answer yes to the capture_enabled conversation-capture field, then restart Hermes and start a new session. Verify Capture enabled: yes with hermes next-wiki status; hermes next-wiki check only checks connectivity and authorization.

For a preview before activation:

next-wiki-hermes-memory init --wiki-url https://wiki.example.com/api/v1 --dry-run

3. Verify safely

hermes next-wiki status
hermes next-wiki check

status never contacts the Wiki and never prints a key. check validates reachability, API version, the key binding, and granted scopes without returning Wiki content. Automatic capture is asynchronous and excludes tool calls/results, system text, and delegated contexts; inspect the Agent Memory Raw entry and Admin Access Log after the worker reports durable. Remote deployments need HTTPS; a Docker-hosted Hermes process must use an address reachable from its own network, not its host-only loopback address.

4. Recall, save, capture, and revoke

Hermes can use the next_wiki_memory_search, next_wiki_memory_save, and next_wiki_memory_forget tools. Every recalled item includes a Wiki revision citation. Automatic conversation capture is opt-in and excludes tool results by default. Only enable strict pre-compression checkpoints on a Hermes version that reports support for them.

Rotate a key by creating a new dedicated key and re-running setup, then revoke the old key here in User Center. Revocation stops future access immediately; immutable Raw entries retain their original revisions under the Wiki's Raw retention policy, while Hermes forget only changes provider recall state.

For the complete integration reference, see the provider README. The general deployment guide covers shared backups and reverse-proxy operations.

Created Aug 28, 2026 by Unknown