StackMap
Subscribe

claude-mem alternatives

Curated alternatives to claude-mem — and why you'd switch.

engrim

Local SQLite episodic memory shared across Antigravity, Claude Code, Cursor, Windsurf and Codex: hooks/MCP capture decisions, FTS5+model2vec hybrid recall reloads ~1k tokens per session.

Why switchBoth are hook-driven cross-harness session memory; claude-mem runs an LLM compression pass over what the agent did, engrim stores curated decisions/facts locally with no LLM in the loop.
Full comparison →
deja-vu

Indexes the session histories your coding agents already wrote — 17 harnesses, months retroactive — and serves recall over MCP. 84.9% hit@1 on LongMemEval-S, no LLM, no embeddings. One Go binary.

Why switchBoth give a coding agent cross-session recall. Deja-vu is retroactive and free — it indexes the session logs 17 harnesses already wrote, no LLM, no embeddings, one Go binary. Claude-mem only knows sessions it captured, but pays an LLM per session to produce curated observations instead of raw history.
Full comparison →
opencode-mem

OpenCode plugin giving coding agents persistent cross-session memory — local SQLite + vector search, automatic memory capture, user-profile learning, and a web UI. Nothing leaves your machine.

Why switchSame plugin-level memory pattern with automatic capture and local vector search, scoped to OpenCode only. Pick opencode-mem if that is your harness and you want something small; claude-mem spans many harnesses and ships a worker, viewer and MCP toolset.
Full comparison →
ai-memory

Rust long-term memory server for coding CLIs: lifecycle hooks capture sessions into a sanitized shared wiki, then hand a bounded summary to the next agent so Codex can resume what Claude Code started.

Why switchAlso hooks coding-CLI sessions into a long-term store, but written in Rust and shaped as a sanitized shared wiki rather than a per-session observation stream. Choose by artifact: readable wiki versus searchable observations.
Full comparison →
EverOS

One portable memory layer for every agent: conversations, files and trajectories kept as canonical Markdown, indexed locally by SQLite and LanceDB, with offline reflection that refines them.

Why switchEveros keeps memory as canonical Markdown you can read, edit and git across any agent; claude-mem keeps it in SQLite + Chroma behind a worker API and web viewer. Portability and auditability versus search quality and automation.
Full comparison →
operator-memory

Context engine for coding agents: each session consults, then updates, a Markdown brain of specs, decisions, standards and lessons — private, team-shared via Git, and per-user. No embeddings.

Why switchBoth give coding agents memory across sessions. claude-mem captures and compresses what the agent did into retrievable observations; Operator rejects snippet capture and has the agent edit canonical spec documents instead.
Full comparison →
supermemory

Memory and context engine for AI: fact extraction, user profiles, contradiction handling and forgetting, hybrid RAG + memory search, connectors, agent plugins and a one-binary local mode.

Why switchFor Claude Code specifically: claude-mem compresses the agent's own sessions into observations, Supermemory's plugin keeps preferences and project facts in a memory API shared across tools.
Full comparison →
TencentDB-Agent-Memory

Tencent's team memory hub for agents: an API proxy turns conversations, docs and code into shared chat memory, skills, an LLM wiki and a code graph, reused across agents.

Why switchBoth capture what agents do and compress it into memory. claude-mem uses hooks for one user; TencentDB uses an API proxy and serves a team.
Full comparison →
graphicle

One Rust program giving coding agents a code graph plus memory of docs, decisions and past sessions, served over MCP to Claude Code, Codex, Cursor and VS Code.

Why switchFor the memory half: both remember past agent sessions. claude-mem compresses observations; Graphicle ties them to the code graph.
Full comparison →