Fix it in Codex, and Claude Code remembers. deja indexes the sessions all
53 of your coding agents already wrote to disk — months of history from before you
installed it — so agents keep context across /compact, hand off mid-task via
deja handoff, and recover overwritten code via deja restore. No LLM, one Go binary.
npx @vshulcz/deja-vu install --auto
stages ~/.local/bin/deja and wires MCP recall & hooks into every installed agent
you › prepared statement errors behind pgbouncer. again.
agent › deja(mode: "recall", q: "prepared statement pgbouncer")
codex · Nov 29 2025 · payments · 0.8 ms no model, no network
pgx v5.5 changed prepared-statement caching; pgbouncer cannot hold those across connections. we pinned pgx 5.4.3 — revisit when 1.24 ships support.
agent › You fixed this in Codex in November by pinning pgx 5.4.3. Same cause here — the pin was lost in the last dependency bump.
Every driver, the synthetic corpus and the scoring rules are in the repository — re-run any row or inspect all LongMemEval and LoCoMo runs.
A memory that records forward knows nothing about last March. deja starts full.
The transcripts are the memory. There is no capture step to remember to run and no stack to stand up — your agents have been writing this to disk all along.
| Approach | History before install | Agents shared | Runtime & LLM | LongMemEval-S R@5 | 19,195 sessions |
|---|---|---|---|---|---|
| deja-vu | Yes — indexes existing transcripts | 53 agents | 1 Go binary, 0 LLMs | 97.2% | 13.6 s |
| CLAUDE.md / rules | Only what you hand-write | Per-file / manual | Loaded every turn | — | — |
| Record-forward MCP servers | No — records from install onward | 1–12 (hooks / MCP) | Node / Python / SQLite + LLM | — | — |
| Local vector stores | Partial import (1–3 harnesses) | 3–12 (CLI / MCP) | Python / Node + embedding model | 95–96.6% | 72–95 s |
| Raw transcript grep | Manual file search | Per store format | 250× higher token cost | — | — |
Full 14-tool breakdown and benchmark methodology: compare memory plugins →
deja with no arguments opens a search over every
agent's history, in the terminal you already have open.

Navigate: opens on the sessions behind your uncommitted change, then recent ones in this project; ↵ reads a session at the match, / finds a word inside it, ? lists every key.
Filter: type codex:, yesterday or in:api, or press tab to switch between this project, all projects and Deleted (sessions an agent purged from disk that deja still holds).
Resume or hand off: r reopens a session in its own agent; o continues it in any other agent with its goal, decisions and open work.
Browser view: deja view writes the whole store — sessions, recall audit trail and promoted notes — into one local HTML file (open the live demo).
Type what you half-remember. Get the session where it was solved.
demo corpus: 16 synthetic sessions — press / anywhere to search, or browse the full 67-session demo in deja view →
Every coding agent writes its sessions to disk (JSONL or SQLite). deja parses those stores in place — zero capture step, nothing is uploaded.
Credentials are stripped on the way in. Append-only records plus per-file watermarks mean repeat passes take ~50 ms, with a ~4% index footprint on multi-gigabyte corpora.
0.7 ms in-process lookup via MCP and hooks (at session start, before edits/commands, after failures,
and across compaction), plus deja handoff and deja restore.
Solve it in Codex. Claude remembers.
Local telemetry across every harness.
deja stats --card draws it in your terminal; give it a filename and it writes the SVG for a profile README; this page turns that SVG into a PNG in your browser.
Nothing leaves your machine unless you ask it to.
Indexing and search are local. Keys, tokens, private key blocks and a password someone typed into the chat are stripped at index time, so the cache is safe to keep. No account, no telemetry — even this page keeps what it remembers about you in your own browser.
Getting started · Recovering overwritten uncommitted files · After compaction · Finding a session
Claude Code usage-limit handoff · Switching agents · Sync across machines · Where each agent stores history
Benchmarks · Comparison · Day-zero evaluation · Token cost · Privacy · Auditing agents
Session files on disk · Delete old Claude Code sessions · Delete Cursor chat history · Cursor state.vscdb too large · Recover a deleted session
Claude Code · Cursor · Codex CLI · MEMORY.md 200-line limit · Claude Code hooks · Cursor MCP memory
No conversation found in Claude Code · Codex history · Codex resume session · claude-mem alternative · dsh memory
ten seconds to install, about ten to index — then the next session already knows
curl -fsSL https://raw.githubusercontent.com/vshulcz/deja-vu/main/install.sh | sh && deja install --auto