Skip to main content
RAG & Knowledge BasesStart here

RAGFlow

infiniflow / ragflow

A RAG platform with document parsing, chunking, retrieval and citations, built to get a knowledge base running.

94.4k stars 11346 forks Go Language Apache-2.0 License Last push 2026-11-18

Why choose it

  • Document parsing and chunking are included, not left as an exercise.
  • Citations make answers auditable.
  • A full platform shortens the path to a working knowledge base.

Not for

You need a thin library inside an existing app.
You cannot operate a stateful service and document store.

Minimum setup

  1. Load 20 representative documents and inspect the parsed chunks.
  2. Ask five questions and check the citations.
  3. Test a question whose answer is not in the corpus.

Dependencies and cost

Check runtime, model weights and external service dependencies in the README.

License and usage boundaries

Code is Apache-2.0; model weights, training data and generated content may have separate terms — check each before commercial use.

Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.

Alternatives and neighbors

  • Dify — Start here,A visual platform for prompts, RAG, agents, workflows and model connections.
  • LlamaIndex — Production,A data framework for RAG and application layers: connectors, indexes, retrieval, query engines and agents.
  • Haystack — Production,A pipeline framework that wires retrieval, generation, evaluation and routing, with an engineering and testable focus.

Next steps

  • Open GitHub and read the README, LICENSE, latest release and issues first.
  • Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
  • Run a small sample first, then decide on production; never start with production data.

GitHub repository ↗ Docs ↗ Add to compare

Snapshot: stars / forks / language / license / pushed_at come from the GitHub API snapshot on 2026-11-20; later changes are not written back. Tags and “fit / not fit” are editorial judgments, not GitHub metadata.
No endorsement: this site only indexes and flags risks; it does not audit code, guarantee security or make license decisions for you. Review repository scripts and model weights yourself.