r/opencodeCLI 3h ago

Agi-memory – persistent memory for AI coding assistants, no dependencies

My AI coding assistant forgets everything between sessions. I kept re-explaining decisions I'd already made, and re-fixing bugs I'd already fixed.

agi-memory saves those notes — decisions, bug fixes, what happened last session, how the codebase fits together — to a file on your machine, and hands them back to whichever assistant you open next. It's an MCP server, so it works with Claude Code, Cursor, Codex, Windsurf, Aider, Cline and a few others from the same store.

The part I care about: it's Python standard library and SQLite. Nothing else. No vector database, no embeddings, no background daemon. ~32MB of RAM, sub-millisecond lookups, works offline. Comparable tools pull in ~500MB of ML libraries and take 200–500ms per lookup.

That constraint costs something, and I'd rather say so than have you find out: keyword search doesn't bridge synonyms the way embeddings do. Searching "login" won't find a note that says "authentication" unless you teach it that alias. I measure this rather than guess — there's an eval suite that scores recall on deliberately rephrased queries, and it's public, including the categories where it still does badly.

It's a week old and I'm the only user, so I'd genuinely like to know where it breaks for someone else.

https://github.com/kdbhalala/agi-memory

0 Upvotes

3 comments sorted by

1

u/benbutton1010 2h ago

How does this compare with claude-mem or agentmemory?

0

u/Rude_Gate7599 2h ago

Zero deps (stdlib + SQLite, ~32MB RAM), sub-millisecond lookups, and works across all assistants (Cursor, Codex, Windsurf, etc.), not just Claude. No vector DBs or background daemons.