ai-memory Hermes Plugin
MrLuciano/ai-memory-hermes-plugin
Hermes Agent memory provider plugin that connects to ai-memory for recall, turn sync and wiki tools
ai-memory Hermes Plugin connects Hermes Agent to the ai-memory project as a first-class MemoryProvider, with automatic prefetch, turn sync, session finalization and wiki search and write tools.
What ai-memory Hermes Plugin does
Each turn's recall search runs on a daemon thread after the turn and its result is injected before the next one. Completed turns are captured asynchronously, and a session-end hook sends only the session id when a conversation closes, never the transcript. Writes to the built-in MEMORY.md and USER.md (add and replace) are mirrored into the ai-memory wiki.
The plugin adds Hermes CLI commands: hermes memory setup, plus hermes ai-memory status, config, config-set, link and update. Memory scope is resolved from explicit config, then the checkout's .ai-memory.toml, then the Hermes profile, so it matches other agents sharing the same store. Cron and subagent providers neither write nor consume the single-use handoff. It exposes three tools, ai_memory_search, ai_memory_write and ai_memory_status. Install scripts exist for Linux or macOS (bash) and Windows (PowerShell), with pre-flight checks, a dry-run flag and confirmation prompts.
Key features
- Background recall prefetch injected before the next turn
- Asynchronous turn capture and session-end hook
- Mirroring of MEMORY.md and USER.md writes to the ai-memory wiki
- Hermes CLI commands for status, config, link and update
- Three tool schemas for search, write and status
- Install and update scripts for Linux, macOS and Windows
When to use it
- Sharing one ai-memory store between Hermes and other agents
- Keeping Hermes' built-in memory files mirrored into a searchable wiki
- Letting Hermes search and write wiki notes during a conversation
Who it is for: Hermes Agent users who already run ai-memory or want its wiki as their memory backend.
How it fits with Hermes Agent
It implements Hermes' memory provider plugin interface, so it plugs in through hermes memory setup and its own hermes ai-memory commands.
How to install ai-memory Hermes Plugin
These commands are copied from the project's README. Check the repository for the latest steps before you run them.
uv pip install --system -e "$PWD"
mkdir -p "$HERMES_HOME/plugins/ai-memory"
cp -r plugins/memory/ai-memory/* "$HERMES_HOME/plugins/ai-memory/"Requirements: A reachable ai-memory server and the httpx dependency
FAQ
What is ai-memory Hermes Plugin?
It is a Hermes Agent memory provider plugin that stores and recalls memory through the ai-memory project, with wiki search and write tools.
Does ai-memory Hermes Plugin work with Hermes Agent?
Yes, it is written as a Hermes MemoryProvider plugin. Set it up with hermes memory setup, then manage it with hermes ai-memory status, config and update.
Is ai-memory Hermes Plugin free and open source?
The repository has no license file, so default copyright applies. Check with the author before reusing the code.
Similar memory for Hermes Agent
All memoryShared vector memory for Hermes agent fleets with on-demand MCP retrieval and work/personal firewalls
Ex8-ca memex8Self-hosted memory system with per-type decay and intent-weighted search, plus a Hermes memory plugin
rarf OptMem for HermesLocal Hermes memory provider with append-only records, decay-compressed summaries and BM25 search
codenamekt HexusPostgres and pgvector memory provider for Hermes Agent, also usable as a standalone MCP server
kiranklabs Hermes Memory WikiBrowsable, searchable wiki of Hermes conversations whose facts and decisions feed new sessions
songth1ef nestworkGit-synced shared memory and rules for Claude Code, Codex, Gemini CLI, Hermes and other agents
Related guides: SOUL.md for Hermes Agent: what it is and how to write one · Run multiple Hermes agents with profiles