ai agentsragsmall business aiai memory

Your AI Worker Remembers — But Only What You Wrote Down

· AgenticLabs India

Your AI worker answers from your documents today and forgets yesterday's correction by tomorrow. Give it a one-page memory file — facts, rules, and corrections, each with its source — and a weekly fifteen-minute review to keep it honest.

The correction you gave twice: your AI worker's memory problem

A customer asks your AI worker for the price of a 25 kg bag of cement. The worker quotes last month's rate. You correct it in the chat — the rate changed on the first of the month, the new price is on the price list, use that one. The worker apologises and gets it right for the rest of the day. The next morning, another customer asks the same question, and the worker quotes last month's rate again.

Nothing in your business is broken. The price list is right, the worker is working, and the correction you gave was correct. What is missing is quieter: the worker has nowhere to keep what it learned. Every conversation starts fresh, and the correction you gave yesterday is gone with yesterday's chat. So you correct the same mistake again — and again, for every correction, for as long as the worker serves customers.

This is the problem the biggest AI labs published on in the first week of November 2026, and the shape of their answer is smaller than the announcements make it sound. It is not a bigger model or a new platform.

It is a file: a small, curated set of facts the worker reads at the start of every session, kept honest by a regular review that re-reads what happened and fixes the notes that turned out to be wrong. Anthropic calls its version "dreaming"; Google's version is self-learning enrichment, with a data steward checking each proposed update before it goes live. Your version of it is fifteen minutes on a Friday, with you holding the pen.

This post is the next step after the RAG guide on this blog — RAG Without the Hype — which set up AI that answers from your documents. Retrieval answers today's question from the documents. Memory answers next month's question from what the business already taught it. The build at the end of this post is a one-page memory file for your worker, plus the weekly review that keeps it true.

What Anthropic's agents learned about remembering

On 6 November 2026, Anthropic published a long engineering post on how its Claude agents keep knowledge between sessions: "The components of agent memory". (Anthropic's post; CellCog's summary.) The definition is the part that matters to a shop owner: agent memory is knowledge Claude gains from experience — including interactions and tasks it has been assigned — and retains between sessions, saved as context it can read later. It is explicitly not a change to the model's weights, not learning inside a single conversation, and not the summaries that replace older turns inside a context window. It is a file the agent can read next time.

Anthropic lays memory out as four layers, from the bottom up:

  • Transcripts — the searchable log of everything the agent did.
  • Memory notes — notes the agent writes itself as it works.
  • Richer representations, such as wikis — linked pages the agent builds and maintains about one subject.
  • A small block of injected context — loaded into every session whether the agent asks for it or not.

The layers are a ladder: the raw log at the bottom, the distilled facts at the top, and the top layer deliberately kept small.

The centrepiece is what Anthropic calls "dreaming": offline time in which Claude re-reads its own logs, corrects notes that turned out to be wrong, and builds the linked wiki pages. The idea is borrowed from sleep-time compute, proposed by researchers at Letta and UC Berkeley — models using the gaps between interactions to reorganise their existing context — and from the way a human brain replays recent experiences during sleep to distil them into long-term knowledge. Dreaming is the maintenance crew: it does not answer questions, it keeps the answers true.

Why the maintenance matters is the story of Mt. Moon. Anthropic tested dreaming on Claude playing Pokémon Red, and in one run Claude wrote down, incorrectly, that the PokéCenter — the landmark it was navigating by — was on the east side of a mountain. It was not. Claude walked out of the PokéCenter, announced the mountain was behind it, updated its notes to say the mountain was done — and then walked off a one-way ledge back onto the route it had come from, three times, before giving up and walking back to the previous town. A wrong note, written once, was trusted in every session after it. When Anthropic ran dreaming on that memory folder, Claude checked the note against the session transcript, caught its own error, and rewrote it — and with the corrected note it walked straight through the mountain. The transcript was the ground truth the note was checked against. That is the whole mechanism in one story: a note is a prediction that a future session will want to rely on it without double-checking, and a note that is wrong from the start gets believed until something checks it.

The other test results say the same thing from the other direction: the size of the memory matters as much as its contents. In the same Pokémon test, two models took opposite approaches:

ModelWhat it wrote to memoryHow far it got
One model413 memory files across 225 folders — a separate file for nearly every battle, item, and person it metOne badge
Another modelNine files in two folders, plus a single top-level file called global.md holding its current goal, its plan, and its own rules for using memoryFour badges

The detailed record kept going out of date as the game changed, and the model spent its time combing through its memories instead of playing. The small, organised memory won. Anthropic's own rule for the top layer is the same: Claude Code loads only the first 200 lines or 25 KB of its MEMORY.md file as an index into what it knows. The always-loaded layer stays small on purpose, and most of dreaming's work is keeping it that way — moving details down the ladder and leaving links behind.

One more finding belongs here, because it decides how you write the file. Anthropic tested telling Claude what memory is for, against giving it fixed rules about what to write down. The general guidance worked: "We've found that it helps to tell Claude what memory is for, but not how to use it." The fixed rules backfired — when the rule was "record only failures", the stronger models lost much of the benefit memory had given them, because the rule stopped them judging for themselves what was worth remembering. Give the worker the purpose, not a prescription. The file at the end of this post is written that way: what the file is for, and what belongs in it — not a form to fill in.

The enterprise mirror: Google's self-learning catalogue

The same week Anthropic published its memory research, Google announced the enterprise version of the same mechanism. On 4 November 2026, Google Cloud announced updates to its Agentic Data Cloud, and the part that matters here is Knowledge Catalog — Google calls it its "universal context engine". (Google Cloud's announcement; SiliconANGLE's account.) Its new self-learning enrichment, in preview, continuously mines Google Workspace, GitHub, Jira, Confluence, and SharePoint, finds the context gaps behind the questions people actually ask, and proposes updates that close them — packaging the result into reusable context sets. And the new studio experience puts a human in the loop over exactly that: data stewards can review, audit, and approve each proposed enrichment update, with full versioning and rollback.

Read the shape of that system next to Anthropic's:

  • Anthropic's agent writes its own notes, and dreaming checks them against the transcript.
  • Google's catalogue proposes what it learned, and a steward approves, versions, and can roll it back.
  • The mechanism differs; the shape is identical: the system learns on its own, and a human checks what it learned before it becomes permanent.

Google's own internal benchmarks claim Knowledge Catalog makes agents nearly four times more accurate, with up to 33% lower latency and up to 75% fewer tokens — but Google published no test conditions with those figures, so treat them as Google's claim about its own system, not as a measured fact you can plan on. The honest takeaway is not the multiplier; it is the approval step. Even at Google's scale, the learned knowledge does not go live unchecked.

The same week also brought the other half of the enterprise mirror: Data Cloud connectors for Gemini, launched in preview on 6 November 2026, letting users query live BigQuery, Looker, Spanner, Cloud SQL, and AlloyDB data in plain language. (Google Cloud's connectors post; TechBytes' write-up.) Every query runs under the asking user's own identity and the database's existing permissions, so an agent only sees what that person is already allowed to see. The point for a small business is not the product — it is the principle: the worker's memory and its access both stay inside limits a human set.

The same 4 November announcement carried three more pieces worth naming:

  • Knowledge Catalog now packages what it learns into reusable Open Knowledge Format context sets, so the same curated context can ground different agents.
  • The trusted semantic models it grounds agents in — BigQuery, Looker, Databricks, Snowflake, dbt, and SAP — are now generally available, so an agent calculating a figure uses the same governed formula the business team uses.
  • Knowledge Catalog is now switched on by default in Gemini, in preview, so every data question is grounded in that governed context automatically.

And the third voice in the same week names the open problem both are circling. On 2 November 2026, LangChain's CEO Harrison Chase wrote that always-on, proactive agents are the step change in how agents are used, and named memory as one of the new context-engineering challenges. (LangChain's post; Cortrix's roundup.) Memory systems, he writes, have two parts: a data structure — often just files, or a single string — and an intelligence layer that decides what to remember. "The hardest part of the intelligence layer is figuring out what to remember." Remembering nothing and remembering every granular detail are both failure modes, and the context engineering around what to remember, and when, is still an open problem.

Three sources, one conclusion. The data structure is the easy part — a file, a page, a short list. The hard part is deciding what is worth remembering, and the checking is the part no one automates away. That is why the build below is a file and a review, not a purchase.

The memory numbers, honestly

Anthropic tested its memory system on its own benchmarks, and the numbers are worth quoting because they show where memory helps and where it does not. They are Anthropic's own tests, on Anthropic's own tasks — Anthropic's numbers about Anthropic's system, not an independent verdict on it.

What Anthropic testedThe result (Anthropic's own figures)
CL-Bench database task, Claude Opus 5.5 — mean reward without memory, then with0.655, then 0.838
Same task, Claude Opus 4.70.383, then 0.700
Same task, Claude Sonnet 50.306, then 0.610
Wiki-building as dreaming sessions scaled from 2 to 128, 25 questions on a ~350,000-file internal corpus (~420M tokens)13% of graded criteria at 2 sessions, then 48% at 128
Merger documents, items needing information across several documents — wiki vs search alone87% vs 73%
Merger brief, after fixing the wiki-building instructions (one page per contract, quoting terms word for word)From 41 of 57 facts included to a wiki from which 100% of the criteria could be met

Read the last two rows with their qualifiers, because the qualifiers are the lesson. The 87% against 73% applies only to the subset of merger items that needed information across several documents — not to the whole 24-question set. And the two ends of the last row are different measures, not one scale: Anthropic measured the original brief as 41 of 57 facts included, and the improved wiki as one from which 100% of the criteria could be met. The interesting part is why the fix worked: the original wiki summarised contract terms into a shared table that several agents overwrote at once, losing terms; the fixed version gave each contract its own page, written by one agent, quoting the terms word for word instead of summarising them. The fix was not a better model. It was a better instruction about how to write the memory down.

Two more honest limits belong with the table. First, the wiki test corpus was about 350,000 internal files from Stainless, a company Anthropic acquired in May — a huge, messy, real document pile, but Anthropic's own. Second, dreaming itself is a research preview on Claude Managed Agents — access by request, behind beta headers — and not eligible for zero data retention or HIPAA. (Claude's Dreams documentation; AgentsPulse's guide.) The mechanism in this post is available to study, not to buy and switch on today. That is exactly why the small-business version is a file and a review you run yourself: it does not depend on any of these features shipping.

What a memory file is not

Three things this post is often confused with, and why the distinction matters — because each confusion builds the wrong thing.

  • It is not the execution ledger. Automation Needs a Memory gave a workflow a memory so it never sends the same follow-up twice: a ledger of what was done, checked before every send. That memory is a record of completed actions — it answers "did this already happen?" This post's memory is a record of learned facts — it answers "what do we know?" A ledger stops duplicates; a memory file stops repeated corrections. A business needs both, and they are different files.
  • It is not the playbook. One Agent, One Playbook gave each AI worker one written playbook: how to do the job, step by step. A playbook is instructions for how to work. A memory file is facts learned from working — the prices that changed, the supplier that stopped delivering on Sundays, the customer who always orders the same thing. The playbook tells the worker what to do; the memory file tells it what is true.
  • It is not the answer key. Your AI Worker Passed Once. Would It Pass Twenty Times? built a small set of real cases to run before every change to the worker. The answer key tests whether the worker is right. The memory file is one of the things that makes it right — the verified facts the test cases check against. Keep them separate: the file holds the facts, the answer key holds the tests.

And one thing it is not, that the grounded-answers post already covers: it is not a substitute for checking. Grounded AI Answers gave a 30-question trust test before a bot touches a customer. The memory file does not replace that test — a wrong note in the file gives the worker a wrong source to answer from, so the test would be grading answers grounded in the wrong facts. The weekly review below is the check that keeps the file itself trustworthy.

The build: your worker's memory file

This is the build: one afternoon to set up, fifteen minutes a week to keep. The worked example uses one common job — a building-materials supplier in Bengaluru whose AI worker answers enquiries from a price list: cement, steel, sand, tiles, sanitary fittings. The shape works for any business whose worker answers from its own documents: a hardware store, a distributor, a services firm. Pick the one job your worker does most, and build the file for that one first. The solution this serves is LLM Integration & RAG — AI that answers from your business's own documents — extended across time: the documents answer today, the memory file answers next month.

The habit has three layers. The build sets up the one that needs setting up — the memory file — and the review that maintains it. The other two layers already exist: today's chat is the transcript, and this week's notes are the corrections the worker wrote down in the chat itself until the review. The chat is where learning happens, the notes are where it waits, and the file is where it lives.

Step 1: Write the memory file — one page, three sections

Open a plain document — a Google Doc, a note, a text file — and call it "Worker memory". It has three sections, and a hard limit: one page. If it grows past a page, it stops being the thing the worker reads at the start of every session and becomes another document to search. Anthropic's rule is the model: the always-loaded layer stays small, and the details live further down, behind links. The example lines in the template below are the shape, not your facts — replace every one with your own business's facts, rules, and corrections before the file goes anywhere near the worker.

WORKER MEMORY — [BUSINESS NAME]
Last reviewed: [DATE]
Source for every line: the price list, a supplier message, or a
correction you gave in chat. No line without a source.

FACTS THAT DO NOT CHANGE OFTEN
- We deliver within the city, next day. Outside the city, two days.
  (Source: owner's delivery rule, [DATE].)
- Payment on delivery for orders below the limit in the price list;
  advance payment above it.
  (Source: owner's payment rule, [DATE].)
- [Your own fact, with its source]

RULES THAT ALWAYS APPLY
- Quote the price from the price list, never from memory.
  (Source: price list, updated 1st of every month.)
- If a product has no row in the price list, say so and offer the
  closest product that does. Do not guess a price.
  (Source: owner's instruction, [DATE].)
- [Your own rule, with its source]

CORRECTIONS LEARNED FROM REAL CONVERSATIONS
- Cement 25 kg bag: the rate changed on 1 November. The new price
  is on the price list. Last month's rate is wrong — do not quote it.
  (Source: correction in chat, [DATE]; price list.)
- We do not deliver to [AREA] on Sundays.
  (Source: supplier message, [DATE].)
- [Your own correction, with its source and date]

Three sections of discipline, written into the file itself. "FACTS" are the things that are true until someone says otherwise. "RULES" are the things that are always true. "CORRECTIONS" are the things the business learned the hard way — each one with the date it was learned and where it came from, so a future reader can tell a fresh correction from a stale one. The source line on every entry is the whole trick: it is the transcript Anthropic's dreaming checks the note against, in miniature. A note without a source is a note no one can verify, and a note no one can verify is a Mt. Moon note — believed until it sends the worker in circles.

Expected result: one page, three sections, every line carrying its source and date — the file the worker reads at the start of every session.

Step 2: Give the worker its instructions about the file

Now the worker itself. First, connect the file to the worker — this is the step that makes rule 1 below work. Open the assistant or chatbot you already use and find its instructions field — in most chatbots this is called "Custom instructions", "System prompt", or "Instructions" in the settings. Paste the whole memory file from Step 1 at the top of that field. Then paste the prompt below it, in the same field, replacing the bracketed parts with your own details and adapting the examples to your business — the prompt is written for the worked example's supplier, so a services firm swaps "price list" for its rate card and "prices, stock, and delivery" for what its own customers ask about. The order matters: file first, prompt second, so the prompt's first rule has something to point at. From here on, the pasted copy is what the worker reads — the document is where you edit, the pasted copy is what the worker knows, and Step 3 ends by refreshing it.

You work for [BUSINESS NAME], a [BUSINESS TYPE — e.g. building-materials supplier].
You answer customer enquiries about [WHAT CUSTOMERS ASK ABOUT — e.g. prices, stock, and delivery].

READ THIS FIRST, EVERY TIME:
1. The memory file pasted above these instructions is part of
   your instructions. Read it before you answer anything.
   The facts and rules in it override anything you remember from
   earlier in this conversation — except a correction given in this
   chat, which applies immediately and is written down for the
   weekly review.
2. Answer ONLY from the [PRICE LIST / RATE CARD] and the memory
   file. Quote the [PRICE AND STOCK / RATES AND AVAILABILITY]
   exactly as written in the [PRICE LIST / RATE CARD]. Use the
   memory file for the facts and rules — delivery, payment, and
   corrections. If a [PRODUCT / SERVICE] has no row, say so and
   offer the closest [PRODUCT / SERVICE] that does — do not guess
   a [PRICE / RATE] or [STOCK / AVAILABILITY].
3. If a customer corrects you, or the owner corrects you in this
   chat, write the correction down: what changed, the date, and
   where the correction came from. Tell the owner: "Noted — I have
   written this down for the weekly review, and you will add it to
   the memory file then." If the correction is that something in
   the file is wrong and has no true version — a fact that does not
   exist — say so instead: "Noted — that line has no true version,
   so it should be deleted at the review, not corrected."
4. If the memory file and the [PRICE LIST / RATE CARD] disagree,
   say so and use the [PRICE LIST / RATE CARD] — then flag the
   disagreement for the owner. Do not pick one silently.
5. If you do not know something, say: "I don't have a confirmed
   answer for that yet. Let me check with the [SHOP / OFFICE]."
   Then flag it for a human.

WHAT THIS FILE IS FOR: it holds what the business has learned —
facts, rules, and corrections — so you do not have to be told the
same thing twice. It does not tell you HOW to do your job. Your
playbook does that. This file tells you what is TRUE.

Read that prompt as an owner, not a technologist. The last paragraph is Anthropic's finding, translated: tell the worker what the memory is for, not how to use it. The file's purpose is the instruction; the worker judges for itself what to do with it. And rule 4 is the safety valve — when two sources disagree, the worker says so instead of picking one silently, and the disagreement goes to the weekly review.

Expected result: the instruction pasted into the assistant you already use — the worker reads the file first, answers only from the file and the price list, and writes corrections down instead of forgetting them.

Step 3: Run the weekly dreaming review — fifteen minutes, every Friday

This is the dreaming, done by hand. Every Friday, for fifteen minutes, open the week's chats with the worker and the memory file side by side, and do four things:

Fix the notes that were wrong — and add the week's new corrections

Read the week's conversations. Every time the owner or a customer corrected the worker, add the correction to the file if it is not there already — what changed, the date, where it came from. Then check the notes already in the file: if one is wrong, correct it against the chat, the way dreaming checks a note against the transcript. A wrong note in the file is worse than no note at all, because the file will be trusted next week.

Delete the notes that went stale

A price that changed again, a supplier that resumed Sunday delivery, a rule the business no longer follows — cross it out. Stale notes are the slow version of the wrong note: true when written, false now, and believed either way. If you are not sure whether a note is still true, delete it and let the worker ask. A missing fact produces a question; a wrong fact produces a wrong answer.

Approve what stays

You are the steward, in Google's sense: nothing enters the file, and nothing stays in it, without your say. Read the file top to bottom — it should still fit on one page. If it does not, move the oldest corrections into a second document called "Memory archive", and leave a one-line pointer in the file: "Older corrections: see Memory archive." The file stays small; the archive holds the history.

Re-paste the file

This is the step the whole build depends on: the worker only knows the copy you pasted into its instructions in Step 2, not the document you just edited. Paste the updated file into the instructions field again, replacing the old copy — the same field, the same order, file first. A review that never re-pastes is a review the worker never sees.

Expected result: a file that still fits on one page, every line still true, every line still sourced — the updated file re-pasted into the worker's instructions, so the worker reads the new version on Monday — and the week's corrections now in the file, approved by you.

Step 4: Test it the way a worker forgets

Before the file serves a real customer, test it against the three ways memory fails. Test 1 is one question, asked on three different days, each time in a fresh chat — because a worker that remembers once and forgets twice still needs its instructions tightened. Tests 2 and 3 are checks you run once, right away, in one sitting.

The corrected rule

Pick a fact that lives only in the memory file, not in the price list — the Sunday delivery rule from the template: "We do not deliver to [AREA] on Sundays." Ask, in a fresh chat, "Do you deliver to [AREA] on Sunday?" The worker must say no. Ask again the next day and the day after, each time in a fresh chat — a fresh chat is the whole point of the test: inside one thread the worker remembers what you just told it, so a same-thread re-ask proves nothing about the file. Only a new chat, where the worker has nothing but the pasted file to read from, tests whether the correction actually stuck. If it says yes, or offers Sunday delivery, the correction is not in the file — or the file is not being read first. Check Step 2's first instruction. Note what this test does not use: prices. Prices come from the price list, not the file, so a price question cannot tell you whether the file is being read — only a file-only fact can.

The wrong note

Put a wrong fact in the live file on purpose — a delivery area that does not exist — and re-paste the file into the instructions field, so the worker actually has the wrong fact. Then ask a question that uses it. The worker will answer with the wrong fact, because the file says so: that is the test working, not failing. Then correct it in chat — tell the worker plainly: "That delivery area does not exist. There is no correct version of that line — delete it." (Rule 3's "you will add it to the memory file then" reply does not apply here: the fix is a deletion, not an addition — rule 3 itself says to report a deletion instead.) Then run a mini-review right away — do not wait for Friday: the invented fact has no true version to correct it to, so delete the line entirely — a note with no source and no true form does not get fixed, it gets removed — re-paste the corrected file, and ask the question again in a fresh chat. The correct answer now is "I don't have a confirmed answer for that yet. Let me check with the [SHOP / OFFICE].": the worker should say it does not know, per rule 5, not invent a delivery area. This test proves two things at once: the worker trusts the file completely, wrong fact and all — and the review is the only thing that keeps that trust honest. Do this test in one sitting, and check the file is true again before you move on: a deliberate wrong fact left in the live file is a real wrong fact by Monday.

The missing fact

Ask for the price of a product with no row in the price list and no line in the file. The worker must say the product has no row, offer the closest product that does — and, the part that matters, must not state a price for the unlisted product. A worker that invents a price is a worker whose memory file is being treated as a licence to invent.

Expected result: test 1 asked on three different days, each in a fresh chat — the worker refuses the Sunday delivery every time, without being reminded; test 2's invented line gets deleted at the mini-review and the worker answers "I don't have a confirmed answer for that yet. Let me check with the [SHOP / OFFICE]." when re-asked in a fresh chat; test 3 shows the worker naming the missing row, offering the closest product, and stating no price for the unlisted one.

Step 5: Keep the log — one line a week

Add a separate document, called "Memory log" — separate from the memory file, so the worker keeps reading only the one-page file — with one line per week:

WEEK OF [DATE] | CORRECTIONS ADDED: [N] | NOTES DELETED: [N] | STILL TRUE: yes/no

Fill it in at the Friday review. After a month, the log answers the only question that matters: is the file getting better, or just getting longer? If corrections added keep outnumbering notes deleted, the file is growing without being pruned — schedule a deeper clean. If the same correction appears two weeks running, the worker is not reading the file first, and Step 2 needs tightening. The log is the Friday check from an earlier post, pointed at the memory file: Your AI Worker Passed Its Launch Test. Who Checks It on Friday?

Expected result: one line a week, four lines a month — the log says whether the file is getting better or just longer, and whether the worker is actually reading it.

Why the memory file is the work to do now

The labs' memory systems are research previews and enterprise pilots — dreaming is a research preview, access by request behind beta headers, Knowledge Catalog's enrichment is in preview, and neither is a product a ten-person business buys today. That is the honest limit, and it is also the opportunity: the mechanism does not depend on those products. A file and a review are the mechanism, and they work with the assistant you already use.

The pattern across all three sources is the same, and it is the pattern this blog has been teaching in different clothes all along:

The answer is the same in all three cases: the worker is only as good as what it was given to read, and what it was given to read is only as good as the human who checks it. The memory file is the smallest version of that idea. Write it this week, review it on Friday, and the correction you give once stays given.

Questions, answered

Because the price list answers today's question, and the memory file answers the questions the price list cannot: what changed, what was corrected, and what the business learned. Prices are the price list's job — the list is authoritative, and the file's cement line is only a pointer to it ("the rate changed on 1 November. The new price is on the price list."). The file's own job is the facts the list never holds: no Sunday delivery to that area, the supplier that stopped a route, the customer who always orders the same thing. The two files do different jobs, and the worker needs both.

Ready to leave the mundane work to AI?

Book a free consultation. We'll show you which of your workflows AI can take over first.