Grok Bot Memory: I Made My Bots Clean Up Their Own

Seven small Grok Bot helpers sort Grok Bot memory notes into trays A, B and C while a hand holds the approval stamp.

I run a team of AI assistants on Grok Bot. One is a Chief of Staff that sends work to the others. There’s a bot for Microsoft 365, one for my blog, one for my website, one that collects quotes, one that tracks money, a personal assistant, and a bot called Disruptor whose whole job is to poke holes in our plans. This post is about what happened when I made them clean up their own Grok Bot memory.

They all remember things, and that’s the point. I don’t want to explain my background, my time zone, or how I like a draft written every time I start a chat.

Over a few months, though, that Grok Bot memory got messy. So over the Thanksgiving weekend I had each bot clean up its own.

How Grok Bot memory works

When a Grok Bot remembers something, it saves a short note for itself. That might be a preference like “Jonathan prefers plain English,” a rule like “always ask before sending an email,” a fact like “the blog lives at this address,” or a line in a dated log of its work. It draws on those notes in later chats, so I don’t have to repeat myself.

Two details from Grok Bot’s docs matter here. A bot decides on its own when something is worth saving, and not every save shows up in the chat. And each bot keeps its own memory, while a few facts about me, like my name and time zone, are shared by all of them.

That works fine until there are too many notes, or the wrong ones.

Why Grok Bot memory drifts

I found three kinds of trouble.

The same fact saved twice in different words. A bot learns something in October and saves it. In November it learns the same thing again and saves it again, worded a little differently. Now there are two notes, and some day they won’t quite agree.

Facts that went out of date. A note about a backup setup that we stopped using weeks ago is still sitting there, and the bot still believes it.

Notes that quietly loosen a rule. This is the one that worried me. Here’s a made-up example. A note might say “it’s fine to do X without asking” after one conversation where I said okay once. Then the bot treats that as standing permission. Nobody decided to give the bot more room. It just drifted there.

The first two waste time and money. The third can get you in trouble.

How the cleanup ran

My Chief of Staff ran it as part of our regular Saturday token cleanup. Overnight, it went through the bots one at a time, 13 including itself, and gave each the same instructions:

List your own memory notes in three parts.

  • A. Plain duplicates.
  • B. Notes you’re unsure about or that look stale.
  • C. “Notes that let you act without asking Jonathan.”

Give the date of each note. Delete nothing. Change nothing.

That last line matters most. The first pass was a list and nothing else. Disruptor checked the Part C lists, because those are the notes where a mistake costs the most.

After that the lists came to me. I said yes to the plain duplicates a couple of days later, and the bots merged or removed only those.

One bot’s cleanup

Here’s what my Blog Consultant did with its Part A after I said yes:

  • It removed a time zone note, since that’s already known elsewhere.
  • It removed a duplicate note about my name.
  • It merged two overlapping notes about my IT background into one.
  • It removed a fallback note that repeated a newer one.
  • It trimmed an over-detailed note about my business down to one line.

One item on its list couldn’t be found when it went to make the change. It skipped that item and told me so. It didn’t guess which note I meant.

That’s the behavior I want. A bot that can’t find the thing it was told to change should stop and say so, not pick something close.

Part B, the notes it was unsure about or that looked stale, is still waiting on me. That one deserves a slower look.

What Part C turned up

Part C was the list I cared about most, and it proved the point.

Every bot listed its “act without asking” notes, and Disruptor checked each one. Most were fine. Many were fine only after tighter wording: drafts only, read-only, that day only, or my own accounts only.

A few were held for me, and I decided those myself.

My personal assistant had notes about replying to friends. Now it can tell a short list of friends I’ve approved that their message came in, and offer times when my calendar is open. It can’t book anything or share anything else without my yes.

My privacy bot had notes that let it send removal emails without asking. I overrode those. My yes on each batch still rules.

The pattern was the one I worried about. More than once, a single okay had turned into a standing permission, and nobody had decided that. Part C caught those notes.

A few held notes are still waiting on me. I’d rather leave them waiting than rush them.

Why the bot shouldn’t decide what to forget

You could just tell a bot to “clean up your memory” and let it go. I wouldn’t.

A bot deciding what to forget is grading its own homework. It might drop a note that turns out to matter. Worse, it might keep the note that gives it more freedom and toss the one that holds it back. It wouldn’t be doing that on purpose. It just can’t see its own blind spots. Even Grok Bot’s own docs say memory isn’t a source of truth, and that safety rules need approvals behind them, not memory alone. That matches what I found.

So the bot does the tedious part, finding and listing. I make the call. Anything that touches permission gets a second bot’s check first. That split costs me a few minutes, and I get to read exactly what my assistants believe about me.

The same idea runs the rest of the week

This matches how new rules get made on my team, and it’s the same thinking behind how I stop AI agents from interrupting me all day.

When I tell a bot “no” or “redo that,” it doesn’t quietly rewrite its own instructions. It logs a proposed rule. On Saturday my Chief of Staff gathers those proposals into one review. A proposal isn’t a rule until I approve it there.

Memory cleanup works the same way. Bots suggest, I decide, and changes happen on a set schedule, not whenever a bot feels like it.

The takeaway

If you build with AI assistants, or set them up for clients, plan for memory to drift. Grok Bot memory did, and yours will too. Duplicates pile up, facts go stale, and permissions loosen without anyone choosing that.

Have the bots do the listing. Sort the list by risk. Approve the safe deletions yourself, and leave anything that touches permission for a slower, separate decision.

The bot can help you clean house. It just shouldn’t decide what gets thrown out.