Understand how the agent remembers
The memory mechanism: the MEMORY.md file injected into every conversation, the rest of the folder readable on demand, the agent writing down its own learnings — and what memory does not promise.
In brief
The workspace memory lives in the /.memory folder. A single file there is injected into every conversation: MEMORY.md. The rest of the folder is readable by the agent on demand, and it is the agent itself that writes its learnings into MEMORY.md as conversations go. This page explains the mechanism; Feed the agent's memory gives the steps.
The question memory answers
A conversation is forgotten when it closes. For the agent to carry your preferences, the team's vocabulary or a project's framing from one conversation to the next, it needs a durable place where that context lives. That place is the workspace's /.memory folder — and its mechanism rests on a distinction you need to know to use it well: injected is not the same as readable.
MEMORY.md, the injected piece
At the start of every conversation in the workspace, the content of one file — and only one — is placed in front of the agent: /.memory/MEMORY.md. This is permanent context in the strict sense: the agent sees it before your first message, in every conversation, for every member.
The other files in the /.memory folder are not injected. They remain readable by the agent, like any workspace file: it can open them when the conversation calls for it, or when MEMORY.md points to them. A glossary uploaded next to MEMORY.md therefore does not enter conversations on its own — for it to weigh in permanently, MEMORY.md must carry its essentials, or reference it explicitly.
Practical consequence: what you want applied everywhere, all the time, goes into MEMORY.md, short and factual. The folder around it is an annex — documents the agent consults on demand, not a second injection channel.
The agent writes its own memory
MEMORY.md is not just a file you write: it is first of all the one the agent keeps up to date. Its instructions tell it to record immediately whatever deserves to last — a stated preference, a correction it received, information needed later ("remember my email address", "always answer in English"). When you correct the agent in conversation, it updates its memory before even rephrasing its answer.
It is also instructed not to keep everything: one-off information ("I'm running late"), simple questions and small talk leave no trace. And it must never store a secret — API key, password, token — in its memory.
You stay in control: memory is a visible file in the Memory tab of Settings, which you can read, correct or prune at any time.
What memory does not promise
- Injected does not mean obeyed.
MEMORY.mdgives the agent context; an instruction written there steers its answers, it does not mechanically constrain them. - Memory is not the knowledge base. Files dropped in the Files explorer are indexed and mobilized on demand via
@; they never go through injection. See Upload files and make them searchable. - The agent does not remember everything. It picks what seems durable; important information deserves to be stated explicitly ("remember that…") or written directly into the file.
- Memory is shared by the workspace. Whatever goes in applies to every member, in every conversation — it does not distinguish between people.
Go further
Prepare the knowledge base
Prepare, import, and organize workspace documents, then monitor their indexing in the Processing Center.
Feed the agent's memory
Settings panel › Memory tab — feed the workspace's /.memory folder, edit MEMORY.md (the file injected into every conversation), and who can actually write to it.