{"repo":"JustVugg/mnem","free":true,"listed":false,"github":"https://github.com/JustVugg/mnem","clone":"git clone https://github.com/JustVugg/mnem.git","description":"Memory as state, not search — deterministic, dependency-free memory for AI agents. The memory lives in a Markdown file.","language":"Python","stars":51,"topics":["agent-memory","ai-agents","llm","markdown","memory","python","state-management","zero-dependencies"],"license":"MIT","category":"ai-agents","readme_excerpt":"mnem Memory as state, not search. Most memory layers for AI agents answer one question: \"what is similar?\" They embed your text and return the nearest neighbours. But an agent usually needs a different answer: \"what is true now ?\" That gap is where agents quietly fail. You tell the assistant \"I prefer aisle seats,\" then later \"actually, window seats now\" — and a similarity search happily returns both , so the model books you an aisle seat with total confidence. mnem treats memory as evolving state instead of a search index: - every statement is bucketed into a topic ; - a newer statement about a topic supersedes the older value (belief revision); - stale values stop being returned — you get the current answer, not a pile of similar ones; - private facts are stored but never surfaced, so deleted/sensitive data can't leak. It is deterministic , dependency-free , and tiny — an in-process state machine, light like Redis. There is no vector database, no server, and no model required. Topic salience is learned from your data with an IDF weight rather than a hand-written stop-word list, so it adapts to any domain or language. And it has one trick nobody else ships: the memory lives in a Markdown file. The file is the database MEMORY.md now reads: That one file is simultaneously: - the storage — every add / forget lands there instantly (autosave); - a human interface — add a line to teach it, delete a line to forget, edit a line to correct it; reopen and your edits are the new truth;","default_branch":null,"files":null,"tree":[],"storefront":"/r/JustVugg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JustVugg/mnem/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}