Skip to content

Agent Coach

You correct your agents in chat all the time: “no, use pnpm”, “stop adding comments”. The next chat starts from the same instructions, so you say it again. Agent Coach reads those corrections after a chat goes quiet and suggests a short rule that would have prevented them. Each suggestion waits in the Inbox as a before-and-after of the real file. You change the wording if you like, then press Apply.

Nothing is written until you apply it, and you can undo an applied rule for a day.

Agent Coach is on by default for every agent. Each agent has its own switch.

  1. Open the agent in Agent Studio and find the Agent Coach card.
  2. Use the switch. It reads On or Off.
  3. Choose Save changes at the top. The switch is part of the agent’s file, so it applies once saved.

When it is off, ZumiBot does not read your corrections to that agent and makes no suggestions for it. Suggestions already waiting stay in the Inbox until you apply or dismiss them. Turning it back on starts from that moment: old chats are never read.

Zumi Bot and remote agents are never coached, so they have no Agent Coach card.

A chat is checked once it has been quiet for 15 minutes and holds new messages from you. Group rooms are checked too, and each suggestion names the agent it is for. Archived chats are still checked.

Only messages you typed count. Messages that a routine, a workflow, a background process or another agent sent are skipped. A quick filter looks for the way corrections usually sound, such as “no”, “don’t”, “always” or “from now on”. When no message passes, nothing is sent to the model.

The model then keeps only lasting preferences, such as “always use pnpm here”. It drops one-off redirects such as “no, the other file”, anything the instructions already say, and anything it suggested before. The suggestion must quote your own words, so it cannot make one up. Most checks end with no suggestion.

Open Inbox. Suggestions are in Waiting for you, and they count in the number on the Inbox icon. Each card shows:

  • You said: your own words.
  • Rule: one line, which you can edit. A rule is 1 to 200 characters, on one line, and can’t start with #, — or -.
  • Goes to: where the rule would be saved, with the file’s path. Choose another one to move it.
  • The change: the file as it would be, with the changed lines marked and two lines around them. It updates as you type or switch where the rule goes.

The choices for Goes to are:

  • The agent’s instructions. The rule is added to the agent’s own file.
  • The agent’s memory. A new memory of type Feedback, kept with the note “you said” and your words. Offered only for an agent that has memory turned on and is under its limit. See Memory.
  • Project CLAUDE.md. For a fact about the project that any agent working there should follow. It goes to the nearest CLAUDE.md above the chat’s folder, or creates one at the top of the repository. For a chat that runs in its own worktree, it goes to the folder you picked in your main copy, not the worktree’s copy. It is not offered for a chat in your home folder, or in a folder that is neither a repository nor has a CLAUDE.md.
  • Your CLAUDE.md (all agents). For a personal preference that holds for every agent.

Codex agents and ACP agents can only take their own instructions, since they do not read CLAUDE.md.

Rules are added as a bullet under a Learned from corrections heading at the end of the file. When the new rule contradicts one existing line, the card swaps that line instead. The settings block at the top of an agent file is never touched. ZumiBot does not tidy or rewrite the rest of the file.

  • Apply saves the rule as shown. The card turns into “Added to …” with an Undo link, and the line stays for a day.
  • Dismiss removes the card. Undo is there for a few seconds. A dismissed rule is not suggested again for 90 days.
  • Undo puts the file back as it was. If you made a new CLAUDE.md through Apply, Undo deletes it. Undo is refused once the file has changed since, and after a day. It says so, and you can undo by hand.

If the file changed after the card was drawn, Apply says “The file changed. Review the new diff.” and the card shows the new file. If it still fails, the card says “Could not save the change.”

ZumiBot never commits. A change to a repository’s CLAUDE.md stays as an uncommitted edit.

Each check that finds a possible correction makes one small call to Claude’s Haiku model, about the cost of a suggested-replies call. It shows in Settings, then Usage, as Agent Coach, and you can pick it in the agent filter. See Usage and cost. Chats where no message looks like a correction cost nothing.

The check sends the corrected messages (with the reply before each), the agent’s instructions and memory list, and the project’s and your CLAUDE.md to Claude (Haiku), the same way your chats already go to Claude. Nothing is sent for an agent with Agent Coach off.

At most 20 suggestions wait at once. While 20 are waiting, ZumiBot checks nothing more, and nothing is lost: the chats are read once you clear some.

  • It never changes a file before you press Apply.
  • It never rewrites a file. It adds one bullet, or swaps the one line you approve.
  • It never changes the setup of an agent file, such as its name, model or tools.
  • It never puts your chat text in a log or in an error message.
  • Suggestions are most useful for habits you keep repeating. Edit the rule to the shortest form that you would be happy to see in the file.
  • Rules collect at the end of a file. When two rules disagree, tidy the file yourself in Agent Studio, or ask Zumi Bot.
  • If you use a PC server and a VPS, suggestions are kept in step when you sync, so a dismissal on one stays dismissed on the other.