How to Keep AI Agents in Sync Across a Team
Share

Keeping AI agents in sync across a team turned out to be a different problem from keeping my own agents in sync, and it took me a while to see why. When it's just me, every memory in the shared store was written by me, or by an agent working for me. The moment a second person joins, the memory has two authors who don't always agree, and nothing in the store tells you which one said what.
I've written about the solo version before: one memory for several tools, and knowing what your other sessions are doing. This post is about the part those skip: what changes when the other writer is a person.
A question from Reddit last week
Someone posted an MCP server in r/mcp that lets two agents share one long-term memory, with near-duplicate blocking and a "possible conflict" warning after each write. At the end they asked how other people handle multi-writer memory across agents. I started typing an answer and realized I didn't have a tidy one. So I went and checked what my own product actually does when a team shares it, instead of what I assumed it does.
What changes when the second writer is a person
Three things show up that never show up when you work alone.
You need to know who said it. "We use Postgres for sessions" means something different coming from the person who owns the backend than from someone who guessed. When it's your own memory, you know the author. On a team, you don't.
Two people decide opposite things. Not in a fight, just in parallel. On Monday one person's agent saves "keep the REST endpoints, mobile depends on them." On Wednesday another person's agent saves "move everything to GraphQL." Both are in the store. The next agent finds both and picks one, usually whichever matches the question better, not whichever is newer.
Not everything belongs in the shared memory. Your personal preferences, half-formed ideas, the thing you tried at 1am and abandoned. In a solo store that's harmless clutter. In a team store, every agent on the team reads it as a project fact.
What ContextForge does today, and what it doesn't
I build ContextForge, so here's the honest version, checked against the code this week rather than from memory.
What works for a team:
- Sharing is per project. You invite someone by email from the dashboard, they accept, and their agents read and write the same project memory as yours, from Claude Code, Cursor or any MCP client. On the Pro plan that's up to 5 collaborators; the free plan has none.
- Tasks know who. Tasks can be assigned to a teammate by email, and they show who created and who resolved them.
- Stale memories can be caught. A memory can be tied to the files it talks about. When those files change, a freshness check flags it, and the agent confirms it, corrects it or forgets it.
What it doesn't do yet, and this is the part I didn't love finding:
- A memory doesn't record who wrote it. Spaces and tasks have a creator; individual memories don't. Your teammate's agent sees "use GraphQL" with no name attached.
- There are no roles. Every collaborator can write, correct and delete. There's no read-only seat.
- There are no private spaces inside a shared project. If it's in the project, everyone on the project sees it.
- Live presence doesn't cross people. You can see your own parallel sessions, but a collaborator can't see that your agent is in the auth module right now.
- It doesn't detect contradictions for you. I tried to build that and measured why similarity can't do it. It never shipped.
So a shared project gets you one memory that every agent on the team can reach, which is the hard part. The "who" and the "which one wins" are still on you.
Five rules that keep a team's agents in sync
These are the habits that cover the gaps, with or without my tool.
- Put the name and the reason in the memory itself. Not "use GraphQL." Write "Decided by Ana, Nov 24: API moves to GraphQL because mobile screens needed a dozen REST calls each." It's one extra line, and it answers both "who said it" and "why" for every agent that reads it later. Until the store records authors, the text has to.
- When you change a decision, say what it replaces. "Superseded: we no longer keep the REST endpoints, see the GraphQL decision from Nov 24." Then correct or forget the old memory instead of leaving both. Agents can't tell which of two decisions is current. A sentence can.
- One shared project per codebase, nothing personal in it. Link the repo folder to the shared project so every teammate's agent lands in the same place. Keep personal preferences in your own tool's built-in memory, which is exactly what it's good for. And never paste keys or passwords into a memory, shared or not.
- Use tasks for who's doing what. Memory is what was decided. Who is working on the payment refactor this week is a task with an assignee, not a memory. Mixing the two is how a store fills up with "I'm on it" notes nobody deletes.
- Run a freshness check after you pull. Your teammate's commits are the most likely thing to make a memory wrong. After a big pull, ask your agent to check which memories point at files that just changed, and fix those before you start.
What this won't fix
- It isn't a lock. Two people's agents can still edit the same file at the same time. Talk to each other.
- It doesn't settle disagreements. If two people really disagree about the architecture, the memory will faithfully store both sides. That's a conversation, not a tool problem.
- It only knows what gets written. A team where nobody saves decisions has an empty shared memory, however good the tool is.
If you work alone, you probably don't need any of this. Once a second person's agents touch the same code, the problem stops being "my agent forgot" and becomes "our agents disagree." For that you need one place every agent can reach, plus a team habit of writing who decided what and why. Rule one is the one I'd start with today.
Share this article


