The memory gate
A drop-in filter that sits in front of mem0, Zep, Letta, or your own RAG and refuses to store the wrong things. Questions, commands, hypotheticals, and other people's claims should never become "facts" in your agent's memory. The gate catches them at ingest, before they poison retrieval. Zero dependencies, roughly one microsecond per call.
Honest proof: Benchmarked 35.2% to 100% precision on a 60-utterance test set across English, Hebrew, Russian, and Romanian, against a mem0-style baseline. Tested mem0 adapter included. Read the code and run the benchmark yourself.
View on GitHub →