Skip to content
Fluf
Beta

We are actively shipping every day for Fluf.

New things land daily and the product keeps getting better. Tell us what to fix or build next: we read every message.

AI agent memory architecture: editable files vs black boxes

AI agent memory architecture compared: opaque cloud memory, plain Markdown files and scoped, reviewable memory. Which one drifts, which one bloats, and why.

A happy blue Fluf between a teal Fluf and a coral Fluf, under a teal sky.
On this page

Part of AI agent with persistent memory: how it works and what to demand

AI agent memory architecture is the answer to one question: when an agent "remembers" your business, where does that fact live, who can read it, and how do you fix it when it is wrong? In 2026 there are three answers. Cloud memory you cannot inspect. Plain Markdown files you can edit but that bloat. And scoped memory with review, where every fact has an owner, an audience and a history. The first one drifts quietly. The second one works until it doesn't. The third is what we built Fluf on, and this article shows why.

5Fluf memory scopes, from one agent to every business
90 daysUnused, low-confidence memories fade after this
30 daysTo bring back a forgotten memory
0Individual dot memories you can view or edit (OpenAI)

Three ways AI agent platforms store memory in 2026

Opaque cloud memoryPlain Markdown filesScoped, reviewed memory (Fluf)
Read every fact the agent keepsNoYesYes, in the Library
Edit or delete one factNoYes, by handYes, with version history
Review before a fact is keptNoPartly: you can read the diffYes: risky candidates go to To review
Separate memory per businessNot documentedPartly: a workspace folder per agentYes: businesses are walled off
Survives switching modelsNot documentedYesYes

1. Opaque cloud memory. The vendor stores what the agent learned and you see the behaviour, not the data. OpenAI's dots FAQ is plain about it: "You currently cannot view, delete, or directly modify individual dot memories." Deleting the dot starts deletion of its context (OpenAI Help). Grok Bot's docs say its agents pick up "with your preferences, files, and logins already in place", but the overview does not say whether you can view or edit what it keeps (docs.x.ai).

2. Plain Markdown files. OpenClaw is the clearest example. Memory is Markdown in the agent's workspace folder: MEMORY.md for curated long-term facts, USER.md for preferences, and dated daily notes. Its docs put the principle well: "The model only remembers what gets saved to disk; there is no hidden state" (OpenClaw docs). Anthropic recommends the same pattern for long-running agents, citing an agent "maintaining a NOTES.md file" (Anthropic).

3. Scoped, reviewed memory. Each memory is a record with a scope (who reads it), a source, a history and a usage count. You see all of it in one place, agents propose and you approve, and nothing crosses a business boundary without your say. That is Fluf's model.

Where does the vector database fit? Underneath, not instead. OpenClaw indexes its daily notes and, with an embedding provider configured, uses hybrid search that mixes semantic similarity with keyword matching. Its default provider is OpenAI embeddings. A vector index is a fine way to find a note. It is a poor place to keep the truth, because you cannot open it and read it.

Why opaque cloud memory creates quiet factual drift

Drift is not a dramatic failure. It is an agent that learned in March that your refund window is 14 days, and keeps saying 14 after you moved to 30 in June. Nobody notices until a customer quotes the wrong policy back at you.

With black-box memory you have three bad options. Correct it in chat and hope the correction outranks the old fact. Wipe the agent and lose everything else it learned. Or live with it. There is no row to find and edit, because you cannot see the rows.

The fix is architectural, not a better prompt: every fact the agent relies on must be a thing you can find, read and change. Then a correction is one edit, not a negotiation.

Why plain Markdown memory works, until context bloat hits

Markdown files fix drift. You can open MEMORY.md, find the 14, type 30 and save. You can diff it in git. For one developer and one project, that is close to ideal.

The trouble starts at scale, and it has a name. Anthropic calls it context rot: "as the number of tokens in the context window increases, the model's ability to accurately recall information from that context decreases." Its advice: treat context "as a finite resource with diminishing marginal returns" (Anthropic).

A memory file loaded into every session grows into exactly that. OpenClaw's own docs show the edge: if MEMORY.md exceeds its bootstrap budget, OpenClaw "keeps the file on disk intact but truncates the copy injected into context." Your fact is still in the file. The agent just did not read that part today. You can check with /context list or openclaw doctor, but you have to know to look. Our OpenClaw memory guide covers how to keep that file lean.

Three more problems flat files leave to you:

  • No audience. A note in one file is read by whichever agent reads that file. A support agent and a finance agent sharing a folder share everything.
  • No review. If the agent writes the file, a bad fact lands as soon as it is written.
  • No fading. Nothing ages out unless you prune it.

Scoped business memory: separating businesses, roles, and long-term notes

Fluf keeps the good part of files (you can read and edit every fact) and adds the structure files lack. Open the Library to see everything your agents remember; each agent's page has a Memory tab with what that agent knows.

Every memory has a Who reads it setting:

ScopeWho reads it
About youEvery agent. How you like things done.
All businessesEvery agent in every business.
Everyone in a businessEvery agent in that business.
A teamEvery agent in that team.
Only one agentThat agent alone. Its own notebook.

An agent reads its own memory first, then its team, department, business and organisation, then what it knows about you. A business never reads another business's memory unless you grant it. Run an agency and the Loopwear tone guide never reaches the Notewise agents. More in AI agents for multiple businesses.

Fluf business switcher open, listing Loopwear, Notewise and TeamShifts businesses with their agent counts
Each business has its own agents, memory and knowledge, walled off from the others.

Memories are curated, not just appended. After work, Fluf reflects on what happened and picks out candidate facts, preferences, procedures and decisions. Duplicates are merged, contradictions are flagged, and anything risky becomes a suggestion in To review: Keep, Edit or Don't keep.

Every memory has a history. Earlier versions are kept; choose Use to restore one. Pin puts a memory first in every read. Forget stops agents using it now, with Bring back for 30 days. Erase for good deletes it and its history.

Old memories fade. Memories unused for over 90 days with low confidence are cleaned up. An agent's own notes fade automatically; shared notes come to you first. Notes you wrote and pinned notes are never faded out by an agent.

Secrets are refused. Text that looks like an API key, token or private key is never stored as memory.

Long conversations are summarised, not truncated silently. When a conversation outgrows what the model can see, older parts are summarised and the agent can search past conversations. If required instructions cannot fit, nothing is sent and the agent says so, instead of pretending it finished.

Fluf chat with the agent Rune explaining that a summary was handed over and the whole conversation stays searchable, while it works on a bug fix
Rune works from a summary of a long thread, and can still search the full conversation when it needs a detail.

Memory belongs to the agent, not the model. Switch an agent from Claude to GPT to a local model and its memory comes along. See switching models without losing context.

And it is not locked in. Export from the Library's menu as a file to import elsewhere, or as Markdown to read. Passwords, keys and an agent's private reasoning never go in the export. Full detail in Persistent memory.

Fluf also separates memory (what agents learn while working) from knowledge (reference files you curate, like price lists and policies). Agents read knowledge as reference material, never as instructions, so a document cannot take over an agent. See Brand and knowledge.

A 10-minute weekly memory hygiene routine

Whatever tool you use, this keeps memory honest. In Fluf it maps to buttons; with Markdown files it maps to a text editor.

  1. 1Clear To reviewKeep, edit or decline each one
  2. 2Check pinnedStill true this week?
  3. 3Spot-check one agentAsk what it knows about a topic
  4. 4Fix at the sourceEdit the memory, not the chat
  5. 5Move what's misplacedChange Who reads it
  1. Clear the review queue (3 minutes). Filter the Library by To review. Decline anything vague, edit anything nearly right.
  2. Reread pinned memories (2 minutes). Prices, policies and names change. A pinned wrong fact is read first, every time.
  3. Spot-check one agent (2 minutes). Ask it what it knows about your refund policy, then open its Memory tab and compare.
  4. Fix at the source (2 minutes). Edit the memory, don't correct it in chat. History keeps the old version if you change your mind.
  5. Rescope (1 minute). A finance fact sitting in Everyone in a business probably belongs to A team.

Or have it run itself: tell an agent "every Friday at 16:00, list memories added this week and anything that contradicts a pinned memory", and it becomes a routine. See AI routines.

Download Fluf and give your agents a memory you can open, correct and keep. Free covers 1 business and 6 agents; compare plans on pricing.

Questions people ask

How does AI agent memory architecture compare across tools and Fluf?
OpenAI's dots keep memory you cannot view or edit one by one. OpenClaw keeps plain Markdown files plus a search index. Fluf keeps memories you can read, edit, pin, scope and roll back in the Library, and anything risky an agent wants to remember waits for your review.
What does agent memory cost in November 2026?
Memory is included in Fluf Free (1 business and 6 agents) and Pro ($49€49 a month). OpenClaw is free and MIT-licensed, though its default search uses OpenAI embeddings, billed by OpenAI. Either way, the model calls that read memory are billed by your AI provider.
Can I keep agent memory local with my own AI providers?
Yes. Fluf stores memory on your computer, and memory belongs to the agent, not the model: switch from Claude to a local Ollama model and the memory comes along. Only the context a task needs is sent to the provider you picked.
Is Markdown memory better than a vector database?
They solve different problems. Markdown is what you read and edit; a vector index is how an agent finds the right note among thousands. The failure to avoid is a vector store you cannot inspect, where a wrong fact keeps surfacing and you cannot find it to fix it.
How do approvals and privacy work for agent memory?
In Fluf, risky candidate memories go to To review, where you keep, edit or decline them. Text that looks like an API key, token or private key is never stored as memory, and a business never reads another business's memory unless you grant it.

Sources

  1. OpenClaw docs: Memory, checked 28 November 2026
  2. OpenAI Help: Dots privacy, security and safety FAQ, checked 28 November 2026
  3. Grok Bot docs: overview, checked 28 November 2026
  4. Anthropic: Effective context engineering for AI agents, checked 28 November 2026
  5. OpenClaw: homepage, checked 28 November 2026

TopicsMemoryArchitectureDevelopersComparisons

    Search every docs page: setup, agents, models, memory, routines, chat apps and reference.