Purpose: RAGFlow is an open-source RAG engine that integrates RAG and Agent capabilities, builds a context layer for LLMs, transforms complex unstructured data into production-ready AI systems, and is suitable for RAG workflows at both personal and enterprise scale.
Main capabilities: Extract knowledge from complex formats based on deep document understanding; templated chunking, intelligent and explainable; knowledge compilation, generating structured knowledge artifacts such as Wiki, graphs, trees, PageIndex, mind maps, timelines, and skills at the document and dataset levels; Agentic retrieval, supporting multi-step retrieval and reasoning, with Low, Medium, High, and Ultra thinking modes; answers with citations, reducing hallucinations, supporting chunk visualization and human intervention; compatible with heterogeneous data sources such as Word, PowerPoint, Excel, TXT, images, PDF, scanned documents, structured data, and web pages; configurable LLMs and embedding models, multi-route recall and fusion reranking, and API integration.
How to use: For cloud service, see https://cloud.ragflow.io . Local Docker deployment: git clone https://github.com/infiniflow/ragflow.git , enter ragflow/docker, git checkout v1.0.0-rc1, docker compose -f docker-compose.yml up -d; use curl -f http://localhost/api/v1/system/healthz to check readiness, access the server IP in a browser to log in, and add LLM, embedding, and reranking models on the model provider page. Starting from source requires Go 1.27, Clang 20, LLD 20, CMake >= 4.0, and PCRE2 development files, run uv run tools/scripts/download_dev_deps.py, execute ./build.sh --all, migrate the database with ./bin/ragflow_server --migrate, then start the four services --admin, --ingestor, --syncer, and --api separately.
Limitations: Docker recommends 4 CPU cores, 16 GB memory, and 50 GB disk, and actual requirements depend on the document engine, data volume, parsing tasks, and concurrency; Docker >= 24.0.0, Docker Compose >= v2.26.1; when using Elasticsearch, vm.max_map_count must be set to at least 262144; macOS is currently not supported; the open-source 1.0 version of DeepDoc uses CPU inference for layout analysis, OCR, and table recognition.