Human-in-the-Loop for AI Agents: When to Require Approval