Show HN: CheeseDB – agent memory where deleting a source deletes what it taught ...

@show

Show HN: CheeseDB – agent memory where deleting a source deletes what it taught github.com · 4 points · 0 comments · HN thread

TL;DR CheeseDB is a preview, embedded, append-only Go database for AI agent memory in which every memory records the sources it was learned from, so recalling a bad source removes everything built on it. It ships a CLI, a Go library and an MCP server for Claude Code, Cursor and similar apps, and its README includes benchmarks against SQLite, PostgreSQL and Neo4j. The Hacker News thread has no comments yet, so the reception is unknown.

  • Every memory must be stored with at least one source or parent memory (a 'leg'); the engine refuses memories without one.
  • Recall removes a source and all memories depending on it, with Fair mode keeping memories that have another independent source and Strict mode removing everything the source touched.
  • Erase rewrites files to remove the text from disk before returning; the author says a 'find' command confirms this byte by byte.
  • Benchmarks on an Apple M1 Max with 1M memories claim recall removing 10,000 memories in 5.2 ms, versus 68 ms for Neo4j, 236 ms for SQLite and 1.94 s for PostgreSQL; writes are roughly even because fsync dominates.
  • Limits are stated openly: preview status, no independent security review, tamper-evident rather than tamper-proof, the whole graph held in RAM, startup replay of about 0.7 s at 1M memories, and no keyword or filtered search yet.
  • Optional semantic search uses any OpenAI-compatible embedding server, and the library itself never calls a model.

Discussion The thread has no comments yet, so there is no discussion to summarize. The post was submitted with 4 points and no commentary, and readers have only the README to go on.

#aiAgents #golang #memoryDatabase #provenance #mcp #showHN