Your agent is about to re-debug something you fixed in March.

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

cursor — payments

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.

97.2%R@5 · LongMemEval-S, all 500 questions · 88.9% hit@1 on the 470-question cleaned set
58%fewer tokens on repeated repository work · 53,558 vs 126,222 cold
13.6sto index 19,195 sessions · 0.7 ms in-process lookup across 53 agents

Every driver, the synthetic corpus and the scoring rules are in the repository — re-run any row or inspect all LongMemEval and LoCoMo runs.

The difference

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.

ApproachHistory before installAgents sharedRuntime & LLMLongMemEval-S R@519,195 sessions
deja-vuYes — indexes existing transcripts53 agents1 Go binary, 0 LLMs97.2%13.6 s
CLAUDE.md / rulesOnly what you hand-writePer-file / manualLoaded every turn——
Record-forward MCP serversNo — records from install onward1–12 (hooks / MCP)Node / Python / SQLite + LLM——
Local vector storesPartial import (1–3 harnesses)3–12 (CLI / MCP)Python / Node + embedding model95–96.6%72–95 s
Raw transcript grepManual file searchPer store format250× higher token cost——

Full 14-tool breakdown and benchmark methodology: compare memory plugins →

Run it bare

deja with no arguments opens a search over every agent's history, in the terminal you already have open.

The deja screen: typing a search, reading the session it found, and continuing it in another agent

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).

Try it — a live search over a fake history

Type what you half-remember. Get the session where it was solved.

$ deja

demo corpus: 16 synthetic sessions — press / anywhere to search, or browse the full 67-session demo in deja view →

How it works 3 steps

01

Reads existing stores in place

Every coding agent writes its sessions to disk (JSONL or SQLite). deja parses those stores in place — zero capture step, nothing is uploaded.

02

Builds a compact incremental index

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.

03

Recalls, hands off & restores

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.

Works with 53

Session activity & usage stats

Local telemetry across every harness.

deja stats card: a year of agent sessions, the agents they came from, and the longest one

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.

Private by construction 0 accounts

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.

Documentation

Your history is already on this machine.

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