Install
pip install haystack-ai==2.28.0Production-first agentic NLP. Haystack 2.x ships a component/pipeline architecture with built-in retrieval, ranking, and LLM nodes, plus an Agent class with tool calling, memory, and multi-agent orchestration patterns.
Install
pip install haystack-ai==2.28.0Version
v2.28.0 · April 2026 · Python 3.10+
Best for
RAG pipelines, search-first agents, production deployments.
SearchableToolset, LLMRanker, and ToolInvoker stabilised.from haystack.components.agents import Agentfrom haystack.components.generators.chat import OpenAIChatGeneratorfrom haystack.dataclasses import ChatMessage
agent = Agent( chat_generator=OpenAIChatGenerator(model="gpt-4o"), system_prompt="You are a helpful research assistant.",)
result = agent.run(messages=[ChatMessage.from_user("Summarise Haystack 2.x.")])print(result["messages"][-1].text)Ready? Start Zero → Hero Step 1 →
| Date | Version | Changes |
|---|---|---|
| 2026-04-21 | 2.28.0 | Index redesigned with Zero → Hero + Jump-to-topic grid. |
| April 20, 2026 | 2.28.0 | GA after 2.28.0rc1/rc2; stabilisation. |
| November 2025 | 2.20.0 | Initial documented version. |