≈ Manual Approval Gates (CI/CD) / Maker-Checker Pattern / Two-Factor Authentication
Integrating human oversight at critical decision points to validate agent actions, provide feedback, or disambiguate requests. The agent pauses execution and requests input from a human "Tool."
Integrating human oversight at critical decision points to validate agent actions, provide feedback, or disambiguate requests. The agent pauses execution and requests input from a human "Tool."
1# Static Approval Step (YAML pipeline)2# steps:3# - name: Wait for approval4# uses: manual-approval-action5# # Blocks until button click1# The Agent proactively asks2if action.risk_level > threshold:3 # 'human_tool' pauses execution and sends a msg to Slack/UI4 user_decision = human_tool.ask(5 "I am about to delete a production database. Proceed?"6 )7 if user_decision == "Y":8 execute()9 else:10 agent.think("User rejected. Aborting task.")Traditional SWE
Manual Approval Gates
Agentic Pattern
Human-in-the-Loop
Pausing a workflow for authorization or verification.
In Agentic systems, the human is treated as a "Tool" or an Oracle. The agent generates a prompt for the human ("I plan to send this email. Is it okay?"), and the human's response is injected back into the agent's context as a tool output. The interaction is conversational.
The ultimate guardrail for high-stakes actions (writes, payments, public posts).
Introduces massive latency (human speed vs. machine speed). Use asynchronous notifications (webhooks/Slack) rather than blocking the thread.
Adapt: Design interfaces for the AI to "talk" to the human, not just the human to talk to the AI. The human is a component in the system loop.
BuildBuild an Approval Workflow. Create a system where an agent processes a refund request, but high-value actions require human approval before execution.
Integrating human oversight at critical decision points to validate agent actions, provide feedback, or disambiguate requests. The agent pauses execution and requests input from a human "Tool."
Pausing a workflow for authorization or verification. However, there is a key divergence: In Agentic systems, the human is treated as a "Tool" or an Oracle. The agent generates a prompt for the human ("I plan to send this email. Is it okay?"), and the human's response is injected back into the agent's context as a tool output. The interaction is conversational.
The ultimate guardrail for high-stakes actions (writes, payments, public posts). Introduces massive latency (human speed vs. machine speed). Use asynchronous notifications (webhooks/Slack) rather than blocking the thread.