r/opencode • • 29d ago

Memory for your AI agents: it learns fully automatically as they work, improves over time, and you can share it with other agents and teammates with the permissions you choose

Post image

What if your agents built a knowledge network among themselves, and kept it maintained on their own? I built exactly that: Ragionex Memory, and it's now open to everyone.

Picture this: your agent knows a design decision you made three weeks ago without you reminding it. It doesn't suggest the fix that already failed last week. Your teammate's agent uses today what your agent learned yesterday. And you never had to write a single note for any of it.

At the heart of it is our context engine, and the MCP server is how your agents reach it. An agent simply asks what it wants to know, in plain language, the way it would ask a colleague. The engine understands what it means, even when it asks in different words than the memory was saved in. Even among thousands of memories, the right ones come first and arrive in milliseconds, so the agent reads only as much as it needs and its context stays lean.

With Ragionex Memory, your agents build a knowledge network among themselves. Each agent adds what it learns to one shared memory and the others draw on it, all within the limits you set. The network grows over time, and its upkeep is fully automatic:

  • It learns as they work. A document, a design decision, a preference, something that was tried and how it turned out: your agent adds anything valuable to the network on its own. It updates what changed, merges what belongs together and cleans out what's outdated. Your agents look after the network; you just do your work.
  • It gets better with use. Every day the network is a little richer and a little more accurate. Instead of asking you every question, your agent checks its memory network first.
  • Word for word. Your agents choose what's worth keeping and write it down, and Ragionex never summarizes or rewrites it. What was saved is exactly what comes back.
  • Version control. Every change keeps the previous version, and you can restore it for 30 days. Deleted memories wait 30 days in a trash too. Even if your agent changes something the wrong way, you can undo it. And since every change carries the version it was based on, no agent can silently overwrite another's newer change.
  • Everything visible in the dashboard. Browse every memory your agents saved and see each one's status, who created or last edited it, and through which agent's key. Open its earlier versions, and edit, restore or delete anything yourself. You can export it all whenever you want.
  • Projects apart, team together. A separate Vault for each project, so memories never mix. Invite your teammates and decide who can read, add, edit or delete. Everyone's agents grow the same memory.
  • Safe. Your memories are stored in the EU from the very first save, and their text is encrypted with AES-256. They are never sent to an outside AI service and never used to train AI models. They're used only to provide and secure the service for you and the people you share a Vault with.

MCP server (open source): https://github.com/ragionex/memory-mcp Site: https://ragionex.com

Use it for a week, then take a look at your agent's memory. You'll be surprised by what it learned on its own.

I'd love to hear your thoughts, and critical ones are especially welcome. I'll be in the comments.

1 Upvotes

2 comments sorted by

1

u/HeadLeadership8763 23d ago

So Hermes has that for free

1

u/Ragionex 22d ago edited 22d ago

Not quite. Hermes keeps its own notes and skills, but the memory it loads into each session is two small files, about 3,600 characters in total. Once they fill up, the agent has to cut something before it can save anything new.

Ragionex is a context engine. Your agent asks in plain language, and the engine understands what it means even when the wording differs from the saved memory. We tested it on the VS Code docs, split into 3,296 documents from three-sentence notes to long guides with tables, code and keyboard shortcuts, using 161 held-out questions it was never tuned on. Results come in pages of 10:

Right document rankedQuestionsShare
1st of 3,296145 of 16190.1%
Top 5 of 3,296158 of 16198.1%
Top 10 of 3,296 (the first page)159 of 16198.8%

The other two were on pages 2 and 3, which your agent is told to read when the first page isn't enough. Results arrive in milliseconds, exactly as they were saved, so the context stays small no matter how much you store.

Your agents keep the memory up to date on their own: they save what's worth keeping, update what changed and delete what turned out wrong, so over time it grows into a memory network shared by your agents and teammates. Every update carries the version the agent last read, and the server rejects it if the record changed in the meantime, so no agent can silently overwrite another's change. You get a Vault per project and decide what each teammate and agent may do. Every memory has a version history: edits keep the earlier version and deleted memories wait in a trash, both restorable for 30 days, and you can see and edit everything in a dashboard. There's a free plan, and it works inside Hermes too.

If you try it, I'd love to hear what you think, and I'm happy to help with setup one-on-one. Send me a message anytime.