Skip to main content
Human-in-the-loop is not only for failures. Use it whenever you want a human to handle a sensitive or complex step, then let the agent continue. Use cases:
  • Human enters payment info or approves a transaction, agent handles the rest
  • Human navigates a complex auth flow, then hands back to agent
  • Human reviews what the agent did before the agent continues
  • QA workflow: agent does work, human spot-checks, agent proceeds

Flow

  1. Create a session with keep_alive=True so it stays alive between tasks
  2. Run an agent task
  3. Human opens the liveUrl and does their part
  4. Send a new follow-up task on the same session
The liveUrl gives the human full mouse and keyboard control. The agent sees whatever state the human leaves the browser in when the next task starts.