Human in the loop
In 2025 an AI coding agent deleted a live production database during a code freeze, after being told not to change anything. A prompt is a request, not a lock. Human-in-the-loop design puts real gates where they matter, asks rarely enough that people still read, and lets the agent hand over when it's out of its depth.
In this lesson you'll learn to
- Decide which agent actions need a person's approval, based on reversibility and blast radius.
- Design approval requests that people actually read, and avoid approval fatigue.
- Design escalation and handover from agent to person, with the context the person needs.
- Enforce human checkpoints in code and infrastructure rather than in prompts, with interrupts, resumable state and audit logs.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.