Memory is a path
Every memory lives at a path like deploy/rollback, with a one-line title, a summary and the full text. Agents list, read and search it like a filesystem.
Long-term memory for coding agents
Mimir keeps what an agent learns in your own Postgres — paths, versions, a digest to start from, and search by meaning — and hands it back at the start of the next session.
❯ what do we know about token rotation?
+ Thought · 0.4s
✓ memory_digest
> repo: mimir
12 memories · auth, deploys, conventions
✓ memory_search
> query: "token rotation"
auth/token-rotation · auth/session-expiry
Tokens rotate from Settings → API keys. The old key keeps working for 24 hours, so deploy first and revoke after.
read 2 memories · 1.1s
Every memory lives at a path like deploy/rollback, with a one-line title, a summary and the full text. Agents list, read and search it like a filesystem.
MCP over HTTP for OpenCode, Claude Code, Codex, Cursor and the rest, plus a plain REST mirror for anything that speaks curl.
Runs in your homelab on one container and one database. User accounts, per-project grants, two-factor sign-in, encrypted backups.
Run it on your own machine, point one agent at it, and the next session starts where the last one ended.
Start in five minutes
docker compose up -d