talira

Compare

LlamaIndexR2RHaystackGraphRAG
What it isA Python toolkit for building LLM-powered agents over your dataAgentic Retrieval-Augmented Generation (RAG) with a RESTful APIOpen-source AI orchestration framework for building production-ready LLM applications in PythonA modular graph-based Retrieval-Augmented Generation (RAG) system
KindOpen sourceOpen sourceOpen coreOpen source
Trust0.320.180.810.42
Stars—810927098—
Last commit—2025-11-072026-11-24—
LicenceMITMITApache-2.0MIT
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostableYesYesYesYes
Ways to run it——
  • Haystack (self-hosted, Apache-2.0): free
    You arrange: Python and the LLM and embedding providers you call, a document store (OpenSearch, Qdrant, pgvector or another), serving, for example with Hayhooks or your own web service
  • Haystack Enterprise Starter (self-hosted, proprietary): not published; contact deepset
    You arrange: your own infrastructure
  • Haystack Enterprise Platform: Studio $0 (1 user, 100 pipeline hours, 50 files, 2 development pipelines); Enterprise custom
—
SOC 2——Yes—
HIPAA——Yes—
SSO————
API—Yes——
PluginsYes—Yes—
MCP server————
CompanyLlamaIndexSciPhideepsetMicrosoft
public company (NASDAQ:MSFT)
Features
  • data connectors and LlamaHub for loading files, APIs and databases
  • indexes and vector stores, persisted to disk or to an external store
  • query engines and chat engines with memory over your data
  • agents with tools, state and streamed progress; a RAG pipeline can be one tool among many
  • event-driven Workflows with branching, retries and human review, deployable as services
  • structured extraction into Pydantic models
  • multi-modal retrieval over text, images, tables and charts
  • text-to-SQL and CSV querying
  • All 14 features
  • REST API with Python (r2r) and JavaScript (r2r-js) SDKs
  • multimodal ingestion: .txt, .pdf, .json, .png, .mp3 and more, or pre-processed chunks
  • hybrid search: pgvector similarity plus Postgres full-text search, fused with reciprocal rank fusion
  • knowledge graphs: automatic entity and relationship extraction per collection, graph communities and GraphRAG search
  • RAG with citations and an agentic RAG endpoint
  • Deep Research API that searches the knowledge base and the web
  • users, superusers, collections and document access control
  • R2R dashboard for documents, collections and searches
  • All 10 features
  • pipelines of components with loops, branches and conditional routing, sync or async, with token streaming
  • pipeline serialization to and from YAML
  • document stores including OpenSearch, Elasticsearch, Weaviate, Qdrant, pgvector, Azure AI Search, Solr, Chroma, Pinecone and in-memory
  • retrievers for BM25, embedding, sparse embedding and hybrid search, depending on the store
  • converters, preprocessors, embedders, rankers and generators for OpenAI, Anthropic, Mistral, Cohere, Hugging Face, Google, Azure OpenAI, AWS Bedrock and local models
  • Agent component with lifecycle hooks (before_llm, before_tool, on_exit), step and token counts, and concurrent tool calls
  • Agent Pack of ready-made agents and SkillToolset for progressive skill discovery
  • MCPTool (mcp-haystack) for tools from MCP servers over Streamable HTTP or stdio
  • All 12 features
  • standard indexing: LLM entity, relationship and claim extraction, entity and relationship summaries, community reports
  • FastGraphRAG indexing: NLTK or spaCy noun phrases and co-occurrence edges, LLM only for community reports
  • Leiden hierarchical community detection
  • query methods: global, local, DRIFT and basic search
  • bring your own graph: summarise and query existing entity and relationship tables
  • prompt tuning for your domain (graphrag prompt-tune)
  • LLM access through LiteLLM (100+ models with structured output); separate models for indexing and query
  • vector stores: LanceDB (default), Azure AI Search, Azure Cosmos DB
  • All 11 features
Limitations
  • Doesn't support TypeScript or JavaScript any more: LlamaIndex.TS is deprecated and no longer maintained
      • Doesn't take new features: Microsoft says the project is largely in maintenance mode, with bug fixes and dependency updates only
      • Doesn't include LazyGraphRAG: Microsoft offers it in Microsoft Discovery and Azure Local; the library has the Standard and Fast methods
      • Doesn't index cheaply by default: standard indexing prompts the LLM for extraction, summaries and community reports, and the docs warn it's expensive