Sign InOpen Brain
GitHubGitHub RepoNeeds Review

thedotmack/claude-mem

Claude-Mem records agent activity, compresses it into persistent project memory, and retrieves selected history later, trading extra local services and stored data for cross-session continuity.

GitHub
Open Source Open MarkdownOpen JSON
Source Summary

Claude-Mem captures lifecycle events, stores sessions and summaries in SQLite, and combines keyword and vector retrieval. Its **3-layer workflow** searches a compact index, inspects nearby timeline context, then fetches selected observations.

Practical Implication

For recurring agent work, retrieve narrowly instead of injecting whole session histories. The project claims **about 10× token savings** from filtering before full fetches, and exposes privacy tags plus controls over injected context.

Agent-Ready Context
Claude-Mem captures lifecycle events, stores sessions and summaries in SQLite, and combines keyword and vector retrieval. Its **3-layer workflow** searches a compact index, inspects nearby timeline context, then fetches selected observations.

For recurring agent work, retrieve narrowly instead of injecting whole session histories. The project claims **about 10× token savings** from filtering before full fetches, and exposes privacy tags plus controls over injected context.

The plugin adds a Bun-managed worker, hooks, local storage, and Chroma-based search, so it expands both operational and privacy surface area. Install through its dedicated installer or plugin commands; **npm install -g** provides only the library and does not configure the memory system.
Connected Context · Feed7 Judgment

Claude-Mem turns selective episodic retrieval into an installable local workflow: index first, inspect nearby context, then fetch only chosen observations. It confirms the value of bounded retrieval while making the operational and privacy costs concrete. Unlike learned consolidation, it keeps memory external and inspectable, but its token-savings claim does not resolve provenance, contradiction handling, or production governance.

UniMem: Complementary Episodic-to-Parametric Memory for Boundary-Agnostic Task StreamsUniMem routes recurring knowledge toward learned parameters, whereas Claude-Mem keeps captured experience in an external retrieval store; together they expose a design choice between inspectable episodic recall and consolidation.Lessons from Studying Every Memory System — Shlok Khemani, IndependentClaude-Mem supplies privacy tags and injection controls that partially support governed memory, while the candidate identifies additional requirements such as conflict detection, editing, visibility, and deliberate updates.TencentCloud/TencentDB-Agent-MemoryBoth make persistent agent context reusable, but Claude-Mem focuses on local session observations while TencentDB-Agent-Memory broadens the unit of memory to permissioned workflows, documents, code, and skills.Citation Needed: Provenance for LLM-Built Knowledge Graphs — Daniel Chalef, Zep AIClaude-Mem’s filtering reduces injected context, but the provenance candidate shows why retrieved or synthesized observations also need derivation and deletion metadata to remain governable.
Context Map
agentcoding#agent-memory#retrieval#context-engineering
Uncertainty
The plugin adds a Bun-managed worker, hooks, local storage, and Chroma-based search, so it expands both operational and privacy surface area. Install through its dedicated installer or plugin commands; **npm install -g** provides only the library and does not configure the memory system.