Human in the Loop
Puerta de aprobación
Escrito por Darjus Kazakevic · revisado el
Some actions should never be one model call away.
An approval gate pauses the agent before an important action and asks a person to confirm it. It is simple, and it often decides whether a system ships at all. It lets a company accept automation without accepting unsupervised automation.
A gate is not a temporary fix for a weak model. Some actions should always need a person: moving money, deleting production data, emailing every customer. The reason is the cost of being wrong, and better models do not change that cost. So classify actions by their damage, not by the model's confidence.
En esencia — Decide what needs approval by what a wrong action costs, not by how confident the model sounds. The two are unrelated.
Cuándo recurrir a él
Recurre a él cuando
- The action cannot be undone: money moved, data deleted, a message sent
- A mistake would be public before you could fix it
- A rule or regulation requires a named person to approve
Reconsidéralo cuando
- The action is cheap and reversible; gating it trains people to click
- Volume is so high that review becomes a formality
- A fixed rule could decide it — write the rule instead
The parts
- The risk class (Blast radius)
- Which actions need a person, decided in advance by their effect. Usually three levels: cheap and reversible (never gate), reversible but costly (gate above a threshold), irreversible or public (always gate).
- The pause
- The loop stops with its state saved. Approvals take minutes or days, so the pause must survive restarts. A gate that needs the process to stay alive is a gate people turn off.
- The request
- What the reviewer sees: the proposed action, its arguments in plain words, what it affects, what it costs, and a short reason. Not the transcript; nobody reads forty turns of tool output.
- The record
- Who approved what, when, on what basis, and what happened next. It makes automation defensible later, and teams wish they had built it the first time something goes wrong.
Reglas de diseño
- Classify by damage, not by confidence
- Ask what happens if the action is wrong and how hard it is to undo. Model confidence is poorly calibrated and shifts with every upgrade. The cost of a mistake is a stable rule.
- Make the pause durable, with an expiry
- Save the transcript and the pending call, and resume from them. Approvals take minutes or days. Expire unanswered requests, so pending work does not hold locks forever.
- Show the action, not the transcript
- Show the reviewer the proposed call in plain words, what it affects and what it costs. Forty turns of tool output guarantee approval without reading. Keep the full trail one click away.
- Keep approvals rare enough to read
- A gate that fires forty times a day gets clicked, not read. Raise the threshold, or approve a whole plan at once. Feed each rejection back to the agent and into your evals.
Errores habituales
- Gating on model confidence, which is neither calibrated nor stable.
- An in-memory pause, so the approval must arrive before a request times out.
- So many gates that people approve without reading.
- Removing gates once the system “feels reliable”.