agent-memory vs deja-vu

Persistent memory for coding agents compared

agent-memory and deja-vu help coding agents reuse project context across sessions. agent-memory turns captured notes into tiered memory, while deja-vu indexes existing agent histories for local search and recall.

agent-memorydeja-vu
LanguageTypeScriptGo
License—MIT
Stars71.2k
Forks0128
Last analyzedOct 28, 2026Oct 19, 2026

Key differences

  • agent-memory is a TypeScript system that captures journal entries and consolidates them into topic memory; deja-vu is a Go tool that indexes existing session files.
  • agent-memory organizes memory into hot, warm, and cold tiers and generates AGENTS.md context; deja-vu offers search, MCP recall, and hooks over indexed histories.
  • agent-memory supports harnesses including Amp, Cursor, and Codex; deja-vu indexes histories from Claude Code, Codex, Cursor, and many other agents.
  • agent-memory’s consolidation workflow uses an LLM command; deja-vu supports local lexical search and MCP recall without an LLM, with optional semantic search via embeddings.
  • agent-memory is marked quiet, with no commits in the last 90 days and no release in over a year; deja-vu has frequent commits and releases but is described as changing quickly.
  • deja-vu is MIT-licensed and lists Go 1.25, Node.js 18 or later, and Docker among its requirements; agent-memory provides filesystem storage and adapter interfaces.

Choose agent-memory if you…

  • want to turn session notes into organized, tiered project memory.
  • need generated AGENTS.md context with hot memories inlined and warm memories listed.
  • prefer a filesystem-based workflow with a CLI and harness adapter interfaces.
Read the agent-memory analysis →

Choose deja-vu if you…

  • want to search existing session histories across multiple coding agents.
  • need local lexical search, MCP recall, or automatic recall hooks without requiring an LLM.
  • want tools for recovering prior fixes, decisions, commands, and project context from agent history.
Read the deja-vu analysis →

Compare the numbers side by side, or add more projects

This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.