When Should an Agent Ask a Clarifying Question?
When an AI agent should stop and ask, when it should look things up or assume and say so, and how to stop it stalling, for your AI interview.
In short
An agent should ask a person only when a missing detail changes the outcome, the agent can't find it itself, and a wrong guess would be costly. Otherwise it looks the detail up or goes on with a stated assumption.
12 min readBeginnerOccasional · estimateFacts checked 27 November 2026
Say it out loud
Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.
An agent should ask only when three things are true. The missing detail changes the result, the agent can't find it by looking, and a wrong guess would cost real money or a sent message. Otherwise it looks the detail up, or goes on with a safe assumption and says so. When it does ask, I ask once, early, in one batch, before the long work starts.
Judgement matters more than how often the agent asks. A good claims handler checks the system first, and calls the customer only for what the customer alone knows. An AI agent should work the same way, and most gaps it can close by looking things up.
The test has three parts. Does the missing detail change the outcome? Can the agent find it with its tools? Would a wrong guess be costly or hard to undo? If the answers are yes, no and yes, the agent asks one clear question before any work starts. If the gap is cheap, it assumes a safe default and names that assumption in its summary.
The hard part is that models often guess rather than ask. Recent research found they often spot an ambiguous request when asked to judge it, yet still answer directly. So I don't rely on the prompt alone. I put the rule in code, with a list of required fields and a clear cost for each one.
An agent that waits forever is a failure too. Every question needs a deadline, a named owner and a safe default for when nobody answers. For a costly gap, the safe default is a stop.
When should an agent ask a clarifying question, in plain words?
A clarifying question is when an AI agent stops to ask a person for a detail it needs before it goes on. Most of the time it should not ask. It should look the detail up, or make a safe assumption and say what it assumed.
Anthropic's guide to building agents, from December 2024, describes the pattern. The page notes that much of its tooling has since changed, but the pattern still holds. Once the task is clear, the agent works on its own, "potentially returning to the human for further information or judgement". It doesn't come back for every small thing.
Think of a new claims clerk at an insurer. She doesn't phone the customer for a policy number that sits in the system. She calls only for what the customer alone knows, such as how much was lost. Here is the AI version: a claims agent gets a new claim with no policy number and no amount. It finds the policy number in the customer record, so it looks it up. Only the customer knows the amount, so it asks. The channel has a safe default, so it assumes and says so.
Key words
- Clarifying question
- A question an agent asks a person, because it can't find a detail itself.
- Assumption
- A guess the agent makes and states, so a person can correct it.
- Blocker
- A gap that stops the work until it is filled, such as a missing amount.
- Human in the loop
- A person who checks or decides at set points during an agent's run.
- Stopping condition
- A rule that ends or pauses a run, such as a maximum number of steps.
When should it ask, and when should it assume?
Ask only when three things are true at once. The gap changes the outcome. The agent can't close it by looking, using its files, records or tools. And a wrong guess would be costly or hard to undo, such as a refund paid or an email sent.
“Once the task is clear, agents plan and operate independently, potentially returning to the human for further information or judgement.”
Anthropic, Building effective AI agents
Otherwise, the agent looks first, then goes on with a stated assumption. Anthropic's guide says agents "can then pause for human feedback at checkpoints or when encountering blockers". So a pause is for a set checkpoint or a real blocker, not for every small gap.
Ask, look it up, or assume
Missing detail
the agent can't finish without it
Can it look it up?
a record, file or tool it can call
Look it up, carry on
no question needed
Costly if wrong?
money, safety or a sent message
Then
Ask one clear question
sent before any work starts
Assume and say so
a safe default, named in the summary
- 1The agent hits a detail it needs before it can go on.
- 2If it can fetch the detail itself, it does, and carries on.
- 3If not, it weighs what a wrong guess would cost.
- 4A costly gap gets one clear question, sent before any work.
- 5A cheap gap gets a safe default, which it names in the summary.
Why do models so often guess instead of asking?
Spotting an ambiguous request is one skill. Acting on it is another. A 2026 study found a clear gap between them, so I wouldn't rely on a prompt alone.
“models often identify ambiguity when explicitly asked to judge it, yet in the QA setting they overwhelmingly default to direct answers.”
Su and Cardie, arXiv 2605.25284 (2026)
“Existing LLMs often respond by presupposing a single interpretation of such ambiguous requests, frustrating users who intended a different interpretation.”
Zhang, Knox and Choi, arXiv 2410.13788 (ICLR 2025)
The 2026 study also found that retrieved context makes a model even less likely to ask. So a confident answer to a vague question should make you ask whether the model checked the gap, or only guessed it.
Tip
Asked how you'd stop an agent guessing? Don't say "a stronger prompt". Name the required fields and the cost of each gap, and check them in code.
How should an agent ask well?
Asking well is a skill too. A stream of small questions annoys people and wastes time. Ask early, in one batch, and make each question easy to answer.
Ask early, in one batch
Ask late, one by one
Start a long run
it works for 40 minutes
Pause to ask
a gap found halfway through
Ask first, in one batch
Check every gap
one pass before any work
Send one batch
all the questions at once
Pulled back again
each pause waits on a busy person
Work finishes once
one pause, then no more stops
- 1The late run starts before it knows what is missing.
- 2Each pause pulls a person back in, and work built on a guess may need redoing.
- 3The early run checks every gap before any work starts.
- 4One batch of questions gets answered, then the run finishes.
- 1
Check every gap first
Scan the whole task before any work starts, so the agent asks once, not three times.
- 2
Ask one clear question
Give the options and a default, so the person can answer with a single word.
- 3
Name each assumption
When the agent assumes, it says so in the summary, so a person can correct it.
- 4
Say what happens with no answer
Set a deadline and a default for cheap gaps, or a stop for costly ones.
What does a claims agent do with a missing field?
Here is a simplified gate for one claim, with no real model. Each gap gets one of three moves. The marked lines decide what happens, in code.
# A simplified claims agent: for each gap, look it up, assume it, or ask.
CASE = {"customer": "C-220", "policy_id": None, "incident_date": "2026-11-20",
"claim_amount": None, "channel": None}
RULES = {
"policy_id": {"lookup": True, "cost_if_wrong": "high"},
"claim_amount": {"lookup": False, "cost_if_wrong": "high"},
"channel": {"lookup": False, "cost_if_wrong": "low", "default": "web"},
}
def decide(field, rule):
if rule.get("lookup"):
return "LOOK UP " + field + " in the customer record"
if rule["cost_if_wrong"] == "low":
return "ASSUME " + field + " = " + rule["default"] + ", and say so"
return "ASK the customer for " + field + " before any work"
gaps = [f for f in RULES if not CASE.get(f)]
for field in gaps:
print(decide(field, RULES[field]))
print("HOLD: file nothing until the customer answers" if any(
not RULES[f].get("lookup") and RULES[f]["cost_if_wrong"] == "high"
for f in gaps) else "ACT: file the claim")Output
LOOK UP policy_id in the customer record ASK the customer for claim_amount before any work ASSUME channel = web, and say so HOLD: file nothing until the customer answers
The policy ID is found by a lookup, so the agent doesn't bother the customer. The claim amount is costly and can't be looked up, so the agent asks and holds the filing. The channel is cheap, so it takes the default and says so. Nothing is filed until the amount comes back.
How would you stop an unattended agent from waiting forever?
Say an overnight agent needs a customer's amount, and it also wants to delete a duplicate file. The Claude Agent SDK, the toolkit for running Claude as an agent in your own code, stops the run at each request. The SDK's own words: "Both trigger your canUseTool callback, which pauses execution until you return a response." The run waits until your code answers.
A question asks what to do. An approval asks whether a risky step may happen. The SDK keeps them apart: "Claude requests user input in two situations: when it needs permission to use a tool (like deleting files or running commands), and when it has clarifying questions (via the AskUserQuestion tool)." Treat them separately, so a file is never deleted on a guess.
Give each question a deadline and an owner. Say what happens on timeout: the safe default for a cheap gap, or a stop for a costly one. Anthropic's guide makes the same point: "it's also common to include stopping conditions (such as a maximum number of iterations) to maintain control."
Tip
Good answer: a deadline, a named owner, a default for cheap gaps and a stop for costly ones. Weak answer: "It will just ask again tomorrow."
What does the interviewer want to hear?
A strong answer covers
- A plain definition: a clarifying question is a stop to get a detail the agent can't find itself.
- The three tests: does it change the outcome, can the agent look it up, and is a wrong guess costly?
- Look up first, assume with a stated default when cheap, and ask only when needed.
- All the gaps in one batch, sent early, each one easy to answer, never a stream of small ones.
- What happens with no answer: a deadline, a safe default or a stop, never a silent wait.
- Clarifying questions and approvals before risky actions are two separate things.
Common traps
Trap"An agent should always ask when it is unsure."
BetterConstant asking stalls the work. Ask when a wrong guess is costly. Otherwise look it up or assume and say so.
Trap"The agent should never ask, so the user always gets a result."
BetterGuessing on a costly gap sends a wrong refund or a wrong email. Ask when the stakes justify it.
Trap"Add ask if unsure to the system prompt and it is solved."
BetterA prompt nudges the model. Put the required fields and the cost of each gap in code too.
Can you pick the right move?
Spot the right message
A refund agent stops halfway. The order matches two possible refunds, and the amount is unclear. Which message should it send?
Quick check
A claims agent finds two customer records with the same name. Which step is right?
Can you answer these from memory?
Flash cards · tap a card to flip it
What will they ask next?
Last updated on 27 November 2026
Building an agent that has to know when to stop and ask?
I design and build AI agents, including the interface and the system behind them, and I set when they ask, assume or act. Book a short call and tell me what your agent needs to do.