# Haystack

Build agents for your knowledge and data: retrieve documents, call tools and coordinate specialist agents.

Canonical profile: https://ki-agentenkompass.de/en/agents/haystack/
Editor: [Michael Meierhoff](https://ki-agentenkompass.de/en/about/)
Sources reviewed: 2026-11-16
Basis: provider documentation. Examples are editorial suggestions, not hands-on product tests.

## Overview

Haystack is assessed here as a self-hosted agent framework. Additional hosted provider offerings have separate terms.

- Provider: deepset
- Product family: Haystack
- Profile type: Agent framework for your deployment
- Environment: Your server or development machine; integration into your application.
- Connections: Configured model providers, custom tools and approved data sources.
- Setup: Install your runtime, configure model access and tools, and review a limited first workflow.
- Pricing model: USD 0 for the software licence (Apache-2.0); model usage, storage and operations are additional.

## Key features

### Tool loop

The Agent component calls models and tools until a stopping condition is met.

Source: https://docs.haystack.deepset.ai/docs/agents

### Connect knowledge

Pipelines, document stores and retrieval components can be connected as tools.

Source: https://docs.haystack.deepset.ai/docs/agents

### Share state

A defined state schema carries data between tool calls.

Source: https://docs.haystack.deepset.ai/docs/agent

### Delegate to specialists

AgentTool exposes an agent as a tool for other agents.

Source: https://docs.haystack.deepset.ai/docs/multi-agent-systems

### Review tool calls

Human-in-the-loop hooks enable review before tool execution.

Source: https://docs.haystack.deepset.ai/docs/agents

## Example workflows

### Handle a knowledge question

- Your input: A concrete question and approved data sources.
- Possible result: A draft answer produced through configured tools.
- What to check: Review sources, permissions and output before use.

### Prepare a multi-step task

- Your input: A limited task with permitted tools and an acceptance criterion.
- Possible result: A traceable workflow with a reviewable result.
- What to check: Start with test data and explicitly approve external actions.

## Requirements and limits

### Your deployment

Requirement: Install your runtime, configure model access and tools, and review a limited first workflow.

Source: https://docs.haystack.deepset.ai/docs/agents

### Data and action permissions

Requirement: You configure permitted tools and data access. External actions require appropriate permissions and approvals.

Source: https://docs.haystack.deepset.ai/docs/agents

### Operate responsibly

Limitation: Cost limits, monitoring, backups and retries of external actions must be secured in your deployment.

Source: https://docs.haystack.deepset.ai/docs/agents

## A good fit if …

- you want to develop custom agents and deliberately restrict their tools
- you can handle development and operations with suitable model access
- you want to combine your own knowledge sources and retrieval with controlled tool use

## Less suitable if …

- you need a personal assistant ready to use without setup
- your project requires a fully managed service

Editorial assessment based on provider documentation. Not a product test.

## Usable AI models

Open choice

ChatGenerator integrations determine model choice. Personal API keys and local provider integrations are supported.

- Model families named: OpenAI (GPT), Anthropic (Claude), Google (Gemini) · Other models can be connected freely
- Model choice: You choose
- Your own API key: Yes
- Router or custom endpoint: Yes
- Local models: Yes

Documented · Sources accessed on: 2026-11-16

- [Haystack · Models](https://docs.haystack.deepset.ai/docs/agents)

## Europe & regional availability

Software access, model terms and data processing are assessed separately.

Reviewed scope: Haystack · self-hosted access
Reviewed on: 2026-11-16

### Self-hosting and model providers

With requirements

Public source code enables your own deployment. Connected model and data services determine regional limits and data flows.

Region covered: EU/EEA, United Kingdom and Switzerland

Documented reason: Reviewed sources state no blanket European feature restriction on self-hosted source code. EU data residency is a separate requirement.

Official source: https://github.com/deepset-ai/haystack
Official source: https://docs.haystack.deepset.ai/docs/agents

## Accounts & permissions

Based on provider documentation. Permissions depend on the account, integration and organization policies. Review the permissions actually requested before use.

Configuration covered: Haystack · Accounts and permissions
Sources reviewed: 2026-11-16

### Account used

Documented with conditions: Model keys and service credentials are configured in the deployment. Agent roles in code do not replace separate service accounts.

Evidence: https://docs.haystack.deepset.ai/docs/agents

### Admin approval

Documented with conditions: The application defines approvals and permitted tools. A specific approval requirement applies only when configured in the workflow.

Evidence: https://docs.haystack.deepset.ai/docs/agents

### Data access & team sharing

Documented with conditions: Action scope and data access follow the tools and credentials actually configured.

Evidence: https://docs.haystack.deepset.ai/docs/agents

## Prices and included usage

Pricing checked: 2026-11-16

USD 0 for the software licence (Apache-2.0); model usage, storage and operations are additional.

### Self-operation

USD 0 software license

Software under the stated repository licence. Models, storage and infrastructure are paid separately.

Price source: https://github.com/deepset-ai/haystack

Total monthly operating cost depends on models, data volume and run frequency.

Pricing details: https://github.com/deepset-ai/haystack

## Operation & oversight

Based on public provider documentation. Assessments are editorial inferences from the stated properties. Actual time requirements and reliability have not been measured.

Deployment covered: Haystack · Execution and continuity
Sources reviewed: 2026-11-16

### Files and working state

Documented with conditions: Agent state and conversation messages belong to a run. Durable storage is configured through suitable components.

Evidence: https://docs.haystack.deepset.ai/docs/agents

### Sign-ins

Documented with conditions: Model and service keys are managed in your deployment.

Evidence: https://docs.haystack.deepset.ai/docs/agents

### Starting further runs

Documented with conditions: Further tasks are started from the application or configured workflows.

Evidence: https://docs.haystack.deepset.ai/docs/agents

### Human intervention

Documented with conditions: Checkpoints and action approvals must be configured for the specific workflow.

Evidence: https://docs.haystack.deepset.ai/docs/agents

### Detecting errors

Documented with conditions: Error handling and logs must be integrated into your operations.

Evidence: https://docs.haystack.deepset.ai/docs/agents

### Resuming after failures

Documented with conditions: Required messages and state must be retained for continuity; durable resumption depends on the deployment.

Evidence: https://docs.haystack.deepset.ai/docs/agents

### Editorial assessment

Editorial assessment of the self-hosted access; specific limits are stated per criterion.

## Memory and conversation continuity

Scope: Haystack · main self-hosted access
Sources accessed: 2026-11-16

The assessment covers documented storage mechanisms in your deployment.

### Storage and scope

Partly documented: Agent state and conversation messages belong to a run. Durable storage is configured through suitable components.

- [Haystack · Memory / State](https://docs.haystack.deepset.ai/docs/agent)

### Selection and timing

Partly documented: The application defines the state schema, inputs and retrieval sources.

- [Haystack · Memory / State](https://docs.haystack.deepset.ai/docs/agent)

### Inspect, edit and delete

Partly documented: State values are accessible through the application; retention and deletion depend on the storage used.

- [Haystack · Memory / State](https://docs.haystack.deepset.ai/docs/agent)

### Agent and channel boundaries

Partly documented: AgentTool enables specialist agents; shared data is exposed by the application.

- [Haystack · Memory / State](https://docs.haystack.deepset.ai/docs/agent)

### Retrieval

Partly documented: Tools and retrievers fetch information from selected sources.

- [Haystack · Memory / State](https://docs.haystack.deepset.ai/docs/agent)

### Session reset and compaction

Partly documented: Required messages and state must be retained for continuity; durable resumption depends on the deployment.

- [Haystack · Memory / State](https://docs.haystack.deepset.ai/docs/agent)

## Context

Cost limits, monitoring, backups and retries of external actions must be secured in your deployment.

Official project sources reviewed. Examples and suitability are editorial assessments; this directory does not include our own product tests.

## Sources

- https://github.com/deepset-ai/haystack

- https://docs.haystack.deepset.ai/docs/agents

- https://docs.haystack.deepset.ai/docs/agent

- https://docs.haystack.deepset.ai/docs/multi-agent-systems

## Provider

Official project sources establish a dedicated agent framework. On the review date the repository has 27,020 stars and 3,477 forks; these measure community interest, not active users.

- Operator: deepset
- Organization: Open-source project and software provider
- Website: https://github.com/deepset-ai/haystack
- Reviewed: 2026-11-16

- Repository: https://github.com/deepset-ai/haystack
- GitHub-Stars: 27020 (2026-11-16)
- License: Apache-2.0

- Provider source: https://github.com/deepset-ai/haystack

[Sources and method](https://ki-agentenkompass.de/en/sources/)
