An approval gate pauses an agent’s task loop when it produces a result, presents that result to a human, and uses approval or rejection to decide what happens next. It is useful when an incorrect result could be costly. section 8.0
With approval enabled, the result follows this cycle:
- The agent requests approval and presents its proposed result to the operator. section 8.3.1
- On rejection, the operator provides feedback; the handler turns it into a rejected-result step and resumes the processing loop. section 8.3.1
Revise a Hailstone sequence result
An agent computes the sequence from 5 and submits it for approval. The operator rejects the result with a request to omit its first sentence; the agent retries with that feedback. section 8.3.1
Figure 8.9 The sequence of interactions between a human operator, LLMAgent, and the TaskHandler it dispatches for carrying out the Result-Approval HITL pattern

Shows the interactions among the operator, agent, and task handler during approval. section 8.3.1

