Glossary
Haystack agents
Agents in Haystack, deepset's open-source framework for agents, RAG and search: pipelines connect components in a graph with loops and branches, and the Agent component runs the whole tool-calling loop until a stop condition is met.
Tools can be Python functions, other components, MCP tools or whole agents. Haystack 3.0, released on 2026-07-20, added hooks such as before_tool that can ask a person before a sensitive action, and made loading pipelines from YAML allowlist-gated by default, so custom code is not loaded without permission.