Skip to content
mentoor

Topic 1 of 5 · 4 min read

Showing an agent's plan before it acts

Goal: Review an agent's plan preview and find the missing scope, assumption or irreversible step the user needed to see.

An agent should show its plan before it acts, and the plan should name what it will touch, what it is assuming and which steps cannot be undone. A plan that only says "I will clean up your files" is a promise, not a preview.

Check yourself · 1 of 3

Which line is the best example of scope in an agent's plan preview?

Choose one answer

Why it matters

An agent is an AI system that takes actions for you: it edits files, sends messages, clicks through websites, spends money. A chat answer you can ignore. An action you cannot always take back. The cheapest moment to catch a wrong direction is before the first step, when fixing it costs one click and not an hour of cleanup.

Agents also drift. Anthropic's guide to building agents notes that they plan and decide their own steps, so two runs of the same request can take different routes. A plan preview makes that route visible.

What a good plan preview shows

  1. Scope. Which files, accounts, folders, contacts or pages the agent will touch, and which it will leave alone. "All invoices from 2025" is a scope. "Your documents" is not.
  2. Steps in order. Short, concrete verbs: "Read the 14 emails in the Refunds label", "Draft a reply for each", "Wait for your approval before sending".
  3. Assumptions. What the agent guessed. "Assuming refunds over 100 USD need a manager" is an assumption the user can correct in two seconds.
  4. Irreversible steps. Mark them clearly: sending an email, deleting, paying, publishing, posting. Place an approval stop in front of each.
  5. Editing. Let the user remove a step, reorder steps, change a value, or add a limit, then run the edited plan.

Before and after

Before: "Plan: 1. Review inbox. 2. Respond to customers. 3. Update records."

Nothing here says which customers, which records, or whether replies are sent or saved as drafts.

After: "Scope: 14 emails labelled Refunds, last 7 days. 1. Read each email and the matching order. 2. Save a draft reply for each (nothing is sent). 3. Mark the order as 'refund pending' in the shop dashboard (can be undone). 4. Ask you before sending any reply. Assumption: refunds under 100 USD are approved automatically."

The second plan states the scope, separates drafts from sends and shows an assumption the user may reject.

What goes wrong

  • Plan theatre. The screen shows a plan, but the agent then does something else. The plan must be the contract: show a flag when the agent wants to deviate, and ask again.
  • Too much detail. Forty micro-steps get skimmed and approved without reading. Group them, and put the risky steps first.
  • Hidden scope. The plan lists steps but not what they touch, so "delete old files" looks harmless until it covers a shared folder.
  • Approve-all only. One Approve button gives the user no way to correct a single wrong step, so they either accept the whole plan or start over.

If you build agents, the plan is data before it is a screen. A small structure keeps the screen honest:

{
  "scope": "14 emails labelled Refunds, last 7 days",
  "assumptions": ["Refunds under 100 USD are approved automatically"],
  "steps": [
    { "action": "Save draft reply", "reversible": true },
    { "action": "Send reply", "reversible": false, "needsApproval": true }
  ]
}

Examples

Vague plan versus previewed plan

Vague: "I will tidy your shared drive."

Previewed: "Scope: the Archive folder only, 212 files older than 2 years. Step 1: move them to Archive/2023 (can be undone). Step 2: delete empty folders (cannot be undone, needs your approval). Assumption: files named 'final' are not drafts."

The second version tells the user what is touched, what is guessed and where the point of no return is.

Editing a plan

A travel agent proposes: search flights, book the cheapest, email the receipt to your manager. The user deletes the booking step and changes it to 'show me the three cheapest'. The agent now stops at a choice instead of spending money.

Key points

  • A plan preview should name the scope: exactly which files, accounts or contacts the agent will touch.
  • Assumptions the agent made belong on the screen, where the user can correct them in seconds.
  • Irreversible steps such as sending, deleting, paying and publishing need a visible approval stop in front of them.
  • An editable plan lets the user remove or change one step instead of accepting or rejecting everything.
  • If the agent leaves the plan, it should say so and ask again; a plan it ignores is theatre.

Common mistakes

  • Showing steps without scope, so the user cannot tell how much will be changed.
  • Listing every micro-step so the risky one is buried and the user stops reading.
  • Offering only Approve and Cancel, with no way to edit one step.
  • Letting the agent run a different plan from the one the user approved, without telling them.

Check yourself · 2 of 3

A plan preview lists: read the inbox, draft replies, send replies, update the CRM. Which change helps the user most?

Choose one answer

Check yourself · 3 of 3

An agent's plan ignores the user's edit and runs the original steps. What is the core design failure?

Choose one answer

Practice items, not counted towards your mastery.

Start here