claude-mem
Also known as: thedotmack/claude-mem, claude mem, persistent memory plugin for Claude Code
The core problem claude-mem solves is what builders call agent amnesia: every new coding session starts cold, with no knowledge of past decisions, architectural tradeoffs, or previous fixes. Claude-mem hooks into the agent's execution loop, records every file read, tool call, and conversation turn, then uses an LLM to compress those observations into structured memory entries stored in a local SQLite database.
When a new session starts, claude-mem queries that memory store based on the current task and injects only the relevant context back into the agent's system prompt, so the agent picks up where it left off without consuming the whole context window. The project originated as a Claude Code plugin but expanded into a vendor-agnostic layer that works with OpenClaw, Codex, Windsurf, Copilot, and other coding agents, standardizing the memory format so a session in one agent can inform a session in another.
It went viral in early 2026, gaining tens of thousands of GitHub stars within days of launch, and has since crossed 108K stars, making it one of the most-adopted open-source tools in the AI coding ecosystem. Its rise validated persistent cross-session memory as a category of developer infrastructure, something vendors now treat as table stakes rather than a third-party plugin.