LLM framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data.
Project description
Haystack is an open-source AI orchestration framework for building production-ready LLM applications in Python.
Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Build scalable RAG systems, multimodal applications, semantic search, question answering, and autonomous agents, all in a transparent architecture that lets you experiment, customize deeply, and deploy with confidence.
Table of Contents
- Installation
- Documentation
- Features
- Haystack Enterprise: Support & Platform
- Telemetry
- 🖖 Community
- Contributing to Haystack
- Organizations using Haystack
Installation
The simplest way to get Haystack is via pip:
pip install haystack-ai
Install nightly pre-releases to try the newest features:
pip install --pre haystack-ai
Haystack supports multiple installation methods, including Docker images. For a comprehensive guide, please refer to the documentation.
Documentation
If you're new to the project, check out "What is Haystack?" then go through the "Get Started Guide" and build your first LLM application in a matter of minutes. Keep learning with the tutorials. For more advanced use cases, or just to get some inspiration, you can browse our Haystack recipes in the Cookbook.
At any given point, hit the documentation to learn more about Haystack, what it can do for you, and the technology behind.
Features
Built for context engineering
Design flexible systems with explicit control over how information is retrieved, ranked, filtered, combined, structured, and routed before it reaches the model. Define pipelines and agent workflows where retrieval, memory, tools, and generation are transparent and traceable.
Model- and vendor-agnostic
Integrate with OpenAI, Mistral, Anthropic, Cohere, Hugging Face, Azure OpenAI, AWS Bedrock, local models, and many others. Swap models or infrastructure components without rewriting your system.
Modular and customizable
Use built-in components for retrieval, indexing, tool calling, memory, and evaluation, or create your own. Add loops, branches, and conditional logic to precisely control how context moves through your pipelines and agent workflows.
Extensible ecosystem
Build and share custom components through a consistent interface that makes it easy for the community and third parties to extend Haystack and contribute to an open ecosystem.
[!TIP]
Would you like to deploy and serve Haystack pipelines as REST APIs or MCP servers? Hayhooks provides a simple way for you to wrap pipelines and agents with custom logic and expose them through HTTP endpoints or MCP. It also supports OpenAI-compatible chat completion endpoints and works with chat UIs like open-webui.
Haystack Enterprise: Support & Platform
Get expert support from the Haystack team, build faster with enterprise-grade templates, and scale securely with deployment guides for cloud and on-prem environments with Haystack Enterprise Starter. Read more about it in the announcement post.
👉 Get Haystack Enterprise Starter
Need a managed production setup for Haystack? The Haystack Enterprise Platform helps you build, test, deploy and operate Haystack pipelines with built-in observability, collaboration, governance, and access controls. It’s available as a managed cloud service or as a self-hosted solution.
👉 Learn more about Haystack Enterprise Platform or try it free
Telemetry
Haystack collects anonymous usage statistics of pipeline components. We receive an event every time these components are initialized. This way, we know which components are most relevant to our community.
Read more about telemetry in Haystack or how you can opt out in Haystack docs.
🖖 Community
If you have a feature request or a bug report, feel free to open an issue in GitHub. We regularly check these, so you can expect a quick response. If you'd like to discuss a topic or get more general advice on how to make Haystack work for your project, you can start a thread in Github Discussions or our Discord channel. We also check 𝕏 (Twitter) and Stack Overflow.
Contributing to Haystack
We are very open to the community's contributions - be it a quick fix of a typo, or a completely new feature! You don't need to be a Haystack expert to provide meaningful improvements. To learn how to get started, check out our Contributor Guidelines first.
There are several ways you can contribute to Haystack:
- Contribute to the main Haystack project
- Contribute an integration on haystack-core-integrations
- Contribute to the documentation in haystack/docs-website
[!TIP] 👉 Check out the full list of issues that are open to contributions
Organizations using Haystack
Haystack is used by thousands of teams building production AI systems across industries, including:
- Technology & AI Infrastructure: Apple, Meta, Databricks, NVIDIA, Intel
- Public Sector AI Initiatives: European Commission, German Federal Ministry of Research, Technology, and Space (BMFTR), PD, Baden-Württemberg State
- Enterprise & Industrial AI Applications: Airbus, Lufthansa Industry Solutions, Infineon, LEGO, Comcast, Accenture, TELUS Agriculture & Consumer Goods
- Knowledge & Content Platforms: Netflix, ZEIT Online, Rakuten, Oxford University Press, Manz, YPulse
Are you also using Haystack? Open a PR or tell us your story
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file haystack_ai-2.28.0.dev20260417001207.tar.gz.
File metadata
- Download URL: haystack_ai-2.28.0.dev20260417001207.tar.gz
- Upload date:
- Size: 484.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03a4ba233f9f6c3946daa25476132c57e053297ee2740c1ddcde15879cab1efe
|
|
| MD5 |
4ca3dbabf17198792f853d40e18b841a
|
|
| BLAKE2b-256 |
32016a873a1ed2bf08f889c667074d1a650f16280bd0220421f96313938448d7
|
Provenance
The following attestation bundles were made for haystack_ai-2.28.0.dev20260417001207.tar.gz:
Publisher:
nightly_testpypi_release.yml on deepset-ai/haystack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
haystack_ai-2.28.0.dev20260417001207.tar.gz -
Subject digest:
03a4ba233f9f6c3946daa25476132c57e053297ee2740c1ddcde15879cab1efe - Sigstore transparency entry: 1323103969
- Sigstore integration time:
-
Permalink:
deepset-ai/haystack@8dd36b366a5974c41eed4bc9be937fa7d2bcd9b9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/deepset-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
nightly_testpypi_release.yml@8dd36b366a5974c41eed4bc9be937fa7d2bcd9b9 -
Trigger Event:
schedule
-
Statement type:
File details
Details for the file haystack_ai-2.28.0.dev20260417001207-py3-none-any.whl.
File metadata
- Download URL: haystack_ai-2.28.0.dev20260417001207-py3-none-any.whl
- Upload date:
- Size: 701.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30db283c4f513127b6546ee8faeaf119b9e3d5d779d2f53516ed5f94c99ead4b
|
|
| MD5 |
0bf4f7d924ff6c51b1d9167103310f51
|
|
| BLAKE2b-256 |
e268abef4312e096ba7690d797f7c8db3272869ffac8d8ae005ec0ec1afe0e82
|
Provenance
The following attestation bundles were made for haystack_ai-2.28.0.dev20260417001207-py3-none-any.whl:
Publisher:
nightly_testpypi_release.yml on deepset-ai/haystack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
haystack_ai-2.28.0.dev20260417001207-py3-none-any.whl -
Subject digest:
30db283c4f513127b6546ee8faeaf119b9e3d5d779d2f53516ed5f94c99ead4b - Sigstore transparency entry: 1323104149
- Sigstore integration time:
-
Permalink:
deepset-ai/haystack@8dd36b366a5974c41eed4bc9be937fa7d2bcd9b9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/deepset-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
nightly_testpypi_release.yml@8dd36b366a5974c41eed4bc9be937fa7d2bcd9b9 -
Trigger Event:
schedule
-
Statement type: