Haystack
Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.
30-second check: should it make your shortlist?
Haystack is the RAG framework of the 'retrieval-quality engineering' school…
Local / self-hosted · Framework / SDK
Open licence
Read the original licence before commercial useDirect in mainland · Not in filing list
These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.
Information not confirmed
- The full integration catalog (kept at category level one by one)
- Current completeness of the agent layer and MCP support (kept at category level)
- Details of deepset Cloud's data-processing terms (a separate product surface, kept at category level)
Haystack is the RAG framework of the 'retrieval-quality engineering' school (Apache-2.0, deepset): separated indexing/query pipelines, hybrid retrieval with rerankers, an evaluation loop — the most production-flavored RAG line. The 2.x pipeline API was rewritten; beware old tutorials.
When to use it, when not to
Fits: production RAG (retrieval quality and auditable component graphs), data sovereignty on self-chosen storage. Not a fit: thin chat shells; deep agent orchestration (LangGraph is more specialized).
China availability domestic / direct access / CAC filing · snapshot 2026-10-21
- Origin
- foreign-made deepset GmbH (Berlin, Germany).
- Direct access
- direct OK haystack.deepset.ai measured 200 direct (2026-10-21).
- CAC filing
- not in filing list:not in the CAC public registry (searched 2026-10-21); the open-source project does not serve the mainland public, so filing does not apply.
Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.
8 questions, one table
8 questions, each comparable item by item with its peers.
- Model & openness
Generation and embedding models plug in via integrations (OpenAI/Anthropic/local HF and the like, per the official integration catalog, kept at category level one by one); the RAG retrieval stack (dense/sparse/hybrid) is its home turf.
- Where it runs
A Python library (pip-installed into your process); GitHub 26,880★, last push 2026-10-30 (API verified). The pipeline abstraction is the main axis: components wired into a graph, batch or serving — it all runs inside your process.
- Local files
Document indexes and retrieval data live in the storage you choose (files/vector stores/document stores) — data never leaves your side; the deepset Cloud hosted line is a separate product surface.
- Tasks after shutdown
A library has no resident semantics; indexing pipelines can run offline in batches, and the query service is deployed by you. 2.x rewrote 1.x's node system into the component/pipeline model — upgrading is a major rewrite, not a smooth migration.
- Tools & extensions
The agent layer (since 2.x) includes a tool-calling loop; MCP support status kept at category level.
- Context & memory
A conversation-memory component exists (the chat message store line); cross-session memory requires wiring your own storage — the component gives the pattern, not hosting.
- Permissions & limits
No account system (library form); the permissions surface = the various vendors' keys and storage credentials you wire in. The deepset Cloud upload surface follows a different line's terms.
- Best for
Fits: production-grade RAG pipelines (retrieval-quality engineering: hybrid/reranker/evaluation loops), component graphs you can audit. Does not fit: just wanting a thin chat shell (too heavy); deep agent orchestration (the LangGraph line is more specialized).
Licence and terms of use
Apache-2.0 (GitHub API verified 2026-10-21).
Top misconception
- Treating Haystack as a demo-grade RAG script — its positioning is production pipelines (index/query separation, evaluation loops)
- Blurring deepset Cloud with the open-source library — the hosted line's data-upload terms are a separate product's clauses
- The 1.x→2.x pipeline API rewrite — old-tutorial code breaks on the new version; check version markers
Evidence sources
Checked 2026-10-30,Content updated 2026-10-21。This is the date of the entry, not a claim that every field was rechecked that day.
| Type | Name | Link |
|---|---|---|
| repo | deepset-ai/haystack · repository (Apache-2.0; 26,880★, last push 2026-10-30, GitHub API verified) | https://github.com/deepset-ai/haystack |
| docs | Haystack · official docs | https://haystack.deepset.ai |
| changelog | deepset-ai/haystack · Releases (changelog) | https://github.com/deepset-ai/haystack/releases |
Test notes
This site has not completed measured runs. The test protocol is at protocols/framework/_protocol.md.
Related entries
- LlamaIndex FrameworkThe RAG two-headed contrast: LlamaIndex starts from the data-ingestion side, Haystack from the pipeline-engineering side.
- LangChainComponent-ecosystem contrast: LangChain has a wider integration surface, Haystack a more specialized retrieval pipeline.
- CursorOther layer · AI coding
- Claude Code (IDE extension)Other layer · AI coding
Same-category peers
Look at these three before reading further
Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.
| Object | Where | Licence | Evidence / status | What it is for |
|---|---|---|---|---|
| DSPy | Local / self-hosted | Open licence | 8 questions checked Active | DSPy turns 'tuning prompts' into a programming problem (MIT, Stanford NL |
| LangChain | Local / self-hosted | Open licence | 8 questions checked Active | LangChain is the main body of the LLM-app framework ecosystem (MIT, 148k |
| LlamaIndex Framework | Local / self-hosted | Open licence | 8 questions checked Active | "A Python library that pulls external data in for retrieval and question |
This page is generated from the ai-handbook data layer (CC BY 4.0).
For the judging criteria and method notes, see METHODOLOGY.md.