📖 Step 9: AI/LLM#257 / 291
Human in the Loop
Human in the Loop (HITL)
📖One-line summary
A design that intentionally inserts human approval or correction at risky or critical steps.
💡Easy explanation
Not handing everything to AI — at risky steps a human has to click "OK" before things continue. The seatbelt of automation.
✨Example
Asks for human approval at risky steps
Agent: About to email 100 customers.
⚡Vibe coding prompt examples
>_
I want a human-approval step in an email-sending agent. Design the UI and backend flow together.
>_
Implement a Slack approve/reject button workflow that gates an agent's next step.
>_
Build a decision matrix for where to insert humans, classified by risk, cost, and irreversibility.
Try these prompts in your AI coding assistant!