← All terms

Human in the Loop

A design pattern where a person reviews or approves an AI agent's actions at defined points.

What Human in the Loop Means

Human in the loop is a design pattern in which a person reviews, approves, or otherwise intervenes at defined points within an AI agent's process, rather than letting the agent act entirely on its own. It is a way of combining agent autonomy with human oversight, so a person remains part of the decision path for actions that carry meaningful risk or require judgment the agent may not reliably have.

Where Humans Fit Into an Agent Process

  • Pre-approval: the agent proposes an action, such as deleting a file or sending an email, and waits for a person to confirm it before proceeding.
  • Checkpoint review: the agent completes a stage of a longer task and pauses for feedback before continuing to the next stage.
  • Escalation: the agent hands off to a person when it encounters a situation outside its defined boundaries or confidence level.
  • Post-hoc review: the agent acts autonomously, but its actions and output are logged for a person to review or audit afterward.

Why It Matters

Fully autonomous agents can act quickly, but they can also make mistakes, misinterpret ambiguous instructions, or take actions with consequences that are difficult to reverse. Human in the loop reduces this risk by inserting a check at the points where an error would matter most, while still letting the agent handle the bulk of the work on its own. The pattern is especially common for actions such as making payments, deploying code to production, sending external communications, or modifying data outside the agent's own workspace.

Human in the Loop vs Fully Autonomous

A fully autonomous agent executes its chosen actions without waiting for approval, only reporting results after the fact, or when it is blocked. A human-in-the-loop agent pauses at one or more points to ask for input or confirmation. Many systems support both modes and let the level of oversight be configured per task, per tool, or per risk level, rather than applying the same policy to everything the agent does. For example, an agent might be allowed to read files and run tests autonomously, while requiring explicit approval before it can push code or spend money.

Related Concepts

Human in the loop is closely tied to the broader question of agent autonomy and to practical safeguards such as sandboxing, permission scoping, and audit logging, all of which reduce the impact of an agent action even when no human reviews it in real time.

Get started

Deploy your fleet.

Put a fleet of sandboxed agents to work on your own infrastructure, provisioned in seconds and watched live from one console.

Get started

Admin-provisioned · Self-host in one command · Your data never leaves your VM