ragflow
Open-source RAG engine with document understanding and agentic retrieval
Overview
RAGFlow is an open-source engine that pairs retrieval-augmented generation with agent capabilities, using deep understanding of documents to build a context layer for large language models. It targets both individual users and organizations of any size, offering a RAG workflow that scales from personal experiments to enterprise deployments. The project is developed in the open and provides cloud access as well as local installation options.
The product's main job is turning complex, inconsistently formatted material into answers the user can trace back to sources. Text is parsed and chunked so that citations are visible and hallucinations are reduced. A visualization of chunking lets people step in and adjust how content is divided, and answers surface the key references behind them.
What distinguishes RAGFlow is the mix of retrieval and agent behavior in one system. Agentic retrieval can break a hard question into parts, fetch evidence, and reason across several rounds, with thinking modes that let the user dial reasoning depth. Knowledge Compilation turns content into structured artifacts such as Wikis, Graphs, Trees, PageIndex, Mind Maps, Timelines, and Skills, and pre-built agent templates shorten the path from raw data to a working AI system.
Best for
- AI developers
- RAG engineers
- Data engineers
- Knowledge managers
- Platform engineers
- Enterprise software
- Information technology services
How to use
- Confirm your host meets the recommended starting resources and that Docker and Docker Compose are installed.
- If the default Elasticsearch engine is used, raise the vm.max_map_count kernel setting on the Docker host.
- Clone the RAGFlow repository and move into its docker directory.
- Check out a release tag and launch the services and dependencies with Docker Compose.
- Verify the deployment by confirming containers are running and the health check endpoint returns success.
- Open the web interface in a browser and log in to continue setting up models and data.
What it can do
How it works
Setup starts with a Docker-based deployment. The repository is cloned, a release tag is checked out, and Docker Compose brings up the RAGFlow services along with their dependencies. One container runs the API server, ingestion workers, and data synchronization, and its startup script applies database migrations before services begin. Default passwords in the environment file should be changed before exposing the service to a network. A health check endpoint confirms readiness before the web interface is used.
After signing in, the operator connects a Chat model and an Embedding model through the model provider settings, then creates a dataset, uploads a document, and starts a chat. Third-party components in the default profile include Elasticsearch, MySQL, MinIO, Kvrocks, NATS, and ClickHouse, and document engine choices are configured through environment variables. People remain in the loop at several points: they review and adjust chunking, choose thinking depth, configure compilation models and rules, and decide what to publish or connect through the APIs.
Retrieval and reasoning run across multiple steps on their own, but users configure models and rules, inspect chunking, choose thinking depth, and review cited answers, so human oversight remains part of the workflow.
Where it fits
- Ask questions over a set of mixed-format business documents and inspect the citations returned.
- Break a difficult question into sub-questions and retrieve supporting evidence across several rounds.
- Compile a dataset into a graph or timeline to organize knowledge for reuse.
- Ingest website pages through a sitemap and keep BigQuery data synchronized incrementally.
Good fit
- Teams that need a retrieval-augmented generation layer to answer questions over mixed document types with citations.
- Developers building multi-step retrieval and reasoning agents for complex questions using configurable thinking depth.
- Organizations reconciling content from many formats and sources, including web pages gathered through sitemaps.
- Evaluators who want to run the open-source engine locally with Docker before committing.
Not a fit
- Users who require a native macOS Go backend, which the documentation says is not currently supported.
- Deployments on very modest hardware: the docs list a suggested initial resource footprint of 4 CPU cores, 16 GB RAM, and 50 GB disk, with heavier needs depending on engine and workload.
- Anyone expecting hosted cloud pricing details in these materials; the docs point to the cloud service but list no plans or prices.
How to evaluate
- Confirm the host meets the documented starting resources and has Docker and Docker Compose at the stated minimum versions.
- Check which document engine you plan to use and whether engine-specific host settings, such as the Elasticsearch map count, apply.
- Verify access to the dependency image and to a chat model and embedding model before setup.
- Decide whether CPU-only DeepDoc inference in the open-source 1.0 release suits your parsing workload.
- Review the deployment environment file for default passwords and ports before exposing the service to a network.
Our take
RAGFlow is an open-source retrieval-augmented generation engine that pairs document understanding with agent-style retrieval. It emphasizes traceable citations and lets you choose how deeply a question is analyzed and re-retrieved. Setup runs through Docker Compose, with database migrations handled at startup, and it needs external chat and embedding models to operate. The materials provide detailed operational guidance but no public pricing, so cost planning depends on the cloud service or your own infrastructure.
Alternatives
| Agent | Pricing | Autonomy | Best for |
|---|---|---|---|
| deer-flow | — | Supervised | Software developers, AI and agent engineers, Research engineers, Technical teams building agent workflows, Data pipeline builders |
| anything-llm | — | Supervised | IT administrators managing private AI instances, Developers building custom integrations, Teams evaluating local versus cloud model providers, Knowledge workers querying internal documents, Operations staff scheduling recurring agent tasks |
| Vane | — | Assistant | Privacy-conscious researchers, AI developers testing local models, Technical writers and documentation specialists, Students doing academic research, Data analysts comparing model outputs |
| FrontierAgent | — | Supervised | Research analysts, Developers building agent workflows, Benchmark and evaluation engineers, Data and file-processing specialists, Technical operations staff |
| Sidekick | — | Supervised | Researchers, Students, Writers and editors, Software developers, Knowledge workers, Analysts |
| claude-scientific-writer | — | Supervised | Research scientists, Academic writers, Principal investigators drafting grant proposals, Clinical researchers, Graduate students and postdoctoral researchers, Data scientists preparing publications, Medical writers |
FAQ
- What is RAGFlow in one sentence?
- It is an open-source RAG engine that adds agent capabilities to build a context layer for large language models, answering questions with citations from your documents.
- Which file types can I bring in?
- The documentation lists common office documents, text and image files, PDFs, scans, structured data, and web pages among supported inputs, along with sitemap-based website ingestion.
- How do I get started?
- Use Docker Compose with the release tag, then follow the short tutorial to configure a chat model and an embedding model, create a dataset, upload a document, and start chatting.
- What hardware should I plan for?
- The docs suggest beginning with roughly 4 CPU cores, 16 GB of memory, and 50 GB of free disk, noting that real needs vary with the engine, volume of data, and concurrent work.
- Does it run on macOS?
- The Go backend documentation states that macOS is currently unsupported, so the documented path is a Linux host matching your target architecture.
- Do I need separate language and embedding models?
- Yes. A chat model generates answers and an embedding model makes content searchable; you configure providers and select defaults in user settings.
- How is pricing structured?
- These materials do not publish a pricing model or plan details, though they mention a cloud service. Check the cloud site directly for current terms.
- How does agentic retrieval work?
- For complex questions the model can break the question down, retrieve in several rounds, and verify evidence, with Low through Ultra thinking modes controlling depth.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/agents/ragflow"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.