Skip to content

ragflow

Self-hosted RAG engine that parses complex documents and cites its sources

Permissive (OSI) · Apache-2.0 AI-native

Listed by , founder & editor

90

Health

Thriving

Overview

Stars

94,636

Last commit

today

Nov 2026

Repository age

2 years

since Dec 2023

Latest version

v1.0.0

Nov 2026

Contributors

–

41 active in 90 days

Releases

23

last 12 months

Docker pulls

4.1M

infiniflow/ragflow

Language

Go

RAGFlow is an Apache-2.0 licensed Retrieval-Augmented Generation engine with agent features. It extracts knowledge from unstructured files, chunks the text by template, and retrieves context for an LLM to answer questions. It accepts Word, PowerPoint, Excel, TXT, images, PDFs, scans, structured data and web pages. Recent releases added website ingestion through sitemaps and Google BigQuery sync.

Chunking can be visualized so a person can step in and correct it. Answers carry traceable citations to the source chunks. Retrieval uses multiple recall paired with fused re-ranking, and you configure both the LLM and the embedding model. Agentic retrieval breaks complex questions into steps and checks evidence, with Low, Medium, High and Ultra thinking modes. Knowledge Compilation turns content into wikis, graphs, trees, mind maps, timelines and skills.

You can run it with Docker, or launch it from source. A cloud service is also available. It was first committed in 2023 and shipped 23 releases in the last year. It suits teams building document question-answering or agent systems on their own infrastructure.

Who it's for

Developers building document Q&A over messy files

It parses PDFs, scans, spreadsheets and slides, then returns answers with citations.

Skip if: Your data is clean text and a simple vector search is enough.

Enterprise teams that must keep documents on their own servers

Docker deployment lets you run it yourself with the models of your choice.

Skip if: You want a fully managed service without operating infrastructure.

Teams building agents that need multi-step retrieval

Agentic retrieval and templates handle complex questions with adjustable depth.

Skip if: Single-pass lookups already meet your needs.

The problem it solves

Getting accurate LLM answers from real company documents is hard because files come in messy formats and models invent facts. RAGFlow parses the documents, retrieves context and points to the sources behind each answer.

Strengths

  • Reads Word, PowerPoint, Excel, PDFs, scans, images and web pages
  • Answers include traceable citations and visible chunking
  • Configurable LLM and embedding models
  • Docker deployment, with 4 million image pulls
  • 34 contributors active in the last 90 days

Trade-offs

  • A full RAG stack is heavier to run than a simple vector library
  • Agentic and Ultra thinking modes depend on the LLM you configure
  • The project is fast-moving, so expect frequent changes

Self-host ragflow

Self-hostable
Yes
Docker image
infiniflow/ragflow

Frequently asked questions

Is it free?

Yes. The code is Apache-2.0 licensed. A separate cloud service is also offered.

Can I self-host it?

Yes. You can deploy with Docker or launch it from source.

Which file types does it handle?

Word, PowerPoint, Excel, TXT, images, PDFs, scanned copies, structured data and web pages.

Can I choose my own models?

Yes. Both the LLMs and the embedding models are configurable.

Similar tools in RAG and semantic search

vespa

RAG and semantic search

Search and recommendation engine for vectors, text and structured data at scale

7.2k 753 today Thriving Apache-2.0

Open-Notebook

RAG and semantic search

Self-hosted research notebook with chat, search and podcasts across 20+ AI providers

42k 4.8k 6 days ago Thriving MIT

Replaces NotebookLM

private-gpt

RAG and semantic search

Open-source API layer for building private RAG apps on top of local LLM servers

58k 7.6k today Active Apache-2.0

serviette

RAG and semantic search

No-code RAG server that answers from a document folder and stays in sync with edits

59k 1.5k 13 days ago Active MIT

DocsGPT

RAG and semantic search

Self-hosted AI agents that answer from your documents and cite their sources

18k 2.3k today Thriving MIT

openviking

RAG and semantic search

Context database that gives AI agents memory, knowledge and skills as a browsable

43k 3.6k today Thriving AGPL-3.0