LibreAI / AI Agents / Haystack
// agents · deepset-ai/haystack

Haystack

Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and…

★ 26.6k stars⑂ 3.2k forksApache-2.0updated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

Haystack is an open-source ai agents project by deepset-ai (deepset-ai/haystack on GitHub). It has 26,646 GitHub stars and 3,227 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 2 October 2026.

GitHub stars
26,646
Forks
3,227
License
Apache-2.0
Last updated on GitHub
2 October 2026
Category
AI Agents
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Pick a framework

    Application frameworks, agent runtimes, or voice stacks — choose by whether you are building apps, automations, or realtime voice.

  2. Install the SDK

    Python or TypeScript packages install with one command; most include quickstart templates.

  3. Define tools and memory

    Give the agent functions it can call and a memory layer so it stays coherent across sessions.

  4. Run and observe

    Launch the agent, watch its tool calls and reasoning traces, and iterate on prompts and tools.

// features

Why people love it

Tool use & function calling

Agents act on the world: APIs, databases, browsers, and shell commands.

Multi-agent orchestration

Crews and graphs of specialized agents collaborating on complex tasks.

Memory systems

Short and long-term memory so agents improve across sessions.

Observability

Traces of every decision and tool call — essential for debugging.

Voice & realtime

Low-latency stacks for conversational voice agents.

Model agnostic

Swap underlying LLMs without rewriting your agent logic.

Advertisement
// run it

Run it yourself

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/deepset-ai/haystack.git
    cd haystack
  2. Step 2 — Create an environment

    Isolate dependencies so nothing clashes with your other projects.

    python -m venv .venv
    source .venv/bin/activate  # Windows: .venv\Scripts\activate
  3. Step 3 — Install and launch

    Install the requirements, then follow the README's launch command (it varies per project).

    pip install -r requirements.txt
// use cases

What you can build

Advertisement
// faq

Questions, answered

Framework or finished agent?

Frameworks build your own; some repos here ship ready-made agents you can run directly.

Do agents need big models?

Tool-calling quality matters more than raw size — strong mid-size models work well.

Who maintains Haystack?

It is an open-source project at deepset-ai/haystack with 3,227 forks. Check the repo's contributors and recent commits to see how active maintenance is.

How do I keep agents safe?

Sandbox tool access, confirm destructive actions, and review traces — treat agents like junior employees with supervision.

What does it cost to run?

Self-hosted frameworks are free; you pay only for model inference (local or API).

Where do I start?

A quickstart template in the framework's docs — most get a first agent running in minutes.

// keep exploring

Similar tools

AI Agents

Langchain

The agent engineering platform

★ 147.4k starsMIT
View guide →
AI Agents

CrewAI

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work…

★ 59.3k starsMIT
View guide →
AI Agents

Autogen

A programming framework for agentic AI

★ 61.3k starsCC-BY-4.0
View guide →
AI Agents

langroid

Langroid: a principled Python framework for building LLM multi-agent applications (from CMU/UW researchers)

★ 4.1k starsMIT
View guide →
AI Agents

Hypha

A harness-oriented framework for production-grade agent applications.

★ 447 starsApache-2.0
View guide →
AI Agents

ruoyi-ai

Enterprise-grade AI agent framework with multi-provider LLM management, secure knowledge bases and high-precision RAG, visual workflow orchestration, and mul…

★ 5.7k starsMIT
View guide →
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if Haystack is not the right fit.

Get Haystack

Free and open — grab the source, star the repo, and start creating.