farm-haystack
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
No—do not install this package for new projects. Haystack 1.x reached end-of-life on March 11, 2025 and receives no further updates or support. The final version is 1.26.4. Migrate to Haystack 2.x (distributed as haystack-ai) instead, which has been stable since March 2024 and includes more flexible pipelines, better component customization, improved integrations, and production-ready features. Existing 1.x codebases may continue to run, but new development should use haystack-ai.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later.
- The package reached end-of-life on March 11, 2025 and is no longer receiving updates; new projects should use haystack-ai instead.
- Low install friction with a pure-Python wheel.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions, suitable for most production deployments.
last release 2025-04-03 (498 days) · last repo commit 2026-08-14 · 26,210 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 80,201 downloads/mo, #14,310 on PyPI
Alternatives
Verify before relying
pip install farm-haystack
from haystack.pipelines import Pipeline
from haystack.nodes import Retriever, PromptNode
pipeline = Pipeline()
pipeline.add_node(Retriever(), name="retriever", inputs=["Query"])
pipeline.add_node(PromptNode(), name="prompt", inputs=["retriever"])- Exact performance characteristics and scalability limits for document retrieval at production scale.
- Compatibility and testing status with specific vector database versions (Weaviate, Pinecone, FAISS, etc.).
- Migration effort and breaking changes when upgrading from 1.x to Haystack 2.x (haystack-ai).
What it is and what it does
Haystack is a framework for building NLP applications powered by large language models, transformers, and vector search. It provides a pipeline architecture where data flows through nodes—each performing a single task like document retrieval, preprocessing, or LLM inference—and an agent system that uses an LLM to decide the next action dynamically. The framework includes built-in support for multiple document stores (Elasticsearch, Weaviate, Pinecone, FAISS), language models from OpenAI and Hugging Face, and tools for semantic search, question answering, and retrieval-augmented generation.
The package depends on 23 runtime libraries including pandas, scikit-learn, transformers, tiktoken, and others for data handling, ML operations, and LLM integration. However, Haystack 1.x reached end-of-life on March 11, 2025 and is no longer maintained. The maintainers have released Haystack 2.x as a separate package (haystack-ai) with improved pipeline flexibility, better component composition, and production-ready features like structured logging and tracing. Existing users are strongly encouraged to migrate.
Use it for
- Build retrieval-augmented generation (RAG) systems that combine vector search with LLM generation over custom documents.
- Create question-answering applications that find and synthesize answers from large document collections in natural language.
- Perform semantic document search and ranking based on meaning rather than keyword matching.
- Develop agent-based systems that use an LLM to reason over multiple tools and data sources to resolve complex queries.
- Fine-tune transformer models on domain-specific data and integrate them into end-to-end NLP pipelines.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—do not install this package for new projects.
Haystack 1.x reached end-of-life on March 11, 2025 and receives no further updates or support. The final version is 1.26.4. Migrate to Haystack 2.x (distributed as haystack-ai) instead, which has been stable since March 2024 and includes more flexible pipelines, better component customization, improved integrations, and production-ready features. Existing 1.x codebases may continue to run, but new development should use haystack-ai.
Install
farm-haystack on PyPI
Before you install
Low install friction with a pure-Python wheel. The package is actively maintained with recent commits and a large community (26210 stars), though it reached end-of-life on March 11, 2025 and is no longer receiving updates—the maintainers recommend migrating to Haystack 2.x via the separate haystack-ai package.
Requires Python 3.8 or later. The package reached end-of-life on March 11, 2025 and is no longer receiving updates; new projects should use haystack-ai instead.
License in practice
Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions, suitable for most production deployments.
Quickstart
pip install farm-haystack
from haystack.pipelines import Pipeline
from haystack.nodes import Retriever, PromptNode
pipeline = Pipeline()
pipeline.add_node(Retriever(), name="retriever", inputs=["Query"])
pipeline.add_node(PromptNode(), name="prompt", inputs=["retriever"])
Verify before relying
- Exact performance characteristics and scalability limits for document retrieval at production scale.
- Compatibility and testing status with specific vector database versions (Weaviate, Pinecone, FAISS, etc.).
- Migration effort and breaking changes when upgrading from 1.x to Haystack 2.x (haystack-ai).
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 23 packagesboilerpy3eventshttpxjsonschemalazy-importsmore-itertoolsnetworkxpandaspillowplatformdirsposthogprompthub-pypydanticquantulum3rank-bm25requestsrequests-cachescikit-learnsseclient-pytenacitytiktokentqdmtransformers |
| Maintenance | Actively maintained 498 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 80,201 / month, #14,310 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.8Programming Language :: Python :: 3.9Topic :: Scientific/Engineering :: Artificial Intelligence |
Evidence: farm_haystack-1.26.4.post0-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 › “question answering pipeline”
- farm-haystackHaystack is an end-to-end NLP framework for building LLM applications…
- azure-ai-language-questionansweringPython client library for Azure's Question Answering service,…
- pytorch-pretrained-bertProvides PyTorch implementations of BERT, GPT, Transformer-XL, and…
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 haystack-ai · haystack-experimental · django-haystack · openinference-instrumentation-haystack · opentelemetry-instrumentation-haystack · weasel · graph-retriever · ragstack-ai-knowledge-store · llama-index · llama-index-core