Local memory for coding agents that searches the session logs Claude Code, Codex, Cursor and others already keep on disk
open sourceMITfreeMCP
deja-vu (deja) indexes the transcripts coding agents already store locally (Claude Code's, Codex's, Cursor's, OpenCode's, Gemini CLI's, Hermes Agent's and those of about 50 other agents) in place, so past sessions are searchable from the first run, history from before it was installed included. It's one Go binary with no LLM calls and no API key: search from the terminal or through its MCP server, recover a task after /compact, hand a goal and open work from one agent to another, restore an uncommitted edit an agent overwrote, and trace which session wrote a line. It can also share vetted decisions with a team through a .deja/memory.jsonl file committed to the repository.
Ways to install
Package managers
Problems it solves
- search what my coding agent did in past sessions
- my coding agent forgot everything after compacting its context
- hand off work from Claude Code to Codex without re-explaining it
Features
- Searches the transcripts about 53 coding agents already store, with no capture daemon, LLM calls or API key
- MCP recall and hooks wired into detected agents with deja install --auto
- Recovers tasks, decisions and files after /compact or a context reset
- deja handoff moves a goal, constraints and open work from one agent to another
- deja restore and deja blame recover overwritten uncommitted edits and trace which session wrote a line
- Shares redacted, vetted decisions through .deja/memory.jsonl in the repository
- Terminal search interface and a standalone local HTML explorer; credentials are stripped at index time
Limitations
- install.sh covers macOS and Linux only; on Windows it installs through Scoop, winget or a release archive.2
- It makes network requests only for updates, sync, version checks and embedding endpoints you configure.2
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Has an MCP server | plan not known |
Alternatives
The same job
These do what deja-vu does.
- Claude-Mem Persistent memory across sessions for Claude Code and other coding agents
- AgentMemory A local memory server that captures coding agent sessions and lets agents recall decisions and fixes later
- ai-memory Long-term memory for AI coding agents, shared across agents, projects and machines
- Engram Persistent memory for AI coding agents
- Momentum A desktop app with one interface and a local memory layer across coding agents like Codex and Claude Code, so a goal, its context and the next step survive a switch between them.
- MemPalace Local-first AI memory. Verbatim storage, pluggable backend, 96.6% R@5 raw on LongMemEval, zero API calls.