I

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

Hacker News

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?

Share card

Actual performance

198points
45comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: new, context, using · Missing: mac, agents, macos
96%96% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
75%75% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: io · Missing: https docs, excited, just released
40%40% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
40%40% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: personal · Missing: mobile apps, ios, entrepreneurs
37%37% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: growth · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Zv
Zvec – The SQLite of Vector Databases72%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Zvec – The SQLite of Vector Databases

Hacker News7
Hjarni
Hjarni25%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Give your AI a memory.

Indie Hackers1ai
Engramshift
Engramshift50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Own your AI memory. Take it to any model.

Indie Hackers1ai
Thredda
Thredda28%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AI memory for your conversations

Indie Hackerscommitment-full-time
SQ
SQLiteChangesetSync – Git-Like Sync for SQLite Databases58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SQLiteChangesetSync – Git-Like Sync for SQLite Databases

Hacker News5
C+
C++ virtual_vec vector implementation47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

C++ virtual_vec vector implementation

Hacker News39
C+
C++23 constexpr n-dimensional Euclidean vector56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

C++23 constexpr n-dimensional Euclidean vector

Hacker News1
AI
AI memory with biological decay (52% recall)43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AI memory with biological decay (52% recall)

Hacker News98
Cr
Crowdsourced Databases and Sui Generis Rights44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Crowdsourced Databases and Sui Generis Rights

Hacker News2
Cr
Crowdsourced Databases and Sui Generis Rights52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Crowdsourced Databases and Sui Generis Rights

Hacker News1