Haystack

Open-source framework for building production-grade retrieval-augmented generation and search pipelines

Visit Haystack →
AI & Agents

Haystack, built by deepset, is a framework specifically aimed at retrieval-augmented generation and semantic search pipelines — connecting document stores, retrievers, and LLMs into a pipeline that can answer questions grounded in a specific knowledge base rather than the model’s general training data.

Compared to more general-purpose agent frameworks, Haystack leans into production concerns from the start: pipeline components are composable and swappable, evaluation tooling is built in, and it’s designed to be deployed as a real backend service rather than just prototyped in a notebook.

The Python package is haystack-ai, at version 3.5.0 (10 November 2026), and it requires Python 3.11 or later. Evaluation components such as FaithfulnessEvaluator and ContextRelevanceEvaluator ship in the package, and it includes an Agent component. See Haystack vs LangChain for how it compares.