ClawMem
yoloshii/ClawMem
On-device memory layer for Claude Code, OpenClaw and Hermes with hooks, an MCP server and hybrid search
ClawMem is an on-device memory layer that stores notes and session knowledge in one local SQLite vault shared by Claude Code, OpenClaw and Hermes agents. Hermes Agent connects to it through a MemoryProvider plugin.
What ClawMem does
ClawMem turns markdown notes, project docs and research dumps into persistent memory for AI coding agents. Retrieval combines BM25, vector search, reciprocal rank fusion, query expansion and cross-encoder reranking with composite scoring, intent classification and multi-graph traversal. It integrates through Claude Code hooks, an MCP server, a native OpenClaw plugin or a Hermes Agent MemoryProvider plugin, and all paths write to the same local SQLite vault.
That shared vault means a decision captured in a Claude Code session shows up when an OpenClaw or Hermes agent picks up the same project. ClawMem surfaces relevant context on every prompt, bootstraps sessions, captures decisions from transcripts using a local GGUF observer model and writes handoffs at session end. The clawmem mine command imports conversation exports from Claude Code, ChatGPT, Claude.ai, Slack and plain text. The README states it needs no API keys and no cloud dependencies.
Key features
- Hermes Agent MemoryProvider plugin alongside Claude Code hooks, an MCP server and an OpenClaw plugin
- One local SQLite vault shared by every connected agent
- Hybrid retrieval combining BM25, vector search, rank fusion, query expansion and cross-encoder reranking
- Context-surfacing hook, session bootstrap and end-of-session handoffs
- Decision capture from transcripts using a local GGUF observer model
- Import of conversation exports with clawmem mine
When to use it
- Carrying decisions from a Claude Code session into a Hermes agent working on the same project
- Searching markdown notes and research dumps from an agent without a cloud service
- Importing old ChatGPT or Claude.ai exports into agent memory
Who it is for: Developers who run Hermes alongside other coding agents and want a single local memory vault with no cloud dependencies.
How it fits with Hermes Agent
It includes a Hermes Agent MemoryProvider plugin, and Hermes is one of the three agents named in the project title.
Requirements: Runs on Bun (the project is TypeScript on Bun); the README says no API keys or cloud dependencies are needed.
FAQ
What is ClawMem?
ClawMem is an on-device memory layer for Claude Code, OpenClaw and Hermes agents. It combines hooks, an MCP server and hybrid retrieval over a local SQLite vault.
Does ClawMem work with Hermes Agent?
Yes, ClawMem provides a Hermes Agent MemoryProvider plugin. It writes to the same local vault as the Claude Code and OpenClaw integrations, so context carries across agents.
Is ClawMem free and open source?
Yes, ClawMem is released under the MIT license. It is written in TypeScript and runs locally on Bun.
Similar memory for Hermes Agent
All memorySearch and resume local transcripts from Claude Code, Codex, Hermes and other coding agents
wysie Mnemosyne DashboardLocal-only, read-only web dashboard for browsing a Mnemosyne memory store from Hermes Agent
joshuaswarren RemnicLocal-first markdown memory store shared across Hermes, OpenClaw, Claude Code, Codex and other agents
mage0535 Memory SidecarExternal memory sidecar for Hermes, Claude Code, Codex and Cursor using gbrain and Hindsight
Cyrene963 Hermes PatchesCommunity patch set adding a Memory OS, semantic recall and pre-tool gating to Hermes Agent
seojoonkim MemKraftLocal-first plain-Markdown knowledge system for AI agents, usable as a Hermes Agent memory provider
Related guides: SOUL.md for Hermes Agent: what it is and how to write one · Run multiple Hermes agents with profiles