// rag · infiniflow/ragflow

ragflow

RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context…

★ 91.6k stars⑂ 10.9k forksApache-2.0updated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

ragflow is an open-source rag & knowledge project by infiniflow (infiniflow/ragflow on GitHub). It has 91,633 GitHub stars and 10,881 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 3 October 2026.

GitHub stars
91,633
Forks
10,881
License
Apache-2.0
Last updated on GitHub
3 October 2026
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Install the runtime

    One binary or app gets you a working local model setup.

  2. Download a model

    Pick a size that fits your RAM/VRAM; smaller models run on laptops.

  3. Chat or integrate

    Use the built-in UI, or point OpenAI-compatible clients at it.

  4. Go private

    Airplane mode works — your prompts never leave the device.

// features

Why people love it

Model choice

Swap between hundreds of open models freely.

OpenAI-compatible APIs

Existing tools plug in by changing one URL.

Document chat

Ask questions over your PDFs, notes, and codebases.

No subscriptions

Pay nothing per token, ever.

100% private

Prompts and documents stay on your hardware, always.

Extensible

RAG, tools, and agents build on the same base.

Advertisement
// run it

Run it yourself

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/infiniflow/ragflow.git
    cd ragflow
  2. Step 2 — Check the README

    Every project documents its own setup; start with install requirements.

    cat README.md | head -60
  3. Step 3 — Run it

    Follow the project's launch command — Docker, pip, npm, or a binary release.

    # see README for the exact launch command
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains ragflow?

It is an open-source project at infiniflow/ragflow with 10,881 forks. Check the repo's contributors and recent commits to see how active maintenance is.

Is ragflow free for commercial use?

Apache 2.0 licensed — commercial use allowed with attribution.

What hardware do I need?

8B models run on 16GB RAM; bigger models want a real GPU.

Which model should I start with?

A recent 8–32B instruct model is the sweet spot for most machines.

Is it really private?

Yes — with no network calls, there's nothing to leak.

// keep exploring

Similar tools

Local LLM

shimmy

⚡ Pure-Rust WebGPU inference engine — OpenAI-API compatible, GGUF native, runs on any GPU. No Python. No llama.cpp. Single binary.

★ 5.9k starsApache-2.0
View guide →
Local LLM

handy-ollama

动手学Ollama,CPU玩转大模型部署,在线阅读地址:https://datawhalechina.github.io/handy-ollama/

★ 2.5k starsUnknown
View guide →
Local LLM

lobehub

🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.

★ 83.0k starsCustom
View guide →
RAG & Knowledge

cocoindex

Incremental engine that keeps RAG indexes and agent context fresh by processing only the delta.

★ 11.7k starsApache-2.0
View guide →
RAG & Knowledge

Langchain-Chatchat

Local knowledge-base RAG and agent app built on LangChain with ChatGLM, Qwen and Llama models

★ 38.7k starsApache-2.0
View guide →
RAG & Knowledge

ragent

Ragent (容纳智能体): a production-grade Java Agentic RAG platform with hybrid retrieval and an admin console

★ 4.2k starsApache-2.0
View guide →
// alternatives

Alternatives in RAG & Knowledge

The most-starred other RAG & Knowledge projects in the LibreAI catalogue — the realistic shortlist if ragflow is not the right fit.

Get ragflow

Free and open — grab the source, star the repo, and start creating.