Show HN: I replaced vector databases with Git for AI memory (PoC)

Hacker News (score: 51)
Found: August 21, 2025
ID: 978

Description

Other
Show HN: I replaced vector databases with Git for AI memory (PoC) Hey HN! I built a proof-of-concept for AI memory using Git instead of vector databases.

The insight: Git already solved versioned document management. Why are we building complex vector stores when we could just use markdown files with Git's built-in diff/blame/history?

How it works:

Memories stored as markdown files in a Git repo Each conversation = one commit git diff shows how understanding evolves over time BM25 for search (no embeddings needed) LLMs generate search queries from conversation context Example: Ask "how has my project evolved?" and it uses git diff to show actual changes in understanding, not just similarity scores.

This is very much a PoC - rough edges everywhere, not production ready. But it's been working surprisingly well for personal use. The entire index for a year of conversations fits in ~100MB RAM with sub-second retrieval.

The cool part: You can git checkout to any point in time and see exactly what the AI knew then. Perfect reproducibility, human-readable storage, and you can manually edit memories if needed.

GitHub: https://github.com/Growth-Kinetics/DiffMem

Stack: Python, GitPython, rank-bm25, OpenRouter for LLM orchestration. MIT licensed.

Would love feedback on the approach. Is this crazy or clever? What am I missing that will bite me later?

More from Hacker

Show HN: I created a cross-platform GUI for the JJ VCS (Git compatible)

Show HN: I created a cross-platform GUI for the JJ VCS (Git compatible) Personally, I think the JJ VCS (<a href="https:&#x2F;&#x2F;github.com&#x2F;jj-vcs&#x2F;jj" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jj-vcs&#x2F;jj</a>) hit a point some time in this past year where I find it hard to find a great reason to continue using git. Over the years I&#x27;ve cobbled together aliases and bash functions to try to improve my git workflow, but after using jj, which works with ~any git repo and integrates great with Github repos, all of the workflow issues I ran into with git are not only solved, but improved in ways I couldn&#x27;t manage with simple scripts.<p>One example is the op log, which lets you go to any point in your repo&#x27;s time and provides simple undo and redo commands when you want to back out of a merge, didn&#x27;t mean to rebase, etc.<p>Because I have a pretty strong conviction that JJ is at this point a cleaner and more powerful version of git, my hopes are that it continues to grow. With that, it seemed a proper full-featured GUI was missing for the VCS. There&#x27;s some plugins that add some integration into VS Code, and there&#x27;s one in the works to get Intellij support working, but many of the constructs JJ provides in my opinion necessitate a grounds-up build of a GUI around how JJ works.<p>Right now, Judo for JJ is an MVP in an open beta. I did my best to support all of the core functionality one would need, though there&#x27;s many nice-to-haves that I am going to add, like native merge support, native splitting, etc. Most of this will be based on feedback from the Beta.<p>I&#x27;m really grateful for the great community JJ has built, alongside the HN community itself in the countless VCS-based posts I&#x27;ve read over the years, and am hoping for lots of input here during Beta under real usage - the goal is to be a full-featured desktop GUI for the VCS, similar to many of the great products that are out there for git.

Tidewave Web: in-browser coding agent for Rails and Phoenix

Tidewave Web: in-browser coding agent for Rails and Phoenix

Show HN: The missing link of a bookstore's tech stack

Show HN: The missing link of a bookstore's tech stack Hi HN!<p>I built Bookhead because I used to work as a bookseller and I wasn&#x27;t happy with the software options when I decided to sell my own collection online (with the hopes of one day growing so I can open my own brick &amp; mortar). So I decided to make my own bookselling app...a classic hacker distraction.<p>Bookhead has two main parts: 1. an inventory management app that allows a bookseller to list their books anywhere they want to sell books (like Squarespace, Biblio, eBay, Shopify (coming soon!), etc) 2. an e-commerce platform with a CMS for selling books and letting a store control their online brand<p>I have a very exciting roadmap that I&#x27;m not ready to fully reveal, but it&#x27;s all based on books. I&#x27;m building a sorta Zapier-like platform for independent booksellers. Everything is so fragmented and disconnected, which makes it hard for booksellers to do their work. I&#x27;m hoping to change that. I have a blog post that lays out my vision here: <a href="https:&#x2F;&#x2F;bookhead.net&#x2F;blog&#x2F;fragmented&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bookhead.net&#x2F;blog&#x2F;fragmented&#x2F;</a><p>The current iteration is like &quot;data engineering as a service for books.&quot; A book is a powerful thing. I&#x27;m hoping to give a bookstore everything they need to sell books online. Inventory, e-commerce, marketing, etc. It&#x27;s a crowded market but I&#x27;ve had fun making the bookselling app that I believe should exist.<p>If you know any booksellers, please let them know about this! I&#x27;m onboarding my first customer right now and the biggest bottleneck is the other bookselling software providers, despite my intention to collaborate instead of compete. It&#x27;s frustrating to wait for two weeks for a point of sale provider to setup an integration. It&#x27;s almost like they don&#x27;t care about their customers. Some providers even require ethernet cables for their software...still partying like it&#x27;s 1999. Perfect for early-adopter booksellers frustrated with current tech who understand the power of automation.<p>I&#x27;m currently looking for funding so I can focus on this full-time. My biggest problem right now is time (aka money) because I have to sell my time to make rent etc, and can&#x27;t focus on this project like I need to. I&#x27;ve gotten good validation from booksellers and other technically savvy folks in the industry (I&#x27;ve heard from two different companies that they&#x27;ve considered building something like this), so I believe I have something valuable. I&#x27;m not interested in funding from somebody who doesn&#x27;t share my love for books or doesn&#x27;t support my mission: help people use technology to promote literature. I believe that literature is one of humanity’s most prized creations, and we can use technology as a tool to keep this gift alive.<p>Please email me at sam@bookhead.net if you know of booksellers who might want to be an early adopter, or know of any funding opportunities that might be a good fit.

No other tools from this source yet.