Skip to main content
This example shows how to implement human-in-the-loop functionality in your Agno tools.
  • Add pre-hooks to tools for user confirmation
  • Handle user input during tool execution
  • Gracefully cancel operations based on user choice

Prerequisites

  • Install dependencies: uv pip install openai httpx rich agno

Run the Example