Why does my AI forget everything I told it?

Your AI forgets because each session ends and the next one starts empty, and MAGNEMO gives that next session a record you approved to start from.

What is actually happening

An AI works inside a window of text, and that window is all it has. When a long session fills the window, the AI compacts: it boils the work down to a summary and guesses at what mattered. When the session ends, even the summary goes. The next session opens with nothing, so you explain the project again.

That is not your fault, and no prompt fixes it. The model cannot hold your project between sessions.

What a record you approved changes

MAGNEMO is an open-source memory that runs on your own computer. Your AI can propose a note, and it cannot keep one on its own authority. When you say keep in the chat, the AI carries your yes with keep, and the record says the yes came from the chat. magnemo yes at your terminal is the verified yes. Each kept note carries who wrote it, who approved it, and when. A newer note replaces an older one, and the older one is archived with its words intact.

At the start of the next session, the AI reads that approved record first. It begins from what you confirmed, not from a guess.

The memory is a folder of plain markdown files. You can open it in any editor.

The paste and the config

Install it, then make a vault, which is the folder that holds the memory:

pip install magnemo
magnemo init ./vault

Add this to your MCP client's config, with the path to your own vault:

{"mcpServers":{"magnemo":{"command":"magnemo-mcp","env":{"MAGNEMO_VAULT":"/absolute/path/to/vault"}}}}

Claude Code is the tested client; others take the same block and are untested here. When your AI proposes a note, say keep in the chat and it carries your yes with keep; a yes in the chat is recorded as unverified. magnemo yes at your terminal is the verified yes. A yes in the chat counts half in the trust arithmetic, at most 50 notes a day are kept that way, and a note held for a secret or an injection needs a verified yes. See /day-500.