Skip to main content
ExampleDescription
Agentic User InputHuman-in-the-Loop: Allowing users to provide input externally.
Confirmation AdvancedHuman-in-the-Loop: Adding User Confirmation to Tool Calls.
Confirmation RequiredHuman-in-the-Loop (HITL): Adding User Confirmation to Tool Calls.
Confirmation Required MCP ToolkitHuman-in-the-Loop: Adding User Confirmation to Tool Calls with MCP Servers.
Confirmation ToolkitHuman-in-the-Loop: Adding User Confirmation to Tool Calls.
External Tool ExecutionHuman-in-the-Loop: Execute a tool call outside of the agent.
User Input RequiredHuman-in-the-Loop: Allowing users to provide input externally.
Approval AsyncAsync approval-backed HITL: @approval with async agent run.
Approval BasicApproval-backed HITL: @approval + @tool(requires_confirmation=True) with persistent DB record.
Approval External ExecutionApproval + external execution HITL: @approval + @tool(external_execution=True).
Approval List And ResolveFull approval lifecycle: pause, list, filter, resolve, delete.
Approval TeamTeam-level approval: member agent tool with @approval.
Approval User InputApproval + user input HITL: @approval + @tool(requires_user_input=True).
Audit Approval AsyncAsync audit approval: @approval(type="audit") + @tool(requires_confirmation=True) with async.
Audit Approval ConfirmationAudit approval with confirmation: @approval(type="audit") + @tool(requires_confirmation=True).
Audit Approval ExternalAudit approval with external execution: @approval(type="audit") + @tool(external_execution=True).
Audit Approval OverviewOverview: @approval vs @approval(type="audit") in the same agent.
Audit Approval User InputAudit approval with user input: @approval(type="audit") + @tool(requires_user_input=True).