talira

Build a superior context layer for AI agents

open coreApache-2.0self-hostablefreeMCP

RAGFlow is an open source retrieval-augmented generation (RAG) engine with an agent platform on top. It ingests Word, PowerPoint, Excel, PDF, scanned and web content with its own deep document understanding and template-based chunking, searches it with hybrid vector, full-text and tensor retrieval with re-ranking, and answers with traceable citations. Version 1.0 added Knowledge Compilation (wikis, graphs, mind maps and skills generated from documents) and agentic retrieval with selectable thinking depth. It runs on your own servers with Docker Compose (on Elasticsearch or InfiniFlow's Infinity, with MySQL and MinIO) or as RAGFlow Cloud.

Problems it solves

  • build a chatbot that answers questions from our company documents with citations
  • our PDFs have complex tables and scanned pages and normal chunking mangles them
  • self-host a RAG engine so our documents never leave our servers
  • retrieval keeps missing the right passage in a huge document set
  • let users see exactly which chunk an answer came from so they can check it
  • combine vector search and keyword search with re-ranking for better answers
  • build agent workflows that search our knowledge base, call tools and MCP servers
  • ingest data from BigQuery, websites and other sources into a searchable knowledge base
  • turn a pile of documents into a wiki or knowledge graph automatically
  • expose our knowledge base to Claude or Cursor as an MCP server
  • adjust how documents are chunked and fix bad chunks by hand
  • an open source alternative to hosted RAG services we can run with Docker

Features

  • deep document understanding for complex layouts, tables and scans
  • template-based, explainable chunking with manual edits
  • hybrid vector, BM25 and tensor search with fused re-ranking
  • grounded answers with traceable citations
  • Knowledge Compilation into wikis, graphs, trees, mind maps, timelines and skills
  • agentic retrieval with Low, Medium, High and Ultra thinking modes
  • visual agent workflows with tools and MCP
  • built-in MCP server endpoint
  • HTTP and Python APIs
  • data source ingestion including Google BigQuery and website sitemaps
View 2 more
  • configurable LLM, embedding and reranker providers
  • Docker Compose deployment

Limitations

  • Doesn't run on macOS: the Docker deployment doesn't support macOS yet1

Ways to run it

RAGFlow Cloud

Hosted by InfiniFlow

Free; Starter $59/month; Pro $259/month (sale prices of $29 and $129 shown on 23 Nov 2026)2

Only in this edition

  • hosted service with no infrastructure to run
  • API keys from Starter

Pricing

Open source

You run it, Apache-2.0

free1

You arrange

  • a Linux host with at least 4 CPU cores, 16 GB RAM and 50 GB disk recommended
  • Docker 24+ and Docker Compose
  • a document engine: Infinity or Elasticsearch
  • MySQL, MinIO and the other services in its Compose file
  • API keys or endpoints for an LLM, an embedding model and a reranker

Self-hosting docs

Enterprise

You run it, under a commercial licence

contact sales2

Only in this edition

  • BYOC or on-premises deployment
  • dedicated support
  • custom SLA

Pricing

Capabilities

Has an APIplan not known
Has an MCP serverplan not known

Alternatives

The same job

These do what RAGFlow does.

  1. kotaemon An open-source clean & customizable RAG UI for chatting with your documents
  2. R2R Agentic Retrieval-Augmented Generation (RAG) with a RESTful API
  3. PrivateGPT Open source API layer that turns local models into private AI applications
  4. Dify Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace
  5. AnythingLLM The all-in-one AI app you were looking for

Compare RAGFlow with the top 3