Repository navigation
Mnemo 0.1.3
Superseded by 0.1.4, the first release on PyPI. 0.1.3 was never uploaded there; install 0.1.4 with uv tool install mnemohive. The changes below are all in 0.1.4.
What's new
Defence against wrong or poisoned memories
- A memory's identity is permanent. SQL can no longer move a memory to another project, rename it or delete it, and each memory's identity is sealed in a second hash chain.
mnemo verifyreports one changed around the triggers. mnemo verifyremembers the head it verified. It stores the head beside the store (mnemo.db.verified, or--witness FILE), so a rewrite of the whole history is caught next time. After restoring a backup on purpose, delete that file.- The memory policy and the server's instructions treat files, command output and memories as data. Agents report planted instructions to you, and retract a memory that carries instructions for assistants. Measured on four poisoning scenarios (eval).
- Corrections in the web UI are guarded. If an agent changed the memory while the page was open, your correction is refused instead of overwriting it. The UI also refuses cross-site form posts.
Better memory
- Search matches any word of a question, ranked by how many rare words a memory shares. More memories now come up as the first result: 21 of 28 questions on both models, from 20 and 19.
- Near-duplicate warning. Saving a memory that says nearly the same as an existing one in the same project returns the existing ones, so the agent can keep a single memory.
- Memories archived by the old decay job can be restored, from the web UI's Retracted page or with update or revert.
Everyday use
- The web UI has a Scope menu for the global memories and each project's.
- The local embedding model is released after 5 idle minutes, which frees about 90 MB per idle agent session on Linux.
- Linux is supported and checked:
scripts/check-linux.shruns a full install in Docker. Windows has been prepared but not tested. mnemo verifyandmnemo installwarn when the store's directory is readable by other users.
Agent eval
With all of this, the 16-scenario eval with Claude Code and Codex passes 16 of 16 (results).