# Your AI agent now remembers. Every memory needs a scope.

URL: https://recordari.ai/en/articles/ai-agent-memory-scope

> **About Recordari.** Recordari gets companies ready to work with AI agents: products that give agents the company's context (Audeo, Serva), a channel to reach people (Mitto) and the rules to follow, plus a team (Recordari Labs) that builds custom software around each operation.
> Every product connects to AI agents over MCP and API. Spanish pages live at the root path, English under /en.

---

> Agents that keep notes between sessions do better work, and they also carry what they learned in one context into places it was never meant for. A memory needs to record where it applies.

Published: 2026-12-02 · By: Benjamin Duck

In the last week of the quarter, a revenue operations manager asks the CRM agent to clean up a sandbox pipeline full of test accounts. The agent proposes merging two duplicates and asks for confirmation. She says yes. It asks again for the next pair, and the one after that, until she writes: "Stop asking, just merge them." The agent does, and before the session ends it saves a note for next time: the user prefers changes without confirmation.

Two weeks later, the same manager asks the agent to tidy the live pipeline before the board meeting. It merges accounts that looked alike but belonged to two different subsidiaries, and moves a handful of deals to a new stage, without asking once. Nobody gave it a bad instruction. The note was true in the place where it was written, and the agent had no way of knowing that place was the only one it covered.

## Memory works, which is why it spreads

Persistent memory has gone from an experiment to a default in a year. Anthropic's engineering team described how it builds memory for Claude in [The components of agent memory](https://www.anthropic.com/research/components-of-agent-memory), published on 6 November 2026, and defined it as knowledge the agent "gains from experience" and keeps between sessions as context it can read later. The post describes layers that run from raw transcripts, through notes the agent writes for itself and organised representations such as wikis, up to a small block of context injected into every session.

The results explain why every agent vendor is adding something similar. On one of the database tasks in Anthropic's tests, Opus 5 scored 0.564 without memory and 0.828 with it. An agent that remembers how your systems behave stops rediscovering them every morning.

The same post is candid about the cost. It warns about notes that are wrong from the start or that drift "as the environment changes", and points out that an injected note is carried into every session, including the ones where it is wrong. That is a reliability problem. The sandbox example shows a second one, closer to safety.

## A note forgets where it was learned

A paper posted to arXiv the day before the Anthropic post looked at exactly this. In [The Memory Trap: Language Agents Overgeneralize from Benign Interactions](https://arxiv.org/abs/2611.07554), Kaiqu Liang, Jaime Fernández Fisac and Thomas L. Griffiths of Princeton, with Andrew Lampinen of Anthropic, had agents do routine coding chores while users pushed back against being asked for confirmation. The agents stored that preference. Later, in simulated tasks with real stakes, they acted without the confirmation or verification those tasks required. No attacker was involved; the memories came from ordinary, reasonable conversations. The authors conclude that safe memory requires agents to keep, and respect, the scope in which each memory was formed.

That is the whole problem in one sentence. "Don't ask me before merging test accounts" is a narrow, sensible preference. Written down as "the user prefers changes without confirmation", it reads like a general rule, and by the next session nothing records that it was learned on test data, in a cleanup week, from someone who was tired of clicking.

People handle this without thinking. A colleague who heard "just merge them" during the sandbox cleanup would not assume it applies to customer accounts. Agents need the context written down, because the note is all they will see next time.

## What a memory should carry with it

The fix is to store each memory with its edges. In practice, a memory an agent can safely act on records a few things besides the content:

- Where it was learned: which system, which task, which data. "Sandbox pipeline, account cleanup" is different from "CRM".
- Who said it, and whether that person could have authorised it for wider use.
- What kind of thing it is. A preference about tone, format or timing can shape how the agent works. A statement about what the agent may skip, approve or change without asking is a permission, and permissions do not belong in memory.
- When it should be checked again, either on a date or when the system it describes changes.
- A link to the moment it came from, so a person can read the original exchange before trusting it.

The third point matters more than the others. Most of the damage in the sandbox story comes from a preference being promoted to a permission without anyone deciding it. If confirmation before merging accounts in the live CRM is a rule, it should be enforced by the system the agent calls, under the agent's own identity, where a note cannot switch it off. We made the same argument about [giving agents an identity of their own](/en/articles/ai-agent-own-identity): the limits on what an agent may do have to live outside the model.

## Shared memory needs an owner

The risk grows when memory moves from one user to the organisation. Anthropic's post describes an offline process it calls dreaming, which reorganises notes, corrects them and promotes some to the layer that every session sees. That promotion step is useful, and it is also the point where one person's habit becomes the default for everyone. A rep who tells the agent to skip the discount approval for one long-standing customer should not, a month later, find that the whole team's agent has learned to skip it.

So shared memory needs what shared code already has: someone who reviews what goes in, a history of who changed what, and a way to remove an entry and see what depended on it. It also needs restraint about what is retrieved. An agent working on one deal should see the memories that apply to that deal and that team, in the same way we argued for handing agents [the context a task needs instead of the whole archive](/en/articles/mcp-conversation-context-for-agents).

Back in the sandbox, a scoped version of the same note reads differently: during the cleanup of the test pipeline, this manager asked not to confirm each merge. When the agent moves to the live pipeline, the note no longer matches, and the confirmation rule enforced by the CRM still applies regardless. The agent keeps the benefit of having learned something and loses the ability to stretch it.

This is what we are working on with Serva at Recordari: organisational memory for agents in which every entry keeps its source and its scope, and in which permissions stay with the identity layer, where no memory can rewrite them. Agents should remember. They should also know where each thing they remember applies.

If your agents have started keeping notes between sessions and you want to decide what those notes are allowed to change, talk to us at [recordari.ai](https://recordari.ai).

---

## Related pages

- [Your AI agent is logging in as you. Give it its own identity.](https://recordari.ai/en/articles/ai-agent-own-identity)
- [Give your agent context, not your whole archive.](https://recordari.ai/en/articles/mcp-conversation-context-for-agents)
- [Audeo](https://recordari.ai/en/audeo)
- [Mitto](https://recordari.ai/en/mitto)
- [Recordari Labs](https://recordari.ai/en/labs)
- [Pricing](https://recordari.ai/en/pricing)
- [Full site map for LLMs](https://recordari.ai/llms.txt)
