RAGFlow

RAG engine with deep document parsing (OCR, layout and tables) and cited answers.

Active Knowledge base & RAG Apache-2.0
GitHub stars92.6k
Forks11.1k
Latest releasev1.0.0-rc2Oct 16, 2026
Last commitOct 22, 2026
Est. server costfrom €69.99/mo

Activity data comes from GitHub and was last refreshed Oct 22, 2026.

What it does

RAGFlow focuses on getting messy documents such as scanned PDFs and complex tables into a searchable knowledge base, then answering questions with citations. It includes agent and workflow features and runs as a multi-container Docker stack.

Where it fits in a 10–200 person business

  • Q&A over scanned contracts, invoices or technical drawings with tables
  • Research assistant for long reports where answers must show their source
  • Knowledge back-end for other chat front-ends via its API

These use cases are our editorial suggestions, not claims made by the project.

License: can a business use it?

LicenseApache-2.0
TypePermissive: MIT / Apache-2.0: use, modify and sell with few obligations.
Internal business useAllowed under the license text
What to watchPermissive. Internal and commercial use allowed; keep license and notices.

This is a plain-English summary of the license text, not legal advice. Third-party models you run with it have their own licenses.

Hardware requirements

MinimumNot published
Recommended4 vCPU · 16 GB RAM · 50 GB disk

Recommended starting configuration. Actual needs depend on the document engine, data volume, parsing tasks and concurrency. Docker 24.0.0+ and Docker Compose v2.26.1+.

Source: github.com/infiniflow/ragflow#-get-started

Estimated monthly hosting cost

Recommended spec4 vCPU · 16 GB RAM · 50 GB disk → CPX42 (8 vCPU, 16 GB, 320 GB disk) €69.99/mo

How we got this: we took the cheapest Hetzner Cloud Regular Performance (shared AMD vCPU) plan with at least the RAM and vCPU the project lists, using prices read from www.hetzner.com/cloud/regular-performance on 2026-10-22. "From" monthly price cap shown by Hetzner, excluding VAT. Prices vary by location. Covers the server only; it excludes LLM API usage, backups, extra storage, GPUs and your time. Disk is not matched; add a volume if you need more than the plan includes.

How to deploy

Method: Docker Compose

git clone https://github.com/infiniflow/ragflow.git
cd ragflow/docker
git checkout <latest-release-tag>
docker compose -f docker-compose.yml up -d

From the official instructions: github.com/infiniflow/ragflow#-get-started. Always check the source for the current version before you run it.

Known gotchas

  • When using Elasticsearch, set vm.max_map_count to at least 262144 on the Docker host (sudo sysctl -w vm.max_map_count=262144) and persist it in /etc/sysctl.conf. source
  • In the 1.0 open-source release, DeepDoc layout analysis, OCR and table recognition run on CPU, so parsing large batches is CPU-heavy. source

Alternatives in Knowledge base & RAG

Facts on this page were checked against the project's own repository and docs on 2026-10-22. Spotted something out of date? Tell us.