Learn AI

AI Concepts Workshop

© 2026 Cloudy Software Ltd

Human-in-the-Loop (HITL)

The ultimate safety pattern: ensuring agentic actions always have human oversight.

Human-in-the-Loop (HITL)

Ensuring safety through human oversight

Agentic Tool
Execution Paused
Human Reviewer

Human Gates

Builders never give agents direct access to "side-effect" tools (sending money, deleting data, emailing clients) without a Human Gate.

Strategic HITL

HITL is not just about safety; it's about strategic control. Use it to guide agents through complex, high-stakes decisions, ensuring alignment with business goals and values.

State Persistence

To implement HITL, you must save the agent's State (memory + plan) in a database, pause the thread, and resume it once the user clicks "Approve".