frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Open-source memory for coding agents, synced over SSH

https://github.com/vshulcz/deja-vu/
37•vshulcz•1h ago

Comments

vshulcz•1h ago
Hi HN. I built deja after watching Claude Code and Codex debug the same problems more than once.

The annoying thing was that the answer usually already existed somewhere in my old sessions. My records were stored on the disk for months (~3.3 GB). It wasn't easy to find them manually and the new agent session had no idea what the other agent had already found out.

deja indexes the transcripts that Claude Code, Codex, and opencode already write. On my corpus, the initial index takes about 10 seconds and warm searches are 7-9 ms.

There are 3 ways to get the memory back: a normal CLI search, an MCP tool (agent can query it directly) and a SessionStart hook that automatically injects a bit of relevant project context.

The feature I built this for:

deja sync ssh <host>

It moves new memory between machines using the existing SSH setup. Secret data is deleted during indexing and checked again before exporting.

My setup is a laptop and a mac mini without an interface. The agent can work on the mini all night, and in the morning I extract its memory. Then the agent on my laptop will know what the mini tried, what broke, and what eventually worked.

There are other projects (cass, ctx, claude-mem):

https://github.com/Dicklesworthstone/coding_agent_session_se...

https://github.com/ctxrs/ctx

https://github.com/thedotmack/claude-mem

I wanted deja to intentionally use a small approach: one binary code with zero dependency, no LLM calls, searchable verbatim text instead of generated summaries, and synchronization via your own SSH. It does not implement its own network transport; it just connects to the system ssh/scp.

You can install it via curl, brew, npx or go install, then run:

deja install --all

esafak•1h ago
Similar to https://ctx.rs/ and others, I'm sure.

I'd lead with your differentiation. Is it the ssh?

verdverm•1h ago
even more: https://hn.algolia.com/?dateRange=pastMonth&page=0&prefix=fa...
vshulcz•1h ago
My particular interest in deja was that I found a combination that I couldn't find on this list: zero dependencies, zero LLM calls, verbatim text search, proactive secret cleanup and P2P synchronization over SSH.
verdverm•1h ago
We are entering the era of personalized software. I have something similar but I'm not trying to promote or make money with it. I somewhat prefer it stay off the radar so I don't feel the need to cater to other people's feature requests and make it more complex than what I want.
vshulcz•1h ago
Yes, ctx is the closest cousin here. I actually linked it in my top comment.

This causes a very similar itch, but we went a slightly different route regarding some implementation details

Secrets: The ctx README mentions saving the text as is and warns about the need to review the output data before publishing. deja explicitly removes known secret templates at the indexing stage (replacing them with tags like [redacted:aws-key]).

Syncing: It looks like ctx is getting ready for a cloud beta to be shared by the team. Actually, I just wanted something local and free that I had full control over, so deja does P2P syncing through your existing SSH settings.

Recall that deja has a session startup feature that automatically introduces a bit of context when a new agent is loaded, instead of relying solely on manual search.

Both applications solve the same annoying problem by simply optimizing for different workflows :)

BedVibe_Studios•1h ago
I like that this stays local instead of depending on a hosted service. One thing I've noticed while building LLM applications is that memory becomes much more valuable when it's easy to inspect and edit manually. Are you planning to support semantic search later, or is the goal to keep everything deterministic and text-based?
grim_io•23m ago
Still waiting for the agentic memory system for the local Mainframe emulator DB2 instance.
catzapd•5m ago
Does memory for AI agents basically mean -

- Save everything to disk. Index it or store in vectorDB. - Search the storage for similarity based on the new prompt - include any finding with the new prompt as system/user prompt (or if you find the exact answer skip the llm call)

?

Or is there more to it ?

Running Gemma 4 26B at 5 tokens/sec on a 13-year-old Xeon with no GPU

https://www.neomindlabs.com/2026/06/08/running-gemma-4-26b-at-5-tokens-sec-on-a-13-year-old-xeon-...
71•neomindryan•2h ago•25 comments

Mysteries of Telegram Data Centers

https://dev.moe/en/3025
162•theanonymousone•4h ago•43 comments

Open-source memory for coding agents, synced over SSH

https://github.com/vshulcz/deja-vu/
37•vshulcz•1h ago•10 comments

Show HN: misa77 - a codec that decodes 2x faster than LZ4 (at better ratios)

https://github.com/welcome-to-the-sunny-side/misa77
52•nonadhocproblem•1h ago•9 comments

Collection of Digital Clock Designs

https://clocks.dev
25•levmiseri•1h ago•4 comments

Prioritize mental health, and why communication is so important

https://ramones.dev/posts/mental-health/
201•ramon156•6h ago•111 comments

Jurassic Park computers in excruciating detail

https://fabiensanglard.net/jurrasic_park_computers/index.html
806•vinhnx•14h ago•208 comments

Artie (YC S23) Is Hiring Software Engineers

https://jobs.ashbyhq.com/artie
1•tang8330•53m ago

Launch HN: Coasty (YC S26) – An API for computer-use agents

https://coasty.ai/docs
17•nkov47•2h ago•0 comments

Sleep regularity is a stronger predictor of mortality risk than sleep duration (2023)

https://academic.oup.com/sleep/article/47/1/zsad253/7280269
552•bilsbie•6h ago•270 comments

My midlife crisis Corolla is fast, furious, and modded

https://www.zocalopublicsquare.org/my-midlife-crisis-corolla-fast-furious-fully-modded/
59•gmays•3h ago•112 comments

Towards a Harness That Can Do Anything

https://eardatasci.github.io/c/ambiance/index.html
93•evakhoury•3h ago•52 comments

When A.I. Is a Member of the Family

https://www.newyorker.com/magazine/2026/07/20/when-ai-is-a-member-of-the-family
29•fortran77•2h ago•28 comments

A General Goal-Conditioned Minecraft Model

https://pantograph.com/journal/pan-1
12•agajews•1h ago•5 comments

The Memory Heist

https://www.ayush.digital/blog/the-memory-heist
41•eieio•22h ago•3 comments

Unsolved Problems in MLOps

https://spawn-queue.acm.org/doi/pdf/10.1145/3762989
15•gnyeki•1h ago•2 comments

The well-calibrated Bayesian [pdf] (1982)

https://fitelson.org/seminar/dawid.pdf
39•Murfalo•3h ago•11 comments

The Three-Second Theft: Why AI Voice Fraud Outruns Every Defence

https://smarterarticles.co.uk/the-three-second-theft-why-ai-voice-fraud-outruns-every-defence
120•dxs•4h ago•153 comments

Today I Rescued 7,234 Old GIFs

https://danq.me/2026/07/10/rescuing-7234-gifs/
24•birdculture•2d ago•1 comments

OpenAI loses trademark dispute at EU court

https://dpa-international.com/economics/urn:newsml:dpa.com:20090101:260715-930-389143/
114•hermanzegerman•3h ago•97 comments

What designing 54 computer science cards taught me about graphic design

https://fhoehl.com/designing-algodeck
12•marukodo•1h ago•3 comments

Weathergotchi – an open-source climate Tamagotchi

https://github.com/Michael-Manning/E-Paper-Climate-Logger
92•luanmuniz•6h ago•22 comments

The Conservationist Who Turned 40 Terabytes of Public Data into a Video Game

https://blog.exe.dev/meet-the-conservationist-who-turned-40-terabytes-of-government-data-into-a-v...
61•bryanmikaelian•1d ago•10 comments

SpaceX bond worth 10% less than issue price – heading for junk bond status

https://www.ft.com/content/3a023b95-66c3-41e1-b0ce-df752a499541
457•youngtaff•4h ago•383 comments

DEA to Temporarily Schedule 7-Oh and Related Substances to Protect Public Safety

https://www.dea.gov/press-releases/2026/07/01/dea-temporarily-schedule-7-oh-and-related-substance...
60•gnabgib•2h ago•109 comments

What Every Python Developer Should Know About the CPython ABI

https://labs.quansight.org/blog/python-abi-abi3t
30•matt_d•3d ago•4 comments

US Debt Clock Live

https://www.us-debt-clock.com/
6•ourmandave•44m ago•0 comments

FreeBSD 16 Retires the Last of Its GPL Code from Its Base System

https://www.phoronix.com/news/FreeBSD-16-Goes-GPL-Free
21•lr0•1h ago•0 comments

Show HN: 18KB ls alternative in no_std rust and Libc

https://crates.io/crates/fli-tool
14•tracyspacy•4h ago•3 comments

What's the most popular number in Hacker News titles?

https://blog.omgmog.net/post/most-popular-numbers-in-hn-post-titles/
37•omgmog•5h ago•19 comments