Open-source memory for coding agents, synced over SSH
TL;DR Highlight
Indexing on-disk session logs lets coding agents recall fixes they already found
Who Should Read
A developer switching between Claude Code, Codex and Cursor who is tired of agents re-debugging the same bugs
Core Mechanics
- It indexes session logs already on disk
- It reads sessions saved by 42 agents including Claude Code, Codex and Cursor.
- Months of pre-install history is searchable on day one.
- It runs locally with no LLM
- One Go binary, no model and no server.
- Embeddings are used only if you enable semantic recall.
- Agents pull memory without being asked
- Recall arrives at session start, before edits, and after failed commands.
- One MCP tool costs 477 definition tokens per turn versus 8,283 for the largest of seven servers measured.
- Recall and speed numbers are published
- 97.2% R@5 on LongMemEval-S, versus 96.6% MemPalace and 95.2% agentmemory as published.
- Indexing 19,195 sessions takes 17.6s; the next tool takes 72s.
- It fills gaps left by compaction
- Across 43 measured compactions the summary kept 77% of decisions and 0.2% of commands.
- deja hands back the rest.
- Machines sync over SSH
- deja sync ssh <host> moves memory with no cloud.
- It is watermarked, append-only and idempotent.
Community Reactions
- One commenter reviewed 140+ memory systems automatically
- They shared comparisons and a deja-vu review.
- Many people built their own, commenters said
- One uses bge-en-base CPU embeddings, an S3-like endpoint and SQLite, and it works well.
- They add a periodic consolidation step.
- A counterview says a curated MEMORY.md is enough
- Short, readable and easy to fix, versus overengineering.
- Others complained agents don't even read saved memories.
- The author shared their own numbers
- About 3.3GB of history, ~10s first index, 7-9ms warm searches.
- A headless Mac mini works overnight and the laptop pulls its memory in the morning.
How to Apply
- Install and ask about an old fix
- Run the install script and deja install --auto on macOS/Linux.
- In a new session, ask about something solved months ago and check that recall appears.
- Connect machines with sync ssh
- Run deja sync ssh <host> to exchange memory.
- Run deja secrets first to check source transcripts for credentials.
- Surface repeat failures with deja friction
- List errors that hit three or more sessions.
- Put the fixes into deja rules to propagate to every agent.
Try It
# Paste in terminal (macOS/Linux)
curl -fsSL https://raw.githubusercontent.com/vshulcz/deja-vu/main/install.sh | sh
deja install --auto
# Try searching
deja "jwt refresh token"
deja friction
deja secrets
# Next: sync with another machine
deja sync ssh {{host}}Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques