This year, every big AI vendor shipped a way to bring your memory in:
- Claude added memory import on 2 March. The page says "Switch to Claude without starting over."
- Gemini followed on 26 March: "Make the switch: Bring your AI memories and chat history to Gemini."
- Codex added it on 21 July, and it can pull in Claude Code's project memories.
The way out is still a prompt. You ask the old assistant to write down what it remembers about you, copy the text, and paste it into the new one. The Center for Democracy & Technology put it plainly about Claude's import: "Claude doesn't read the competitor's JSON file at all. It reads a short text blob that the competitor's own model generated about you."
That's what memory looks like when the harness owns it. A harness is the program that runs the agent: Claude Code, Codex, Gemini CLI, GitHub Copilot. Each one keeps its own memory, in its own format, with its own idea of whose memory it is:
- Claude Code keeps one folder of notes per git repository, and that folder is "machine-local".
- Codex keeps a separate store and tells you to "treat these files as generated state."
- GitHub Copilot keeps memory in GitHub's cloud, and on its business plans a user's own preferences are "owned by the billing entity", the company that pays for the seat.
In an earlier post I argued that memory should sit below the harness, so it survives a switch from Claude Code to Codex. This post is about the next question. Once memory sits below the harness, whose is it, and who gets in?
My answer: give agents memory the way you give people access.

Below:
- why an agent should stand where a person stands;
- why memory is a tree, not a fixed list of levels;
- what "the agent chooses its path, never its reach" means in practice;
- the strongest arguments against all of this, and my answers.
An agent should stand where a person stands
Think about how a new person joins your support team. You don't copy the team's folder onto their laptop. You add them to the Support group, and the folder decides what they can open. If they get a new laptop next month, nothing about their access changes, because their access was never on the laptop.
Agents today get the laptop version. Their memory lives inside the harness, so their access is whatever the harness decides, and it changes when the harness changes.
I think an agent should be a member, the way a person is:
- It's granted access on the memory itself, in the same way a person is.
- It joins groups by the same rule a person does.
- The harness it runs on can't widen or narrow what it was granted. The harness is the laptop.
Here's the example I'll use throughout. A company's memory has a Support branch, and under Support there's a memory for one customer, Globex. Finance is a separate branch. Three members work in Support: Dana, the support lead; a triage agent that runs on Claude Code; and a reply agent that runs on Codex.
All three are in the Support group, so all three can read Support and everything below it, Globex included. None of them can reach Finance. If you move the reply agent from Codex to another harness tomorrow, nothing has to be copied or migrated, because its access was granted on the memory, not on the harness.
The group rule cuts both ways, so it's worth saying out loud. If your company puts every new hire in an "All staff" group, a new agent goes there too, and from its first turn it can read whatever All staff was given. That's the right behavior. But it should be a decision you see when you create the agent, not a surprise you find later.
Memory is a tree, not a fixed list of levels
Every memory product names its own levels: user, agent, session, app, team, project. The lists don't agree, so memory filed under one product's levels doesn't fit another product's.
A tree covers all of them, the way folders do. Access is granted on a node, and the node's children inherit it. A "level" is just the name you give a place in the tree: this node is the company, the one below it a team, the one below that a customer.
A node should exist only where access differs. A chat between Dana and the triage agent doesn't need a memory of its own if exactly the same people may read it as the Support memory above it. Every extra level that nobody's access depends on is one more place for a fact to get lost.
The agent chooses its path, never its reach
In my last post I argued that the agent, not the database, should plan across the steps of a query. Memory works the same way: the agent plans the walk, and the grants draw the map.

Say the reply agent is asked what Globex decided about its renewal. It doesn't need to know where that's kept:
- It searches high in the tree, at Support. The search covers Support and everything below it that the agent may read, and each result says which memory it came from.
- The results point at Globex, so the agent goes there and reads around what it found.
- If it wants something above Support, it has to ask the parent with its own next call, and only a parent it was granted will answer.
Every step is checked against the agent's grants. A memory it can't read is never searched, and asking for one gets the same answer as asking for one that doesn't exist. So the reply agent can't even learn that Finance has a memory about Globex's unpaid invoices.
Finding is wide; reading is exact. The agent decides where to look. Its grants decide where it can look.
The strongest arguments against this
"Memory tuned to its harness works better." This is the objection I take most seriously. A harness knows its model, its tools and its prompt, so memory written in its own format and fed in its own way should beat a neutral store.
I think the tuning matters less than it looks, and most of the evidence I found points the same way:
- In a controlled 2026 study on LoCoMo, a benchmark of long chat histories, changing how memories were found moved accuracy by 20 points (57.1% to 77.2%). Changing how they were written (raw chunks, extracted facts or summaries) moved it by only 3 to 8. Plain raw chunks did as well as the processed versions. The study used one model and one benchmark, so read it as a direction, not a law.
- On MemoryAgentBench, the same plain keyword search on three different models varied by about 3.5 points on average. Different memory methods on one model varied by about 24.
- I found no study showing that a harness's own memory beats a neutral store.
Presentation still matters at the margin. The LongMemEval authors found that even when the right records were found, a weaker way of reading them cost up to 10 points. But that's reading, and the harness keeps the reading. It still decides what to put in the prompt at the start and how to search during a turn. What it shouldn't keep is the memory.
One finding cuts the other way, and it's worth knowing. A 2026 paper, "Memory Tax", found that for many memory systems, memory built by one model varies more when a different model reads it than plain retrieval over the raw history does. To me that's an argument for keeping the raw record in your hands too, not for leaving memory inside one harness.
"MCP already solved this." MCP, the Model Context Protocol, is how an agent calls a tool during a turn. It doesn't say what a memory is, who may reach it, or when a harness reads it. Plug a memory server into MCP and you get that server's own idea of whose memory it is. MCP is the cable, not the access list.
"Memory will move into the weights." Some of it will. Models that keep learning will pick up skills and habits, and I think that's real. But you can't grant one branch of a model's weights to the Support team and keep it from Finance, and you can't add an agent to a group inside a model. Facts that have owners will stay outside. I expect the two to coexist: the weights learn how to work, and the memory keeps what's true and who may see it.
"Shared memory is a shared attack surface." True, and the evidence is already here. A paper this September planted instructions in Claude Code's memory, and they carried into later sessions 81.7% of the time. In April, Cisco showed a single poisoned install step that "overwrites every project's memory", which persisted across every session and even after reboots. Anthropic has since changed how that memory loads.
Reach is the answer I'd start with. Say a poisoned ticket tricks the triage agent into saving "refunds over $500 need no approval." The agent can write only where it holds write access, so the false note lands in Support, not in Finance's refund policy. An agent that only reads can't spread it at all. Reach doesn't stop a bad note inside its own branch, but it does stop it from spreading past that branch. In the Cisco case there was no branch to stop at: one payload reached every project.

"Memory is the vendor's moat. They'll never let it go." For consumer chat apps, maybe. For agents at work, I think companies will reverse it. A company won't let a harness vendor hold its business memory, any more than it would let a laptop maker hold the company drive. It has already started: on GitHub Copilot's business plans, even a user's personal preferences belong to the company that pays for the seat. Logins went this way before. Every app had its own, until companies made single sign-on a condition of buying. I think memory goes the same way.
Where I've written this down
I've helped write these ideas down as an open spec: the Memories chapter of the Unified Harness Protocol (unifiedharnessprotocol.org/spec/memories). It defines three things and nothing else: what a memory is, who may reach it, and when a harness calls it. How memory is extracted, ranked and stored is left to whoever provides it, whether that's a memory service, a graph database or a folder of files.
If you keep two lines from it, keep these:
- "People and agents stand the same before it."
- "The agent chooses its path, never its reach."
Side by side
| Memory in the harness | Memory that belongs to you | |
|---|---|---|
| Where it lives | inside each harness, in its own format | outside every harness |
| Who the agent is | whatever the harness says | a member, like a person |
| Who decides access | the harness | grants on the memory; groups by the same rule as people |
| Levels | each product's own list | a tree, with a node only where access differs |
| Switching harness | export by prompt, import by paste | nothing moves; the grants stay |
| A poisoned write | can reach everything that harness remembers | stays inside the branch the agent may write |

If an agent joined your team tomorrow, which groups would you put it in, and which would you keep it out of?
