# Haystack

[BASE product page](<https://base.akulich.dev/en/library/haystack/>) · [Resource](<https://github.com/deepset-ai/haystack>)

ID: haystack · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A Python framework for search and RAG pipelines: it connects retrievers, document stores, and models into a testable application backend\.

## Type

AI / ML development tool

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/haystack/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/haystack/#resource-access>)

A local code pipeline under Apache\-2\.0; rights for the selected models are checked separately\.

## [Paid features and costs](<https://base.akulich.dev/en/library/haystack/#resource-access>)

Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights\.

## [Access and limitations](<https://base.akulich.dev/en/library/haystack/#resource-access>)

A local code pipeline under Apache\-2\.0; rights for the selected models are checked separately\. Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights\.

## [Use cases](<https://base.akulich.dev/en/library/haystack/#resource-tasks>)

- Build a document retrieval/RAG backend
- Connect the indexing and query pipelines and verify answers against sources

## Category IDs

- ai
- backend

## Subcategory IDs

- ai\.orchestration
- backend\.api
- ai\.retrieval

## Tags

- Haystack
- ml
- Development

## Also known as

- deepset\-ai/haystack
- haystack
- haystack\-ai\-orchestration

## [Selection purpose](<https://base.akulich.dev/en/library/haystack/#resource-selection>)

Build a document retrieval/RAG backend

## [Choose this when](<https://base.akulich.dev/en/library/haystack/#resource-selection>)

- Build a document retrieval/RAG backend
- Connect the indexing and query pipelines and verify answers against sources

## [Limitations](<https://base.akulich.dev/en/library/haystack/#resource-selection>)

- Costs and limits of free use: Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights\.
- Terms of use: Apache\-2\.0 for the code; third\-party components retain their own terms\.
- Component initialization events and environment metadata are sent by default; a local installation alone does not imply the absence of telemetry\.

## [Questions before use](<https://base.akulich.dev/en/library/haystack/#resource-faq>)

### What can you use for free in Haystack?

A local code pipeline under Apache\-2\.0; rights for the selected models are checked separately\.

### What additional costs might arise with Haystack?

Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights\.

### What terms of use matter for Haystack?

Apache\-2\.0 for the code; third\-party components retain their own terms\.

### How do you get started with Haystack?

Define the pipeline's document store, retriever, and generator\. Connect the indexing and query pipelines and verify answers against sources\. Connect the workflow to the application and make errors observable\.

### How can I control a pipeline and disable Haystack telemetry?

Modular pipelines define retrieval, ranking, routing, memory, and generation; Agent supports lifecycle hooks and tracking of step/token/tool usage\. The README highlights Hayhooks for REST/MCP serving\. The telemetry documentation shows how to disable it using HAYSTACK\_TELEMETRY\_ENABLED=False\.

## Sources for the selection guide

- [https://github\.com/deepset\-ai/haystack](<https://github.com/deepset-ai/haystack>)
- [https://raw\.githubusercontent\.com/deepset\-ai/haystack/HEAD/README\.md](<https://raw.githubusercontent.com/deepset-ai/haystack/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/deepset\-ai/haystack/HEAD/LICENSE](<https://raw.githubusercontent.com/deepset-ai/haystack/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)
- [https://docs\.haystack\.deepset\.ai/docs/telemetry](<https://docs.haystack.deepset.ai/docs/telemetry>)

## [Possible workflow](<https://base.akulich.dev/en/library/haystack/#resource-scenario>)

Build a document retrieval/RAG backend\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- Test documents or tasks, and a quality criterion\.
- Models, a runtime, and a computing budget\.

## Steps

1. Define the pipeline's document store, retriever, and generator\.
2. Connect the indexing and query pipelines and verify answers against sources\.
3. Connect the workflow to the application and make errors observable\.

## Check your result

- Check the result against reference examples and invalid inputs\.
- Inference costs, model rights, and data handling have been established\.

## [License](<https://base.akulich.dev/en/library/haystack/#resource-license>)

Apache\-2\.0 for the code; third\-party components retain their own terms\.

## License explanations for the specified scope

### Apache 2\.0 — permissive license with patent terms

You can use and modify the code in commercial and closed\-source projects\. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided\. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks\.

[License terms](<https://www.apache.org/licenses/LICENSE-2.0>)

## [Sources](<https://base.akulich.dev/en/library/haystack/#resource-sources>)

- [Official source](<https://github.com/deepset-ai/haystack>)
- [Official source](<https://raw.githubusercontent.com/deepset-ai/haystack/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/deepset-ai/haystack/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)
- [Official source](<https://docs.haystack.deepset.ai/docs/telemetry>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
