Best
Top Open Source RAG Frameworks
RAG frameworks differ in data connectors, retrieval control, agent integration, and production operations. This page highlights projects with strong ecosystem fit and clear implementation paths.
Selection criteria
Featured projects
langchain
langchain-ai/langchain48The agent engineering platform.
Evaluating langchain for Python AI workflows.
llama_index
run-llama/llama_index47LlamaIndex is the leading document agent and OCR platform
Evaluating llama_index for Python AI workflows.
haystack
deepset-ai/haystack43Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal applications, semantic search, and conversational systems.
Evaluating haystack for MDX AI workflows.
Firecrawl
mendableai/firecrawl75Turn websites into clean, LLM-ready markdown and structured data.
Turning unstructured data into searchable AI context.