Skip to content
AgentsIndex

Haystack

Apache-2.0 Python framework from deepset for composing agents and RAG as modular, serializable pipelines.

Best for
AI developers who need transparent, modular pipelines for agents and RAG.
GitHub stars
26.7k

What we checked

Pages last read
Facts checked
5 factsFrom 4 sources
AI answers
Not named in any of 62Buyer questions, our November check

At a glance

Tags
Open source, Self-hosted

Company

Founded
2018

Code

Last push
15 October 2026

For developers

SDK
Python
Runs
Cloud, Self-hosted, On-prem
Works with
OpenAI, Anthropic, Mistral, Hugging Face, Weaviate, Pinecone and 24 more

What is Haystack?

Haystack is an open-source AI orchestration framework for developers who need explicit control over retrieval, routing, memory, tools, evaluation, and generation in modular pipelines. It supports advanced RAG, multimodal apps, and agent workflows, with interchangeable components and inspectable context flow.

Haystack integrates with OpenAI, Anthropic, Mistral, Hugging Face, Weaviate, Pinecone, and Elasticsearch, and is used by Zeit Online, Lufthansa Industry Solutions, NVIDIA, Airbus, AWS, and Comcast.

Actively maintained

The GitHub repo (deepset-ai/haystack) is not archived, carries an Apache-2.0 license, and is pushed to day to day (api.github.com/repos/deepset-ai/haystack). The current release is 3.3.0, published 1 October 2026, which bumped a transitive dependency (anyio) to patch CVE-2026-63374 and sped up SentenceWindowRetriever; the project has shipped a 3.x point release roughly every two to three weeks through 2026 (github.com/deepset-ai/haystack/releases/tag/v3.3.0).

Pricing: the framework is free, support is quoted

Haystack itself installs free via pip install haystack-ai — Apache-2.0, no usage cap, no paywalled components (pypi.org/project/haystack-ai). deepset, the company behind it, sells two paid tiers on top: Haystack Enterprise Starter (private support, deployment templates, roughly 4 hours of consulting per the vendor) and the Haystack Enterprise Platform (managed or self-hosted orchestration with access controls and auditability). Neither publishes a number; both routes go through "Book a Demo" / "Talk to us" (deepset.ai/products-and-services/haystack-enterprise-starter). Budget a sales conversation for anything beyond the open-source framework.

189 integrations, and a separate project for shipping pipelines

The integrations catalog lists 189 entries spanning model providers (OpenAI, Anthropic, Mistral, Bedrock, watsonx), document/vector stores (Weaviate, Pinecone, Elasticsearch, Qdrant, pgvector, and more), and monitoring tools (Langfuse, OpenTelemetry, Arize) (haystack.deepset.ai/integrations). Turning a pipeline into a running service is handled by a separate open-source project, Hayhooks (Apache-2.0, 153 GitHub stars), which wraps a pipeline in typed REST endpoints, an OpenAI-compatible chat-completions backend, an MCP server, and durable, Redis-checkpointed executions that survive a restart (github.com/deepset-ai/hayhooks). That split — orchestration in Haystack, serving in Hayhooks — is the shape to expect rather than a single built-in deploy command.

Security model draws the line at the framework boundary

Haystack's published security policy explicitly scopes three classes of finding out of its vulnerability program: loading a pipeline YAML or resuming a PipelineSnapshot from an untrusted source (arbitrary code execution by design, since pipelines can import arbitrary components), SSRF through URL-fetching components like LinkContentFetcher (no built-in host allow/deny list), and prompt injection via retrieved documents (github.com/deepset-ai/haystack/security/policy). deepset's stated position is that these are the application's and the network layer's responsibility, not the framework's — a defensible and fairly common stance for a library, but it means a team feeding untrusted documents or user-supplied pipeline definitions into Haystack needs to build its own input validation, egress controls, and prompt-injection defences rather than relying on the framework to supply them. Separately, Haystack collects anonymized usage telemetry by default (component types, OS, Python version — not file paths, queries, or document content); it's disabled with HAYSTACK_TELEMETRY_ENABLED=False (docs.haystack.deepset.ai/docs/telemetry).

Who the vendor names as using it

deepset's own GitHub README and site name NVIDIA, Airbus, Lufthansa Industry Solutions, Comcast, Accenture, TELUS Agriculture & Consumer Goods, Zeit Online, Apple, Meta, Databricks, Intel, the European Commission, and Germany's BMFTR research ministry as organizations using Haystack, several with published case studies (github.com/deepset-ai/haystack). These are vendor-stated and not independently corroborated here, though several (Airbus, Zeit Online, Lufthansa) link to case-study pages on deepset's own domain rather than being bare logo claims.

Haystack price and terms

Terms

Free plan
YesYesThe open-source framework is free with no usage limits from deepset
The terms in full

you pay your own model and infrastructure costs. The managed Haystack Enterprise Platform separately offers a free trial.

What needs a higher plan

Haystack Enterprise Support
What the price counts

For AI agents

MCP server
Yes
API
Yes

Developer docs

Where these prices come from

haystack.deepset.ai, checked

All plans and limits

PlanPriceMain limits
HaystackFreeNone stated

Read from haystack.deepset.ai.

What we checked on Haystack

YesPartlyNo

What it costs to startYes

What the price counts

The framework itself costs nothing; the paid offerings, Haystack Enterprise support and the Enterprise Platform, are priced on a quote that deepset says depends on company size, with no rate card published.

Flexible pricing based on company size

haystack.deepset.aiChecked

What it costs to startYes

Free tier

The whole framework is free and open source, installed with pip without any sales call, signup or vendor account.

Open Source AI framework for building production-ready, LLM-powered agents and applications, on your own or with Community support.

haystack.deepset.aiChecked

How you build with itYes

Public API

Haystack is itself a Python library, and Hayhooks serves any pipeline or agent as REST endpoints, including OpenAI-compatible chat endpoints, for use from your own stack.

Expose Haystack pipelines as HTTP endpoints, including OpenAI-compatible chat endpoints,

docs.haystack.deepset.ai/docs/hayhooksChecked

How you build with itYes

MCP server

Through the optional hayhooks[mcp] extra, deployed pipelines and agents are listed as MCP tools other agents can call; Haystack agents can also consume MCP servers via mcp-haystack.

Hayhooks supports the Model Context Protocol (MCP) and can act as an MCP Server. It automatically lists your deployed pipelines and agents as MCP…

docs.haystack.deepset.ai/docs/hayhooksChecked

How you build with itYes

Open source

The full framework source is public on GitHub and the vendor describes Haystack as open source throughout its documentation.

Haystack is an open-source AI orchestration framework for building production-ready LLM applications in Python.

github.com/deepset-ai/haystackChecked

Haystack alternatives

Questions about Haystack

How much does Haystack cost?
Haystack is free to use. From haystack.deepset.ai, checked 7 November 2026.
Does Haystack have an API or an MCP server?
It has an API. It has an MCP server.
Is Haystack open source, and can you host it yourself?
It is open source. You can host it yourself.
What have we checked on Haystack?
5 facts, under these headings: What it costs to start, how you build with it.
How do we check Haystack?
We hold 5 facts on Haystack, quoted from 4 pages. Facts and price last checked 7 November 2026.

How we check every listing

Sources and changes

Last changed

Similar to Haystack

From our research

All research

Is this yours?

Claim it free, then see who reads this page and carry the verified owner mark. You confirm it with an email at haystack.deepset.ai.

Report an error if a fact is wrong.