Show HN: I replaced vector databases with Git for AI memory (PoC)
3 days ago
- #Markdown
- #Git-based storage
- #AI memory
- DiffMem is a lightweight, git-based memory backend for AI agents and conversational systems.
- Uses Markdown files for human-readable storage and Git for tracking temporal evolution.
- Features an in-memory BM25 index for fast, explainable retrieval.
- Treats memory as a versioned repository with current state in editable files and history in Git commits.
- Designed to reduce query surface area by focusing on current-state files.
- Enables differential intelligence by leveraging Git diffs and logs for tracking memory evolution.
- Ensures durability and portability through plaintext Markdown and Git's distributed nature.
- Structured as importable modules with components like Writer Agent, Context Manager, and Searcher Agent.
- Solves key challenges in AI memory systems like reduced query surface and scalable evolution tracking.
- Early PoC with functional features but known limitations like no automatic git sync and basic error handling.
- Envisions future applications like agent-driven pruning, collaborative memories, and temporal agents.
- Open-source R&D project from Growth Kinetics, seeking collaborations and feedback.