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?


Comments URL: https://news.ycombinator.com/item?id=44969622

Points: 27

# Comments: 2

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

Létrehozva 24h | 2025. aug. 21. 7:30:08


Jelentkezéshez jelentkezzen be

EGYÉB POSTS Ebben a csoportban

Show HN: Changefly ID + Anonymized Identity and Age Verification

Hey HN! I’m Lukas Dickie the founder of Changefly and I’m truly excited to share with you our latest release of Changefly ID with Anonymized Identity & Age Verification.

By putting privacy first

2025. aug. 22. 2:10:15 | Hacker news
From GPT-4 to GPT-5: Measuring Progress in Medical Language Understanding [pdf]

I recently worked on running a thorough healthcare eval on GPT-5. The results show a (slight) regression in GPT-5 performance compared to GPT-4 era models.

I found this to be an interesting find

2025. aug. 22. 2:10:09 | Hacker news