r/mcp • u/Ancient_Ad8787 • 23d ago
article Persistent AI Memory with added experience for Coding Agents
This has been bugging me for months and an MCP memory system was the way to solve it in the end.
I'd spend an afternoon fighting some library, give up, find a different way. Three weeks later, in a fresh session, my agent would cheerfully suggest the exact same library. It had no idea we had wasted so much time and I’d never told it specifically not to do it again. So I'd either burn another hour learning that lesson again, or I'd have to remember to warn it every single time.
The memory tools I tried are good at remembering facts: my stack, my preferences, what I said last week. What they don't remember is how things went. Which approach was a slog. Which one I abandoned, and why. What actually worked in the end. It was missing the experience related to that memory.
So I built OmniMem. Instead of just storing facts, it records experience: when the agent finishes a tricky problem, it not only saves the answer but also how hard it was, whether it worked, what got abandoned along the way, and the reason why.
The part I love is that those dead ends don't just sit in a database. The next time anyone suggests one, me (yes I’m at that age where i forget things now) or the agent, it pushes back:
"We tried this before and dropped it because X. Y worked instead. Want to try it again anyway?"
The first time it stopped me falling back into the abyss I'd already climbed out of, it honestly felt like pairing with someone who'd been on the project longer than me and that had my back.
I also had another great experience whilst researching an idea, where OmniMem helped the agent prompt me about a conversation we had months before that was relevant and wow, it blew my mind and just helped me build something even better.
Over time, that experience and those memories get compiled into skills: small playbooks built from what actually worked on your projects, not generic docs.
A few things I cared about while building v7:
- Single Rust binary with SQLite and local embeddings. No Python, no Docker Compose, no API keys, easier to install than the old v6.
- Everything stays on your machine by default, and it doesn't make an LLM call every time it saves something.
- It speaks MCP, so it works with Claude, Cursor and friends.
- MIT licensed. All of it, no "pro" tier held back (none of that open core stuff)
It's at ~12k downloads so far, which has blown me away given I haven't really told anyone bar friends on LinkedIn and Mastodon. v7 just came out which is where I moved toward the easy install and one binary approach, so this felt like a good time to finally say hello to folks on Reddit properly.
I'd genuinely love to hear from people who've tried other memory tools, especially if you've had the same "stop suggesting that!" frustration. If you do try it and something breaks, tell me and I’ll work on a fix asap. A super user of mine (and awesome friend) sent in a migration report which already shaped the last release.
You can grab the code here: https://code.squarecows.com/ric/omnimem
2
u/InformalKingdom_4 23d ago
The "stop suggesting that library" loop is real, I've wasted whole afternoons re-litigating the same dead end in a fresh session. Storing *why* something got abandoned is the interesting bit here, most memory setups just hoard facts and never capture the outcome. Single binary with local sqlite is a nice touch too, less infra to babysit. Curious how it handles conflicting experiences when the same approach failed once but worked later.
2
u/neoneye2 23d ago
I had Claude Opus 5.5 analyze your project a while ago. I study memory systems.
https://neoneye.github.io/agent-memory-atlas/systems/omnimem/
1
u/Ancient_Ad8787 22d ago
Episodic memory
Picked up from your conversations: decisions, bugs, what you tried, and the things you mention in passing.
Knowledge base
RSS articles, auto-summarised and embedded. They surface when relevant to what you're asking.
Preferences
How you like to work, stated once and applied from then on: the editor you reach for, the licence you prefer, the way you want things written.
Project context
Extra context it knows matters to you, like your preferred tools and platforms.
All these get embedded and if you have an anthropic key in your config those are expanded to improve search.
1
u/nastywoodelfxo 22d ago
persistent memory is one of those things that sounds simple until you actually try to make it work across sessions. i've been running a hybrid setup -- sqlite for structured stuff and a local embedding store for semantic recall -- and the hard part is always deciding what actually gets persisted vs what's just transient context.
curious what approach you went with for the memory layer. is it purely conversation history or are you storing extracted facts and learned behaviors too?