Agent
OpenAIChatGenerator
This tutorial introduces how to use confirmation strategies to create human-in-the-loop interactions in Haystack’s Agent
component.
Why is this useful? Imagine an AI agent that can access your bank account, send emails, or make purchases. You probably want human approval before it executes sensitive operations. Confirmation strategies let you define exactly when the agent should ask for permission.