#55th of 242 in Agent frameworks and SDKs

haystack

Python framework for building RAG pipelines and agents from modular components

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
27.1k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 35 weeks+2,764
25 Mar 2026: 24,365 stars1 Apr 2026: 24,446 stars8 Apr 2026: 24,544 stars15 Apr 2026: 24,631 stars22 Apr 2026: 24,746 stars29 Apr 2026: 24,830 stars6 May 2026: 24,905 stars13 May 2026: 25,029 stars20 May 2026: 25,129 stars27 May 2026: 25,217 stars3 Jun 2026: 25,282 stars10 Jun 2026: 25,362 stars17 Jun 2026: 25,434 stars24 Jun 2026: 25,557 stars1 Jul 2026: 25,656 stars8 Jul 2026: 25,712 stars15 Jul 2026: 25,771 stars22 Jul 2026: 25,854 stars29 Jul 2026: 25,940 stars5 Aug 2026: 26,005 stars12 Aug 2026: 26,074 stars19 Aug 2026: 26,154 stars26 Aug 2026: 26,228 stars2 Sept 2026: 26,303 stars9 Sept 2026: 26,366 stars16 Sept 2026: 26,441 stars23 Sept 2026: 26,510 stars30 Sept 2026: 26,573 stars7 Oct 2026: 26,648 stars14 Oct 2026: 26,714 stars21 Oct 2026: 26,782 stars28 Oct 2026: 26,856 stars4 Nov 2026: 26,916 stars11 Nov 2026: 26,996 stars18 Nov 2026: 27,061 stars25 Nov 2026: 27,129 stars

24,365 on 25 Mar 202627,129 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

deepset is hiring: 4 open roles

Overview

Haystack is a Python framework for composing LLM applications as pipelines of components covering retrieval, routing, memory, tool calling and generation. One Pipeline runs sync or async and streams tokens, and the Agent class supports lifecycle hooks and concurrent tool calls. It integrates with OpenAI, Anthropic, Mistral, Cohere, Hugging Face, Google, Azure OpenAI, AWS Bedrock and local models.

Who it is for: Python developers building production RAG systems and agents

Strengths

  • Pipelines support loops, branches and conditional routing, so context flow is explicit and traceable
  • Agent hooks (before_llm, before_tool, on_exit) plus step_count and token_usage tracking
  • Model-agnostic: many hosted providers and local models, swappable without rewriting pipelines
  • Installs with pip install haystack-ai; Apache-2.0 licensed

Weaknesses

  • Collects anonymous component-usage telemetry by default; opt-out is documented separately
  • Serving as REST or MCP needs the separate Hayhooks project
  • Governance, access controls and managed observability are in the paid Enterprise Platform
  • Many integrations live in a separate haystack-core-integrations repo

What it needs

  • GPU optional
  • Docker
  • Needs Python, LLM provider or local model
  • Models: OpenAI, Anthropic, Mistral, Cohere, Hugging Face

What changed

  1. “Raise the minimum supported openai SDK version from 2.6.0 to 3.26.0 to support the Decisions API.”

  2. v2.31.1 ↗ (opens in a new tab)Security fix

    CVE-2026-63374, GHSA-82R6-8W77-94W6, GHSA-6Q48-6C7W-9GW2. “Haystack now requires anyio>=4.14.2. anyio is installed transitively through httpx and openai; versions before 4.14.2 are affected by CVE-2026-63374 (GHSA-82r6-8w77-94w6).”

  3. v3.4.1 ↗ (opens in a new tab)Security fix

    GHSA-6Q48-6C7W-9GW2. “Haystack now requires certifi>=2026.10.19. certifi is installed transitively through httpx and posthog; earlier versions trust eMudhra/emSign certificate authorities whose private keys were compromis…”

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Head to head

Also in Agent frameworks and SDKs

See all 242
Also in Agent frameworks and SDKs
RankProjectScore
3copilotkitReact and Angular SDK for adding agent chat and generative UI to apps39k starsMIT93 out of 100
#4openai-agents-pythonPython SDK for multi-agent workflows with handoffs, guardrails and tracing30.9k starsMIT92 out of 100
#6browser-usePython library that lets an LLM agent control a web browser Live demo ↗ (opens in a new tab)122.3k starsMIT90 out of 100
#7agent-browserNative Rust CLI that lets AI agents drive a browser via accessibility snapshots54.6k starsApache-2.090 out of 100
#8gradioPython library for building web UIs around ML models and functions44.2k stars+331 (+0.8%) in 30 daysApache-2.090 out of 100