Core Concepts

What Is Human-in-the-Loop?

A design pattern where an AI agent pauses before taking risky actions and waits for a human to approve or reject the action.

In Plain English

When an AI agent runs autonomously, it can take actions with real consequences — sending emails, modifying databases, processing payments. Human-in-the-loop (HITL) adds a checkpoint: the agent proposes an action, a human reviews it, and only then does the action execute.

This is not about making AI less capable. It is about making AI trustworthy. The agent still does 95% of the work autonomously. The human only steps in for the 5% that carries real risk.

In OpenClaw, HITL is implemented through approval workflows. You define which actions require approval. The agent handles everything else on its own.

Why It Matters for OpenClaw

Without HITL, an AI agent is one hallucination away from sending the wrong email, deleting the wrong file, or charging the wrong amount. HITL is the difference between "AI that helps" and "AI that causes incidents." It is also the #1 requirement for enterprise adoption — no security team will approve an autonomous agent without human approval gates.

How Clawctl Helps

Clawctl blocks 70+ risky actions by default and routes them for human approval. You configure which actions need approval and which can run autonomously. Every approval decision is logged in the audit trail.

Try Clawctl — 60 Second Deploy

Common Questions

Does HITL slow down the agent?

Only for risky actions. Routine tasks run instantly. Approvals typically add 30 seconds to a few minutes depending on how fast you respond.

Can I auto-approve certain actions?

Yes. Clawctl supports "allow this forever" rules for trusted action patterns.

What happens if nobody approves?

Approvals expire after 24 hours by default. The agent moves on or notifies you of the timeout.