Skip to main content
RAG & Knowledge BasesProduction

R2R

SciPhi-AI / R2R

A production-oriented RAG service: document ingestion, hybrid retrieval, knowledge graphs, agentic RAG, users and tenants, with a REST API and web UI.

8.1k stars 654 forks Python Language MIT License Last push 2025-11-07

Why choose it

  • Ingestion through serving is one service.
  • Hybrid retrieval and graph features are included.
  • Tenant and user management are built in.

Not for

You need a lightweight library.
You cannot operate a service with a database and API.

Minimum setup

  1. Ingest a small corpus and run a hybrid query.
  2. Create two tenants and test isolation.
  3. Compare agentic and plain RAG on the same question.

Dependencies and cost

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

License and usage boundaries

Code is MIT; 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

  • RAGFlow — Start here,A RAG platform with document parsing, chunking, retrieval and citations, built to get a knowledge base running.
  • Dify — Start here,A visual platform for prompts, RAG, agents, workflows and model connections.
  • GraphRAG — Scale / performance,Microsoft’s GraphRAG implementation: extract entities and relations from text, build communities, generate summaries and support global and local queries.

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.