thedotmack/claude-mem — persistent session memory for any agent
Memory layer (101k★, Apache-2.0, TypeScript) that captures everything an agent does during sessions, compresses it with AI, and injects the relevant context back into future sessions.
Why I saved this#
Cross-session memory built as a real pipeline — capture, AI-compress, re-inject — instead of hoping the model remembers. Worth studying against how Hermes does memory and session search.
Notes#
Works with Claude Code, Codex, OpenCode, Gemini, Copilot, OpenClaw and Hermes. ~101k★ and 8.8k forks, pushed the day I saved it — very active. Docs: claude-mem.ai .