Agentscore
Human-in-the-loop
Pause for a person before irreversible, expensive or uncertain actions.
What it is and why it exists
Approval gates (refunds over $X, sending email, deleting data), review queues for low-confidence outputs, and escalation paths. The run must be able to pause for minutes or days and resume — which makes durable state a requirement, not a nice-to-have.
Quick prototype
input('Approve? y/n').
In production, at scale
Approvals as workflow signals with timeouts and defaults, the exact proposed action shown (not a summary), per-action policies, audit records of who approved what, and metrics on approval rates to tune thresholds.
Vendors and tools
| LangGraph interrupt() | Pause a graph for human input and resume |
|---|---|
| Temporal signals | Durable waits for external events |
| HumanLayer | Approval tooling for agents |
On AWS: Step Functions task tokens (waitForTaskToken) for human approval steps; Bedrock Agents user confirmation for actions.
How it fails
- Approval fatigue: people click yes to everything
- Approving a summary that hides the real action
- The process dies while waiting and loses state
What the interviewer asks next
How do you avoid approval fatigue?
Only gate actions that are irreversible or above a risk threshold, show the concrete action and its impact, and auto-approve low-risk categories you’ve measured.