haystack-ai
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.
Decision gist · record as of 2026-08-14
Yes. Haystack is a mature, actively maintained framework (Apache-2.0, production-stable status, 26210 GitHub stars, OpenSSF Best Practices certified) with low install friction and no known vulnerabilities. It is well-suited for anyone building production LLM applications who needs modular, vendor-agnostic orchestration with explicit control over retrieval and generation.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Some components may require additional dependencies like openai for provider integration.
- Low install friction with a pure-Python wheel distribution.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions. Suitable for proprietary applications.
last release 2026-07-20 (25 days) · last repo commit 2026-08-14 · 26,210 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,059,625 downloads/mo, #4,422 on PyPI
Alternatives
Verify before relying
pip install haystack-ai
from haystack import Pipeline
from haystack.components.retrievers.in_memory import InMemoryBM25Retriever
pipeline = Pipeline()
pipeline.add_component("retriever", InMemoryBM25Retriever())- Whether all runtime dependencies are required for basic usage or only for specific integrations
- Performance characteristics and scalability limits for production deployments
- Specific vector database and model provider integrations available beyond those listed in dependencies
What it is and what it does
Haystack is a framework for composing LLM applications as explicit, transparent pipelines and agent workflows. It provides built-in components for retrieval, indexing, tool calling, memory, and evaluation, while remaining model- and vendor-agnostic—you can integrate with OpenAI, Mistral, Anthropic, Cohere, Hugging Face, Azure OpenAI, AWS Bedrock, or local models and swap them without rewriting your system.
The framework emphasizes modular design and deep customization: you build systems by connecting components into pipelines with explicit control over how context flows through retrieval, ranking, filtering, routing, and generation stages. It supports both traditional RAG systems and autonomous agents with loops, branches, and conditional logic. Core dependencies include pydantic, jinja2, httpx, and openai for provider integration.
Use it for
- Build retrieval-augmented generation systems that combine document retrieval with LLM generation for question answering
- Create semantic search applications that rank and retrieve relevant documents from large collections
- Design autonomous agent workflows with tool calling, memory, and multi-step reasoning loops
- Develop multimodal applications that process and reason over text, images, and structured data
- Prototype and experiment with different LLM providers and retrieval strategies without rewriting application code
- Deploy production-ready LLM pipelines with transparent, auditable control flow and error handling
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Haystack is a mature, actively maintained framework (Apache-2.0, production-stable status, 26210 GitHub stars, OpenSSF Best Practices certified) with low install friction and no known vulnerabilities. It is well-suited for anyone building production LLM applications who needs modular, vendor-agnostic orchestration with explicit control over retrieval and generation.
Install
haystack-ai on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with a recent release and strong community signals: 26210 GitHub stars and over a million monthly downloads. Supports Python 3.10 through 3.14.
Requires Python 3.10 or later. Some components may require additional dependencies like openai for provider integration.
License in practice
Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions. Suitable for proprietary applications.
Quickstart
pip install haystack-ai
from haystack import Pipeline
from haystack.components.retrievers.in_memory import InMemoryBM25Retriever
pipeline = Pipeline()
pipeline.add_component("retriever", InMemoryBM25Retriever())
Verify before relying
- Whether all runtime dependencies are required for basic usage or only for specific integrations
- Performance characteristics and scalability limits for production deployments
- Specific vector database and model provider integrations available beyond those listed in dependencies
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 18 packagesdocstring-parserfiletypehttpxjinja2jsonschemalazy-importsmarkupsafemore-itertoolsnetworkxnumpyopenaiposthogpydanticpython-dateutilpyyamltenacitytqdmtyping-extensions |
| Maintenance | Actively maintained 25 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,059,625 / month, #4,422 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: Science/ResearchLicense :: Freely DistributableLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: Artificial Intelligence |
Evidence: haystack_ai-3.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “semantic search and QA”
- haystack-aiHaystack is an open-source framework for building production-ready…
- h2ogptePython client for querying and managing documents in H2OGPTe, an…
- farm-haystackHaystack is an end-to-end NLP framework for building LLM applications…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also farm-haystack · haystack-experimental · openinference-instrumentation-haystack · opentelemetry-instrumentation-haystack · django-haystack · opik · cocoindex · llama-index · deepeval · application-file-scanner