Glossary

Human-in-the-loop

Human-in-the-loop (HITL) is a design in which a person reviews, approves, corrects or takes over an automated or AI-driven process at defined points, instead of letting the system act alone. It puts human judgement where a mistake would be costly, irreversible or hard to explain.

Book a workflow review

Three levels of oversight

PatternWhat the person doesSuits
In the loopApproves or edits before the action happensPayments, refunds above a limit, messages that commit the business
On the loopWatches a queue or dashboard and can stop or reverse actionsHigh-volume steps that are low-risk and reversible
Out of the loopReviews samples after the factInternal drafts and tasks where a mistake costs little

Where to put the approval

Score each step with four questions: can it be undone, does it move money, does a customer see it, and is it regulated? A yes to any of them is a reason for review. Add a second trigger for doubt: when a validation check fails, a required field is missing, extracted amounts disagree or the case matches no known pattern, it goes to a person. Our article on when AI needs human approval sets out a fuller risk matrix.

Designing a review people do well

  • Show the evidence next to the proposal: the source document, what will change and why.
  • Make approve, edit and reject one action each, and record who decided what, for the audit trail.
  • Enforce the approval in code, so an agent cannot skip it whatever its instructions say.
  • Give the queue an owner and a response time, or approvals pile up and people work around them.
  • Feed corrections back into the evaluation set, so the system improves where people disagree with it.

Common mistakes

  • Rubber-stamping. When the system is usually right, reviewers start approving without reading. Vary the cases shown, watch how long approvals take and spot-check a sample.
  • Approval everywhere. Too many prompts cause fatigue; keep them for the steps that need them.
  • Reviewers without authority or context, who can only say yes.

Related terms

Oversight is a core part of AI governance, and it limits the damage of prompt injection. Cases that automation cannot handle need the same design care: see handling automation exceptions.

A small first step

A 30-minute workflow review

Pick one process that costs your team time. We look at it with you and tell you honestly whether automation or an AI agent pays, what it would take, and what to measure first.

Message us on WhatsApp

Keep exploring

Ready to build something secure?

Tell us about your product. We will reply with a clear plan.

Start a project

We would like to use Microsoft Clarity to see how visitors use the site, so we can improve it. It sets cookies and is off unless you accept. Cookie policy