# When should an AI agent ask for confirmation before acting?

Ask before anything irreversible or uncertain, and act alone only on confident steps that are easy to undo.

Verdict: Early signal, tested with LLMs.. Treat it as a hypothesis. Model: LLM · Setting: Lab or online study · 1 counted studies (https://aiuxevidence.com/how-we-rate)
One builder-run evaluation of an LLM agent, mostly with simulated users. Design guidelines are listed as related, not counted.

## Design it like this

Ask first on uncertain or costly steps; auto-act only when confident and reversible.

- Do put an explicit approval step before irreversible actions (send, pay, delete). [Our recommendation]
- Do let users review and edit the plan before the agent starts. [Our recommendation]
- Do ask one short question when the goal is unclear. [Our recommendation]
- Don't confirm tiny, instantly undoable actions like autocomplete. [Our recommendation]

## Rules for agents

Imperative rules for AI coding agents building this UI. Scoped to the studies on this page (evidence rating: Early signal).

- Put an explicit approval step before irreversible or risky actions such as sending, paying or deleting. [Our recommendation]
- When the goal is unclear, ask one short question, weighed against the cost of interrupting. [Our recommendation]
- Let users review and edit the plan before the agent starts. [Our recommendation]
- Skip confirmation for tiny, instantly undoable actions such as autocomplete. [Our recommendation]
- Make the AI easy to dismiss and easy to correct. [Our recommendation]

## What they found

### When unsure, an assistant should do less, but do it correctly

Horvitz (1999), principles [Related study, not counted]

Setup: Sets out 12 principles for mixing automation with direct manipulation, illustrated with the LookOut scheduling assistant for Microsoft Outlook.

Result: Principle 8 recommends “doing less” but doing it correctly when the system is uncertain.

Caveat: Position paper, no user study.

> “If a system is uncertain about a user’s intentions, it should be able to engage in an efficient dialog with the user, considering the costs of potentially bothering a user needlessly.” (Principle 5)

### 18 guidelines for human-AI interaction, checked against 20 AI products

Amershi et al. (2019), guidelines [Related study, not counted]

Setup: 18 design guidelines, refined over several rounds.

Result: In a study, 49 design practitioners checked the guidelines against 20 popular AI-infused products.

Caveat: Guidelines, not an outcome experiment.

> “Support efficient dismissal. Make it easy to dismiss or ignore undesired AI system services. … Support efficient correction. Make it easy to edit, refine, or recover when the AI system is wrong.” (Guidelines G8 and G9)

### With a person able to step in, an agent completed far more tasks

Mozannar et al. (2025), system evaluation [Preprint]

Setup: A GPT-4o web agent with co-planning, action approval for irreversible steps, and handover to the user, run on 162 GAIA validation tasks. A qualitative study with 12 users explored the features.

Result: A simulated user with side information raised task completion from 30.3% (autonomous) to **51.9%**, while the agent asked for help in only 10% of tasks.

Caveat: The user was simulated, and this is a system paper by its builders, not an independent test.

> “Magentic-UI implements an action guard system to ensure irreversible or potentially harmful agent actions are reviewed by the human user.” (Figure 8 caption)

## Trade-offs and when it doesn't apply

- Asking too often turns into nagging; every source frames interruption as a cost. [Our recommendation]
- For tiny, instantly undoable actions (e.g. autocomplete), asking costs more than an occasional wrong guess. [Our recommendation]
- Magentic-UI's gains came mostly from simulated users, so real-user benefit is less certain.

## What it looks like

- Do: An agent drafts the email and shows “Send to 3 new recipients? Approve / Edit”, but files newsletters on its own with Undo.
- Don't: The agent sends, pays or deletes with no approval step and no undo.

## How to check it in your product

Log how often users undo or override auto-actions. A high undo rate on a step means it should ask first; near-zero confirms on a prompt means it could auto-act.

## Open questions

- Where should the “confident enough” threshold sit for different action types, and can it be learned per user?
- Do approval prompts keep working once users have clicked “Approve” a hundred times?
- How should an agent explain what it's about to do so the approval is informed, not a rubber stamp?

## In the wild

Shipped products that use this pattern. Illustrations only: they weren't part of the studies and don't count toward the rating.

- Claude Code: In its default mode, the coding agent asks for approval before running shell commands or editing files, while file reads need no approval. Source: https://code.claude.com/docs/en/permissions (checked 2026-10-19)
- Gemini tasks: Gemini asks for review and confirmation before sending communications, modifying data, making purchases or submitting web forms. Source: https://support.google.com/gemini/answer/16596215?hl=en (checked 2026-10-19)

## FAQ

### Which agent actions need human approval?

Irreversible or potentially harmful ones, such as sending, paying or deleting. Magentic-UI routes these through an action guard so a person reviews them first.

### Does keeping a human in the loop improve agent results?

In the Magentic-UI evaluation, a simulated user with side information raised task completion on 162 GAIA tasks from 30.3% to 51.9%, and the agent asked for help in only 10% of tasks. This was a builder-run test with simulated users.

## Related questions

- [Should users be able to edit AI-generated output?](https://aiuxevidence.com/e/let-users-edit)
- [How do you stop users from blindly trusting AI answers?](https://aiuxevidence.com/e/make-users-think)
- [Do inline AI suggestions like Copilot cost users time?](https://aiuxevidence.com/e/inline-suggestions)
- [How should users and AI agents share control of a task?](https://aiuxevidence.com/e/agent-handoff)

## Sources

1. Eric Horvitz (1999). Principles of mixed-initiative user interfaces. CHI 1999. Related study, not counted. https://doi.org/10.1145/302979.303030
2. Saleema Amershi, Dan Weld, Mihaela Vorvoreanu, et al. (2019). Guidelines for Human-AI Interaction. CHI 2019. Related study, not counted. https://doi.org/10.1145/3290605.3300233
3. Hussein Mozannar, Gagan Bansal, Cheng Tan, Adam Fourney, et al. (2025). Magentic-UI: Towards Human-in-the-loop Agentic Systems. arXiv preprint 2507.22358 (Microsoft Research, 2025). Preprint. https://arxiv.org/abs/2507.22358

Canonical: https://aiuxevidence.com/e/ask-before-acting
