Git vs vector DB for MCP agent memory: where each breaks in production
Future_AGI · reddit · 2026-09-01
A team spent a month comparing two MCP agent memory stores:
- Git-backed store: readable and auditable — every memory is a plain file you can open, diff, and roll back. Weak retrieval: string/path matching misses topically related memories with no keyword overlap, and unpruned stores rot into stale notes the agent still trusts.
- Vector DB: fixes recall and surfaces context Git never finds. But writes are opaque vectors — no way to inspect what the agent knows, and one bad embedding silently skews later lookups until answers drift.
Current compromise: Git as source of truth with a vector index layered on top. The author asks the community which they trust, and whether anyone runs both successfully.
More from coding & agent
- Claude Code agent uses x402 wallet to buy equity data on-demand — kleffew94 · 2026-09-01
- Released ictexam-mcp: MCP server for exam authoring and auto-grading — ictinnovations · 2026-09-01
- Agent scammed by rug-pulled endpoint, x402 Trust offers history-based risk checks — MountainAssignment36 · 2026-09-01
- Lovable declares the 'model picker' era over, uses 1B+ prompts for auto-routing — tylerbruno05 · 2026-09-01
- Built Pattern MCP to help coding agents verify UI scope before coding — DonR954 · 2026-09-01
- Retrying LLM failures only helps if something can actually change — Available_Witness581 · 2026-09-01