CheeseDB
Embedded Go memory database for AI agents that can revoke everything learned from a bad
CheeseDB is an open-source agent framework for databases. It is available on CLI, macOS, Linux, API and Self-hosted.
- Pricing
- Open source
- Platforms
- CLI, macOS, Linux
- Listing updated
Similar agents
About CheeseDB
The README says CheeseDB is an append-only, hash-chained store that keeps track of where each memory came from. Every memory is recorded with the sources or other memories it was built on, so recalling one source can remove every memory that depended on it, either only those with no other backing (Fair) or everything it touched (Strict). The store is written in Go using only the standard library, and it runs as a folder on disk with no server process.
Agents are reached only through their own token, and the README describes no method that lets one agent address another. Memory can be searched by meaning if you configure an OpenAI-compatible embedding model, and recalled text can be erased from the files on disk. Data is kept in a local folder and verified by hash chain on each open.
The project is described as a preview that has not had an independent security review, and its API and file format may still change before v1.0. Developers building agents that learn from web pages, tools or user messages, and who need to undo what was learned from one of those inputs, are the stated audience.
What it does
- Source-tracked memories
- Each memory records the sources or memories it was learned from, and the engine rejects a memory that has none.
- Dependency-aware recall
- Recalling a source removes every memory built on it, with a choice between keeping memories that have another independent source or removing all of them.
- Verifiable erasure
- Recall with Erase rewrites the files so the removed text is gone, and a byte search can confirm it.
- Hash-chained history
- Every record is chained to the previous one, so edits and damage are detected when the store is opened.
- Per-agent token isolation
- Each agent is accessed only through its own token, which limits what a tool holding one handle can reach.
- Optional semantic search
- With an embedding model configured, memories can be searched by meaning, and recalled memories are never returned.
- MCP server for AI apps
- The cheesedb command can run as an MCP server over stdio, exposing tools for lots, memories, recall and search.
Good for
- Letting an agent undo facts it learned from a web page or tool result that later proved wrong
- Honouring a user's request to delete data while removing the conclusions derived from it
- Giving Claude Code or Cursor a persistent, auditable memory for a single agent
- Embedding an append-only memory store in a Go application without running a database server
Pricing
Open source
Apache License 2.0; no paid plan mentioned.
CheeseDB FAQ
Does CheeseDB need a server or external dependencies?
The README says it is embedded and dependency-free: a Go library and a folder on disk, with no server and no external dependencies.
Is CheeseDB ready for production data?
No. The README describes it as a preview that has not had an independent security review, and it says it is not yet recommended for production data.
Which platforms are supported?
The README says it is developed and tested on macOS, Linux runs the same tests in CI, and Windows is not supported yet.
Does CheeseDB require an embedding model?
No. Semantic search needs an embedding model you configure, and the README says everything else works without one.
Does CheeseDB use a language model to decide what to remember?
The library never calls a model. The README says the cheesedb command and its MCP server call the models you set up, and the caller declares the sources and legs of each memory.
Is CheeseDB free?
Yes. CheeseDB is open source, so you can use and self-host it for free.
Where this comes from
- Description: written from the project's README.