engram vs deja-vu

Persistent coding-agent memory compared

engram and deja-vu help coding agents and developers recover project knowledge across sessions. engram saves curated memories to a local database, while deja-vu indexes existing agent session histories for search.

engramdeja-vu
LanguageGoGo
LicenseMITMIT
Stars7k1.2k
Forks724128
Last analyzedOct 3, 2026Oct 19, 2026

Key differences

  • engram stores selected project knowledge in SQLite with FTS5; deja-vu builds a searchable index from existing session histories.
  • engram offers MCP, CLI, HTTP API, and terminal UI access; deja-vu provides a CLI and MCP server, with optional session context supplied by supported harnesses.
  • engram supports Git Sync and optional Cloud replication; deja-vu indexes and searches locally by default and includes tools for moving an index between machines.
  • engram focuses on curated decisions, conventions, and handoffs; deja-vu can search session details such as files opened, commands run, and edit spans.
  • Both are Go projects under the MIT license; the provided figures list 7k stars and 724 forks for engram, compared with 1.1k stars and 109 forks for deja-vu.

Choose engram if you…

  • want to save curated project knowledge for later sessions rather than index entire conversation histories.
  • need a local SQLite memory store with MCP, CLI, HTTP API, or terminal UI access.
  • want optional Git Sync or Cloud replication for sharing or copying project memories.
Read the engram analysis →

Choose deja-vu if you…

  • want to search existing coding-agent session histories without requiring an LLM or embeddings.
  • need to find prior commands, file discussions, or edit details as well as conversation text.
  • want session context or agent-initiated recall through the MCP server and supported harness integrations.
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.