agentic-aiStable

Haystack

Modular AI orchestration framework for production RAG and agentic pipelines

View on GitHub

What it solves

Building production RAG and agent pipelines where every stage is independently testable and replaceable: without rewriting the plumbing every time you swap a model or retriever.

Overview

Haystack, maintained by deepset, is a component-graph framework for building production AI pipelines. Every stage (document loading, chunking, embedding, retrieval, reranking, generation) is a typed component that you wire into a directed graph. Components are independently testable and swappable; the same pipeline can run a different retriever or LLM without touching the surrounding code. Supports tool-calling agents in addition to RAG.

Key facts

Language
Python
License
Apache 2.0
Maturity
Stable
Maintainer
deepset-ai
Reviewed
2026-06-11

Where to start

The generators directory shows how Haystack wraps different LLM providers behind a common interface, understanding this pattern explains how the whole component system works.

haystack/components/generators/

Technologies

haystackdeepsetpythonrag

More in this domain