- Validating sensitive operations
- Reviewing tool calls before execution
- Gathering user input for decision-making
- Managing external tool execution
Types of Human-in-the-Loop
Agno supports four main types of human-in-the-loop flows:- User Confirmation: Require explicit user approval before executing tool calls
- User Input: Gather specific information from users during execution
- Dynamic User Input: Have the agent collect user input as it needs it
- External Tool Execution: Execute tools outside of the agent’s control
Currently Agno only supports Human-in flows for
Agent. Team and Workflow will be supported in the near future!Resuming Agent Execution
Human-in-the-loop flows interrupt the agent’s execution and require human oversight. The run can then be continued by calling thecontinue_run method.
For example:
continue_run method continues with the state of the agent at the time of the pause. You can also pass the RunOutput of a specific run to the continue_run method, or pass the run_id and list of updated tools in the updated_tools parameter.
Learn More
User Confirmation
Require explicit user approval before executing tool calls
User Input
Gather specific information from users during execution
Dynamic User Input
Let agents request user input dynamically when needed
External Tool Execution
Execute tools outside of the agent’s control