Human-in-the-loop, or HITL, is a design where a person must review or approve certain steps before an automated system or AI agent continues. The system handles routine work, and pauses at defined points, such as before deleting data or spending money, to ask a human to confirm.
It matters because AI agents can make mistakes or be manipulated, and a person can catch problems that the system does not. It is commonly used for high-impact or irreversible actions, where an error would be costly.
It is not a perfect safeguard. People can approve without reading when requests are frequent, may not have enough context to judge a technical action and can be slowed down by the process. Approval does not help if the information shown to the person is misleading. The design has to decide which actions need a check, and over-asking can weaken the control.
To use it well, require approval only for actions that matter, show clear and specific information about what will happen and combine it with other limits, such as narrow permissions.