
MEMORY.md into Membase for cross-session persistence.
How It Works
Once installed, the plugin runs automatically during Hermes sessions:- Auto-Capture (on by default): Buffers user and assistant turns and writes original conversation transcripts to Membase Wiki.
- Auto-Recall (off by default): Searches past memories before the next response and injects relevant context.
- Auto Wiki Recall (off by default): Searches wiki documents and injects stable reference material alongside memories.
- Mirror Built-in (on by default): Mirrors Hermes built-in memory writes from
MEMORY.mdinto Membase in the background. - Knowledge Graph: Membase organizes entities, relationships, and facts alongside vector search for richer retrieval.
Setup
1
Install the package and plugin
pip, pip install hermes-membase && hermes-membase install also works.The install command copies the plugin into ~/.hermes/plugins/membase/, sets memory.provider: membase in ~/.hermes/config.yaml, writes default config to ~/.hermes/membase.json, and opens a browser for OAuth login.2
Log in later if you skipped OAuth
~/.hermes/credentials/membase.json, so there are no API keys to manage manually.3
Start using Membase in Hermes
autoRecall and/or autoWikiRecall in ~/.hermes/membase.json.AI Tools
The AI uses these tools autonomously during conversations. Thesemembase_* tools are Hermes plugin-side wrappers around the corresponding Membase MCP tools.
Hermes supports both memory tools and Knowledge Wiki tools, and also mirrors Hermes built-in
MEMORY.md into Membase for cross-session persistence.CLI Commands
hermes membase <command>.
Auto-Recall
When enabled, Hermes prepares relevant Memory and Wiki context before the next AI turn and injects the result into the conversation. Casual chat and short operational messages are skipped to keep recall focused. Both recall modes are disabled by default:Auto-Capture
Auto-Capture buffers user and assistant messages during the session and stores original transcripts as Wiki documents.- During an active session, buffers flush after 5 minutes of silence or 20 buffered messages, whichever comes first.
- At least 50+ characters are required before content is captured, which avoids storing tiny one-off messages.
- Only the primary Hermes agent context is captured, so subagents and background contexts do not create noisy Wiki transcripts.
Mirror Built-in Memory
When Hermes writes to its built-inMEMORY.md, the plugin mirrors those writes to Membase in the background. A local mirror_index.json file prevents duplicate uploads.
If you need to rebuild the mirror index from an existing MEMORY.md, run:
Configuration
Main plugin config is stored in~/.hermes/membase.json. Hermes itself is pointed at Membase through ~/.hermes/config.yaml:
~/.hermes/membase.json are optional:
OAuth login stores rotating tokens in
tokenFile and also persists the generated OAuth clientId automatically, so you normally do not need to edit auth-related keys by hand.
Example config:
Updating the Plugin
To upgrade to the latest version:pip, pip install --upgrade hermes-membase also works. If you want to re-authenticate as part of the upgrade, rerun hermes-membase install without --skip-login.
How Membase Differs
GitHub Repository
Want to inspect the plugin source, track releases, or contribute improvements?hermes-membase on GitHub
Browse the source code, open issues, and follow plugin updates in the standalone repository.
Next Steps
Bring Your Context
Import chat history, connect apps, and more.
Use Your Context
Chat with Memory, agent retrieval, and dashboard exploration.
Knowledge Wiki
Store factual knowledge as wiki documents that Hermes can search directly.
Membase MCP
See every memory and wiki tool available across clients.

