Short answer: none of the three does it by itself. Claude Code, Cursor and Codex each keep the rules you write, and two of them keep notes of their own. But what an agent picks up along the way stays on one machine. One memory for a whole team has to live outside the tools, and all three can reach it over MCP.

I'm a co-founder of KoalaFix, which is one of the tools below, so weigh that part with that in mind. The rest comes from each tool's own docs.

What each tool remembers today

Tool What it keeps Does a teammate's agent see it?
Claude Code CLAUDE.md, which you write. Auto memory, which Claude writes for itself. CLAUDE.md yes, through git. Auto memory no. It is local to one machine.
Cursor Rules: project rules in .cursor/rules, your own user rules, and team rules on Team and Enterprise plans. Yes, for rules in the repo or set for the team.
Codex AGENTS.md, which you write. Memories, which are off by default. AGENTS.md yes, through git. Memories no. They are local files.

Cursor's rules page puts it plainly: language models don't retain memory between completions, and rules are how context carries over.

So each tool shares what a person writes down. None of them shares what an agent learns.

Sources: Claude Code memory, Cursor rules, Codex memories and AGENTS.md in Codex.

The one file all three can read

AGENTS.md is the closest thing to a shared format. Codex reads it. Cursor reads it. Claude Code reads it when a repo has no CLAUDE.md, and you can also pull it into CLAUDE.md with one line:

@AGENTS.md 

Put your build commands, conventions and standing rules there. It costs nothing, and you should do it whatever else you choose.

The limit: someone has to write it. Nothing an agent learns gets in by itself, and it doesn't change when the team changes its mind on a Tuesday afternoon.

Three ways to get one memory across tools

  1. A rules file in git. Free, and every tool reads it. People have to keep it current.
  2. A memory server you run yourself. Several are open source. You own the data, and you own the upkeep.
  3. A hosted memory server. Each person signs in from their own tool. There is nothing to run.

All three tools speak MCP, so the second and third plug into each of them.

Four questions to ask of any of them

  • Who can see it? One person, or every agent on the team.
  • Who writes it? People, or the agents as they work.
  • What happens when a decision changes? The old one gets replaced, or both sit there.
  • Which tools does it reach? The ones your team uses today, and the one a new hire will bring.

Tools worth a look

  • Mem0 has a Claude Code plugin with one shared project memory for each repo. Everyone on the repo reads and writes the same pool.
  • Supermemory has plugins for Claude Code, Cursor, Codex and OpenCode. Memory is tied to the repo, so every agent working on the same repo reads and writes the same memory.
  • claude-mem is open source. It takes notes while your agent works and brings them back in the next session. It works with Claude Code, Codex, Cursor and OpenCode.
  • KoalaFix, which my team builds, is a hosted MCP server that gives every agent on a team one shared memory. Decisions from everyone's sessions flow into it without anyone writing them down, and the newest decision replaces the old one. It works with Claude Code, Codex, Cursor, Claude, ChatGPT, OpenCode, GitHub Copilot and any other MCP client.

If your whole team is on one tool, check what that tool already shares before you add anything.

What we use

At my previous start-up, the three of us each worked in a different tool, and our agents kept forgetting what we had decided the week before. The same decision got made three times. In July 2026 we gave them one shared memory to read and write. That became KoalaFix, and it has been our team's memory every day since.

I wrote a longer guide with the setup for each tool. We also keep a comparison of nine tools, ours included.

What does your team use today? I'd like to know what has held up.

This post was drafted with AI help. The facts and links were checked against each source on November 30, 2026, and the experience in it is my team's.