haystack
CommunityBuild production RAG pipelines with Haystack.
System Documentation
What problem does it solve?
Haystack helps you build reliable retrieval-augmented generation (RAG) and search pipelines that combine document retrieval, optional reranking, and LLM generation for production use.
Core Features & Use Cases
- Production RAG pipeline building: Compose end-to-end flows for retrieve → (rerank/join) → prompt → generate.
- Hybrid retrieval and reranking: Combine keyword/BM25 and embedding-based retrieval, then rerank with models like cross-encoders.
- Evaluation-driven development: Measure relevance and faithfulness to improve retrieval and generation behavior.
Example: You have a large enterprise document corpus and need accurate document Q&A with improved answers. Use Haystack to retrieve relevant passages, rerank them, and generate grounded responses, while also running evaluation to validate faithfulness and context relevance.
Quick Start
Install haystack-ai and tell your AI agent to create a basic pipeline that retrieves documents and uses an LLM to answer questions from the retrieved context.
Dependency Matrix
Required Modules
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: haystack Download link: https://github.com/qcmuu/AI-Research-Skills/archive/main.zip#haystack Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.