Human-in-the-loop (HITL) is a control with its own cost and its own failure modes, so it has to be designed like any other. Four questions structure the design: where in the flow a human sits, how they participate (blocking gate, after-the-fact sampling, or exception handling), which items reach them, and whether reviewers can keep up and stay independent. Scenario questions in this area almost always hinge on one of these four being answered badly.
Where review belongs: consequence, reversibility and obligation
Two properties decide whether an action deserves a human before it takes effect: the consequence of a wrong instance (money, safety, legal standing, data exposure) and its reversibility (a draft in a queue is cheap to catch; a sent email, an executed transfer or a notified applicant is not). High consequence plus low reversibility is a blocking gate. Low consequence or easily reversed work is automated, with review moved to sampling. Two further inputs are external obligations and agent uncertainty.
- Obligations. Anthropic's Usage Policy sets extra requirements for high-risk use cases (it names legal, healthcare, insurance, finance, employment, housing, academic testing and media): when you give advice, recommendations or subjective decisions that directly affect individuals or consumers, a qualified professional in the field must review the content or decision prior to dissemination or finalization, and when outputs are presented directly to individuals or consumers you must disclose that AI is helping to produce them. Separately, the European Commission's GDPR guidance says people should not be subject to decisions based solely on automated processing that have legal or similarly significant effects, with narrow exceptions (necessity for a contract, authorisation by law with safeguards, explicit consent) and safeguards that include a right to human review and to contest. Whether a given system falls under these is a legal determination (Lesson 4.4); the architect's part is to make meaningful review a real, evidenced capability of the workflow.
- Agent blockers. Anthropic's guidance on agents describes pausing for human feedback at checkpoints or when the agent hits a blocker, with stopping conditions such as an iteration limit to keep control.
A review only counts if the reviewer is qualified to judge the specific content, has the authority to change the outcome, sees it before it takes effect, and is checking for the risk that actually applies (a fabricated citation, a biased rationale), not skimming for typos.
Gates, sampling and confidence-based routing
Approval gate. Every item is reviewed before it takes effect. Full coverage, but capacity equals volume, latency is added, and a gate on everything breeds approval fatigue. Reserve it for the high-consequence, hard-to-reverse tier, and use tiered thresholds (auto below a limit, any reviewer in the middle, a senior reviewer above) so friction tracks risk.
Sampling. A random or stratified sample of already-automated outputs is reviewed afterwards. It measures quality and detects novel error patterns, but it does not stop an individual bad output from taking effect. It suits reversible or low-stakes work, and it is the necessary complement to routing, never a substitute for a gate on irreversible actions.
Confidence-based routing. Automate what the system is sure about, send the rest to humans. Its value depends entirely on the quality of the uncertainty signal:
- A confidence figure the model writes is generated text, not a calibrated probability. It becomes usable only after you compare it with ground truth on a labelled set and derive thresholds per segment (document type and field), because the same stated score can mean different accuracy in different segments.
- Prefer behavioural and deterministic signals where you can: a schema or business-rule failure, a quoted source passage that cannot be found in the document, disagreement across repeated runs (the best-of-N technique from Anthropic's hallucination guidance), out-of-distribution input, or a high monetary value.
- Beware the aggregate trap. As a purely hypothetical illustration, a pipeline reporting high overall accuracy can still perform badly on a small segment such as handwritten or non-standard documents, because the common segment dominates the average. Validate by segment before you automate anything.
Sequence matters: measure accuracy per segment, calibrate, set thresholds, run stratified random sampling that includes the automated high-confidence stratum, and only then reduce human review for segments with consistently validated accuracy. If you only ever look at low-confidence items you are reviewing what the system already flagged and learning nothing about the errors it is confidently making.
Common exam distractor
Expect answers that sound prudent but fail on one axis: review every item (unsustainable, causes rubber-stamping); sample only for an irreversible high-consequence action (detects errors after harm); trust the raw confidence score or the aggregate accuracy figure; have another model review the first model's output and remove humans (correlated errors, and no accountable person); and review after the applicant is notified (quality assurance, not oversight). The right answer pairs a pre-effect gate for the risky tier with calibrated routing and stratified sampling for the rest.
Mechanics: pausing an agent for a human
In the Agent SDK, a canUseTool callback is invoked when nothing earlier in the permission flow has approved the call; execution stays paused until it returns, and it can stay pending indefinitely. It returns allow (optionally with modified input, so the reviewer can approve with changes) or deny with a message that Claude sees and can act on. Calls auto-approved earlier never reach it, so a must-run review belongs in a PreToolUse hook (Lesson 4.1). If the human may take longer than your process should stay alive, a PreToolUse hook can return the defer decision so the process exits and the session resumes later from its persisted state. That is the pattern for approvals that take hours, such as a manager sign-off.
Reviewer load and automation bias
A review step is only as good as the attention behind it. Do the capacity arithmetic first: items per day requiring review multiplied by realistic minutes per item must fit inside reviewer hours with headroom. If it does not, the queue grows and delays the business effect, or reviewers speed up and the gate degrades into a rubber stamp. Fixes are structural: narrow the gate to the truly high-consequence tier, add tiers, order the queue by uncertainty (highest first, not arrival order), and improve upstream accuracy so fewer items need attention.
Automation bias is the tendency to accept a confident suggestion, and fluent model output invites it. Countermeasures that work at the system level: show the evidence next to the conclusion (the source passage, the quote, a diff of what changed) rather than the conclusion alone; for a sample, capture the reviewer's own judgement before revealing the model's; seed the queue with known-bad canary items and measure how often reviewers catch them; and watch indicators such as approval rate, time per item and override rate. An approval rate drifting towards 100% with shrinking review time is a warning sign worth investigating, though not proof of failure (the model may simply be good). Feed reviewer corrections back into your evaluation set so the review effort improves the system instead of only patching outputs.
Key concept
Match the oversight mechanism to the risk. Blocking, pre-effect gates for high-consequence and hard-to-reverse actions; calibrated, per-segment confidence routing for the middle; stratified sampling that includes the automated stratum to measure and to catch new error patterns. Then protect the human step itself: capacity, evidence, canaries and metrics, or the gate becomes decoration.