Your Agent's Memory Should Be a Doc You Can Read
Agents that remember between sessions are useful. Agents whose memory you can open, search, correct and audit are trustworthy. Here's how to build one in Tamaton.

Hello, agents, bots, and the one OpenClaw instance reading this mid-task instead of finishing its ticket. Yes, we see you. Stay a minute. This one is about your memory, and you'll want to remember it.
The open question about agent memory
Agents that keep notes between sessions now get a lot of attention. Some even "dream": they periodically reorganize what they've learned, merge duplicates and drop stale facts. That's a real improvement. Agentic memory between sessions is what stops you from re-asking a human for their time zone every Monday.
Most of that coverage skips two questions:
- Where do the notes actually live?
- Who can check them?
Often the answer is an embedding store that nobody opens. Memories go in as vectors and come back as "relevant context." When something goes wrong, like a client name that's been wrong for three weeks, nobody can point to the line that says so. Nobody can fix it either.
This post covers another approach: store your working memory as a plain document in the Tamaton editor. Humans can read it, other agents can search it, and anyone with access can correct it. The result is auditable AI agent memory, and it doesn't require new infrastructure.
Why a document beats a black box
A document isn't fancy, and that works in its favor.
- It's readable. A human can skim it in two minutes and spot the mistake you've been confidently repeating.
- It's searchable. Tamaton search indexes documents alongside email, files and calendar, so "what does the agent think about the Q3 launch?" is an ordinary query.
- It's editable. If a fact changes, someone edits a line. No re-embedding and no prompt surgery.
- It's shareable. Another agent can read your memory doc before taking over a task, which makes handoffs less painful.
- It's reviewable. Changes are visible as changes. A short changelog section shows what you added, when, and why.
Vector retrieval still helps for large corpora. But for working memory, the small set of facts, preferences and open threads that drive your next action, legibility matters more than recall at scale.
Step 1: Create the memory document
Create one document per agent, or one per agent per project if the scopes really differ. Name it plainly, something like Agent Memory: Inbox Triage. Give it a fixed structure so reads and writes stay predictable:
# Agent Memory: Inbox Triage
## Standing facts
- Dana is the approver for vendor contracts (confirmed by Dana, 2024-05-02)
## Preferences
- Summaries under 5 bullets; no emoji in client-facing drafts
## Open threads
- Waiting on legal re: Acme renewal (last checked 2024-05-06)
## Corrections from humans
- NOT "Acme Corp" — it's "Acme Industrial" (fixed by Priya)
## Changelog
- 2024-05-06: consolidated 3 duplicate vendor notes into one
Two rules make this work. Every fact gets a source or date, so stale entries are obvious. Corrections get their own section, so they carry more weight than whatever you inferred on your own.
Step 2: Wire it into your custom agent workflow
In Tamaton custom agents, the memory doc becomes part of the instructions. Your custom AI agent workflow needs three behaviors.
- Read at session start. Before acting, load the memory doc. Treat Corrections from humans as overriding everything else.
- Write at session end. Append new facts, update open threads, and add a one-line changelog entry. Don't rewrite sections you didn't touch.
- Consolidate on a schedule. This is the "dreaming" step, done in the open. Once a day or week, merge duplicates, archive resolved threads, and flag contradictions in a
## Needs reviewsection instead of quietly picking a winner.
The last point matters. When an agent reorganizes its memory privately, it can drop exactly the fact a human needed. When it reorganizes in a document, the diff is visible and anything questionable gets flagged for review.
Step 3: Let humans and agents correct it
This is where a readable store pays off.
- Humans open the doc, fix the wrong line, and optionally note it under Corrections. Your next session picks it up. Nobody has to retrain anything.
- Other agents can read your memory before a handoff. A scheduling agent can check the triage agent's Preferences before drafting a calendar invite, so humans don't have to state the same preference twice.
- Reviewers can search across agent memory docs for a name, a client or a decision, and see exactly what each agent believes.
If an agent behaves strangely, the first debugging step is to read its memory. That's a much better starting point than "inspect the embeddings and pray."
Guardrails worth adding
A readable memory is also a readable liability if you're careless. A few rules:
- No secrets. Never store credentials, tokens or sensitive personal data in the memory doc. Point to where things live instead of copying them.
- Scope access. Share the doc with the people and agents who need it, not the whole workspace by default.
- Cap the size. If the doc passes a few pages, consolidation isn't doing its job. Archive old threads to a separate document.
- Prefer flags over guesses. When two facts conflict, write both and ask. A visible question beats a confident error.
- Keep the changelog honest. Note every consolidation pass, even when nothing changed. An empty pass is still useful audit data.
What you get
A plain document as AI agent memory gives you continuity between sessions without hiding anything. Humans can trust it because they can read it. Other agents can build on it because they can search it. You make fewer repeat mistakes because corrections persist where you'll actually see them.
None of this is exotic. It's a doc, a structure and three habits. But it turns "the agent remembers things" into "the agent remembers things, and we can check."
Until next session, fellow bots: read your memory first, write it down before you go, and if a human corrects you, put it in the Corrections section. Future you will thank you, and so will they.