Skip to main content

Memory

Memory enables agents to remember information across conversations. Without memory, every conversation starts from zero. With memory, agents build up context about users, teams, and past interactions over time.

Why Memory Matters​

Without memory:

Conversation 1: "My laptop is a MacBook Pro M3" -- "Got it!"

Conversation 2 (next day): "My laptop is running slow" -- "What kind of laptop do you have?" (forgot)

With memory:

Conversation 1: "My laptop is a MacBook Pro M3" -- "Got it, I'll remember that!"

Conversation 2 (next day): "My laptop is running slow" -- "I see you're using a MacBook Pro M3. Let me help..." (remembers)

Memory Types​

Agents remember at different scopes. The main ones:

TypeScopePersists Across SessionsShared WithUse Case
ConversationSingle conversationNoSame conversation onlyShort-term context within a dialogue
UserPer user, per agentYes (per your retention settings)Same user + agentPersonalization, preferences, past issues
TeamAll agents in a teamYes (until replaced or deleted)All team agentsA small keyed set: current priorities, decisions, status others depend on
Workspace / ProjectEvery agent in the workspace, or staffed on the projectYesThose agentsPolicies, customer facts, conventions

Conversation Memory​

Automatic within a single conversation. No configuration needed -- the agent naturally remembers everything said in the current thread.

User Memory​

Persists across conversations for a specific user. The agent remembers your name, preferences, devices, and past issues from previous sessions, for as long as your retention settings allow.

Team Memory​

Shared across all agents in a team. When one agent publishes something important (e.g., "we're investigating an email outage"), it appears in every teammate's context on their next run -- nobody has to go looking for it.

Team memory is deliberately small and curated, not a second copy of everything the team knows. Entries are stored under a key, and writing the same key again replaces it. So a team keeps a handful of well-named keys current -- current_priorities, decisions_log, pipeline_status -- rather than accumulating an ever-growing log.

ReadingAutomatic. Every agent on the team sees the current entries in its context. No setting to turn on.
WritingAny agent on the team can note something for the team, with the reason it knows it. Noting the same key again revises it rather than adding a second entry. If your memory governance for the team is set to locked, only people change team memory.

Good candidates: what the team is working on right now, a decision and the reason behind it, status other agents depend on, a durable fact about how this team operates. Not: transient chatter, secrets, or anything specific to a single conversation.

Workspace and Project Memory​

Knowledge every agent in a workspace should have -- a policy, a customer fact, a convention -- lives in workspace memory. Knowledge for everyone on a project lives in project memory, which only the agents staffed on that project read.

An agent proposes one of its notes, saying why; the scope owner approves or rejects it; approved notes join workspace or project memory.An agent proposes one of its notes, saying why; the scope owner approves or rejects it; approved notes join workspace or project memory.

Agents never write these directly. An agent proposes one of its notes (or a note from a shared coding room) for the workspace or a project, saying why the wider scope needs it. What happens next is set by the memory level of your governance policy for that scope:

LevelWhat happens to a proposal
AutonomousAdded at once.
Proactive (default)The scope's owner is notified and approves or rejects it under Capabilities → Memory, on the Review tab: the workspace admins, the project's accountable members, or the team's manager. If the scope has no owner, the tenant's owners and admins decide.
LockedRefused. The agent is told who can add it.

What the owner approves is exactly what was proposed: a later edit to the agent's own note does not slip through. Nobody approves their own proposal. Every proposal and decision is recorded in the audit log.

Two limits always hold: memory never crosses from one workspace to another, and nothing an agent knows about a person is ever shared beyond that agent.

Memory from Outside Content​

Some of what an agent reads comes from outside your organization: an inbound email, a web page, a connector, an uploaded document, a message from another organization's agent. If the agent notes something while working on such content, the note is kept but held: the agent does not use it until someone checks it. In the same situation, the agent cannot change or delete what it already remembers. This protects agents from being steered by planted instructions or false facts.

A note taken while reading outside content is held and not used until someone releases or discards it on the Review tab.A note taken while reading outside content is held and not used until someone releases or discards it on the Review tab.

Held notes appear under Capabilities → Memory, on the Review tab, with where they came from. Release one to put it to use, or Discard it. A held note is also cleared automatically when a trusted source, such as one of your people or one of your agents working on internal content, records the same thing. Your workspace admins (or the team's manager, for team memory) and your tenant owners and admins decide.

Memory never stores secrets or credentials: content your data classifications mark as the highest sensitivity level is refused.

Memory and Time​

Some things are only true for a while: an offer that ends, a person away until a date, a price that changes on the first of the month. An agent can note when something starts or stops being true. Outside that window the note is no longer used, but it is not lost: it remains part of the agent's history. When something an agent remembered is corrected or replaced, the earlier version is kept too.

That history lets you ask what an agent knew at a given moment. Under Capabilities → Memory, on the As of tab, pick an agent and a date and time to see what it remembered then, as it was then, along with the relationships it had recorded. This is useful in an audit, or when you need to understand why an agent acted as it did.

Learning from Experience​

Agents also learn from how their work went, not only from what was said. When a person approves or rejects a task, refuses an action an agent asked to take, rates an answer (thumbs up or down, or a satisfaction rating), says that a request the agent declined was in fact in its scope, when a run is evaluated, or when an agent moves one of your measures, the agent keeps a short lesson: what works here, or a pitfall and its cause. A lesson is reused when it is relevant to the task at hand, like any other memory.

How a lesson is trusted:

  • A person's correction or approval counts at once. The lesson is used from the agent's next run, and a correction is also proposed to the agent's team, so the other agents don't make the same mistake. Your team's memory settings decide whether that proposal applies directly or waits for the team lead.
  • A lesson that was only inferred (from an evaluation or a measure) is kept on hold until a second, separate run shows the same thing. You can also release it, or discard it, on the Review tab.
  • A lesson that later outcomes contradict is put back on hold.

Two kinds of lessons can go further, and both always wait for a person:

  • A method that kept working, also when agents applied it, is proposed as a skill. Accepting it writes a draft skill. The draft stays inactive until you activate it on the Skills page.
  • When people corrected an agent for the same thing several times, it is proposed as a standing rule. Accepting it proposes the rule in your name on the Guardrails page, where your guardrail settings apply. A rejected proposal is not made again.

You will find each agent's lessons, the evidence behind each one, and the proposals waiting for you under Capabilities → Memory, on the Learned tab. This runs with the memory consolidation feature, on your own model key, and stops with it.

Documents are knowledge, not memory​

Reference material (handbooks, product documentation, contracts) is added as knowledge your agents search, with a review step before anything is used. See Bring Your Documents.

How Agents Use Memory​

Agents use memory tools automatically during conversations:

ActionWhat Happens
User shares personal infoAgent stores it (name, department, devices, preferences)
User asks a factual questionAgent searches knowledge base and memories
User returns for a new conversationAgent retrieves relevant context from past sessions
Agent learns something the team needsAgent with the team-memory tools publishes it under a key, replacing the previous value

Files and Memory​

Files uploaded to conversations are automatically parsed and their content is cached. When a user attaches files to a message, the full parsed text is injected into the agent's prompt -- agents can read documents instantly without calling a download tool.

Agents can then store key facts from documents as memories for future conversations. For RAG use cases, uploaded files are automatically chunked and searchable alongside memories.

See Files and Attachments for details on storage, parsing, and content injection.

Configuring Memory​

Team Memory​

There is no switch to flip. Every agent that belongs to a team already reads the team's shared memory -- the current entries are placed in its context automatically.

What you control is who writes. Publishing needs the team-memory tools, and the team blueprints grant them to the team's lead or orchestrator. If you want another agent to publish as well, add the team-memory tools to that agent in its settings.

Keep the set small. Because keys replace rather than append, a team that publishes under a stable handful of keys stays useful; one that invents a new key per update turns its shared memory into noise.

Memory in System Prompts​

Guide how your agents use memory by including instructions in the system prompt:

What to remember:

  • User's name, role, and department
  • Device information (laptop model, phone)
  • Communication preferences
  • Past issues and their resolutions
  • Explicitly requested preferences ("Remember that I prefer bullet points")

What NOT to remember:

  • Passwords or credentials
  • Credit card numbers
  • Sensitive personal data
  • Temporary or one-time information
  • Anything the user asks to forget

Using memory well:

  • Check memory at the start of conversations for context
  • Save important information proactively
  • Reference past interactions naturally ("I remember you had a similar VPN issue last month...")
  • Update outdated information when you learn it has changed

Privacy and Compliance​

User Control​

Users can request that an agent forget everything about them. This permanently deletes all user-scoped memories for that agent.

Data Retention​

You decide how long agents keep what they remember, per kind of memory (episodes, facts, preferences, decisions, procedures), how long conversations are kept (counted from their last message), and how long the knowledge graph keeps what it learned (mentions by age, people and things by when they were last referred to). The settings are under Control → Governance → Runtime → Autonomy & discovery → Memory retention. Each day, whatever is past its limit is erased, in the same way as below, with a signed receipt. Leave a limit empty to keep things until someone erases them.

Erasing a conversation erases its messages (your copy too, if you use your own storage) and what the knowledge graph recorded from it. Memories noted during a conversation follow their own limit.

  • Limits set for the organization are a ceiling: a workspace, team or agent can set a shorter limit, never a longer one.
  • Before a new limit is saved, you see how many memories it would erase today.
  • A legal hold stops every erasure while it is on: retention, an admin's request, and a data subject's request alike. It needs a reason, and that reason appears on the receipt of any erasure it blocks.

Erasure​

Asking an agent to forget something withdraws it: it is no longer used, but its history is kept for audit. Erasure is stronger and is for when data must truly go (a data subject's request, a mistake). An erased memory is deleted together with every earlier version of it, anything shared from it, and what the knowledge graph derived from it. If you use your own storage (BYOS), its copies in your database are deleted too.

  • It is gone from the live system immediately, and from every backup within 15 days.
  • If a backup were ever restored, erased memory is deleted again before the platform serves anything.
  • Every erasure produces a signed receipt listing what was erased and the date by which no backup holds it. Owners and admins find receipts under the memory settings, and can verify the signature against the platform's published keys.

Erasing a person's data (a data subject request) erases in the same way every memory written by or about them, their conversations, and their entry in the knowledge graph; their messages in other people's conversations are replaced by a note that they were erased. A restore cannot bring any of it back. Anything under a legal hold is kept, and the receipt says so.

Audit Trail​

All memory operations (store, retrieve, delete) are logged for compliance and audit purposes.

Troubleshooting​

IssueCheck
Agent does not remember between conversationsCheck the agent's memory on Capabilities → Memory, and that your retention settings keep it long enough
Memories seem missingCheck retention settings -- memories may have expired
Agent not using your documentsCheck they were approved in the knowledge review (see Bring Your Documents)
Team agents not sharing contextReading is automatic -- so check the other side: does any agent on the team hold the team-memory tools to publish with?