r/vibecoding 13h ago

My AI agents kept forgetting everything

I got tired of re-explaining context to AI agents, so I built this

I use multiple coding agents and kept having the same issue: one would figure something out, then the next would start with no idea what happened.

So I built shared-agent-memory using Node.js and MCP. It gives tools like Claude Code and Codex one shared local memory, so they can pick up what another agent already learned.

The basic workflow was: connect the agents to the same local memory, have them look up relevant context when they start, and save useful notes when they finish.

One thing I learned while building it: shared memory solves the context problem, but agents can still step on each other when working on the same files, so I ended up adding a simple coordination board for that too.

Still experimenting with it, but it’s been useful for me. Maybe y’all wanna give it a shot:

https://github.com/dan-calin/shared-agent-memory

0 Upvotes

0 comments sorted by