Pattern 40 · Agents

Agent interruptions & clarifying questions

An agent that asks too often is unusable, and one that never asks makes expensive guesses the user finds later.

By Alex StepikinUpdated December 20264 min readLive demo
In short

Have the agent interrupt only for decisions that are costly or irreversible, and make every other choice an assumption that is listed in the summary and editable. A question names the decision, offers options and recommends a default, and the run resumes from the same step. Let users set how often it asks.

Live demo · try it

An interactive mock built in plain HTML, CSS and JavaScript. Data is fictional; no model is called.

FitWhen to use it — and when not

Use it when

  • Agents that run for minutes or hours between the request and the result
  • Tasks with hidden choices: dates, vendors, recipients, amounts
  • Products where users differ a lot in how much they want to be asked

Skip it when

  • Short chat answers: ask once up front or answer and offer to adjust
  • Fully specified automations where there is nothing to decide
  • Anything that needs approval by policy, which belongs in the approval flow, not a question

AnatomyThe parts of the pattern

  1. Decision ruleInterrupt when a wrong guess is expensive or irreversible; otherwise assume and continue.
  2. Question cardThe decision in one sentence, the options, the agent’s recommendation as the default.
  3. Assumption logEverything it decided alone, listed where it can be changed afterwards.
  4. Answer pathReply in the card, in the chat or by voice, and the run continues from the same step.
  5. Ask levelA control for asking less, balanced or more, per agent.
  6. Timeout behaviourWhat happens if nobody answers: wait, take the default if safe, or stop.

GuidelinesDo & don’t

Do

  • Ask one question at a time, with options and a recommended default.
  • Put what the agent assumed in the summary, with an edit control on each.
  • Resume from the same step after an answer; do not restart the run.
  • Ask about the thing that is expensive to undo, not the thing it is least sure about.

Don’t

  • Ask three questions at the start that it could answer by looking at the context.
  • Interrupt for confirmation of actions the user already authorised.
  • Bury a high-stakes assumption in a log nobody reads.
  • Re-ask a question the user already answered in this run or earlier.

In the wildReal-world examples

ChatGPT Deep Research (clarifying questions before it starts)ChatGPT agent (asks you to take over for logins)Claude Code (questions during planning)Devin

Products named for reference only — no affiliation, and the demo above is an original illustration, not a copy of their UI.

For engineersImplementation notes

  • Compute a stakes score per decision in code from reversibility, cost, external effect and audience, and compare it with the user’s ask level. The model proposes; the rule decides whether to interrupt.
  • Persist the pending question with the run state so the run can wait for days and resume from the exact step.
  • Give every assumption an id so the summary can show it and a later edit can re-run only the affected steps.
  • Log asked, answered, defaulted and overridden. A question people always answer with the default should become an assumption.

Q&ACommon questions

When should an AI agent ask a clarifying question?

When a wrong guess is expensive to undo: money, external messages, deletions, choices that change scope. For low-stakes choices it should proceed with a sensible default and say what it assumed.

How do you handle questions when the user is away?

Keep the question with the run state and let the run wait, take a safe default or stop, depending on the stakes. Notify through the channel the user chose, and resume from the exact step when they answer.

How can users control how often the agent interrupts?

Offer a simple ask level, such as less, balanced and more, per agent. Under the hood, compare a stakes score for each decision with that level, so the user changes the threshold and not the questions themselves.

See alsoRelated patterns

All 40 LLM UX patterns

Does this pattern work in your product?

The AI Trust Audit checks how your product handles this pattern and the other moments where people decide whether to trust the AI. You get 10+ fixes ranked by impact and effort, and your key flow redesigned. 5 working days, $990, credited to a build if we continue. Related case: Atlas, a control room for a fleet of AI agents.

Get the audit · $990Ask a question first

Create bold.
Deliver better.

See our workGet in touch