R2R

Production RAG platform with a REST API, hybrid search, knowledge graphs and an agentic Deep Research mode.

Stale (no commit in 180+ days) Knowledge base & RAG MIT

Quick answer

R2R is a production RAG platform with a REST API, hybrid search, knowledge graphs and an agentic Deep Research mode, listed under Knowledge base & RAG. A typical small-business use: rAG API backend for internal tools that need citations over company documents. The project publishes no official RAM figure, so we do not estimate a monthly server cost. License: MIT, which allows internal business use. Activity is low: the last commit was on Nov 7, 2025.

Last updated · facts verified against official docs on · sources

Low recent activity. The last commit on the default branch was 381 days ago (Nov 7, 2025). Check the gotchas below before deploying.
GitHub stars8.1k
Forks654
Latest releasev3.6.5Jun 6, 2025
Last commitNov 7, 2025
Est. server cost—

Activity data comes from GitHub and was last refreshed Nov 23, 2026.

What is R2R?

R2R (by SciPhi / EmergentAGI) is an open-source retrieval system built around a RESTful API. It ingests multimodal documents, runs hybrid (semantic + keyword) search with reciprocal rank fusion, builds knowledge graphs, and serves RAG and multi-step Deep Research agents. A light mode runs from a pip install; full mode uses Docker Compose with Postgres/pgvector, MinIO, Hatchet and a dashboard. Official hosted docs at r2r-docs.sciphi.ai were unreachable when verified; use the GitHub README and in-repo llms.txt / docker compose files.

Where it fits in a 10–200 person business

  • RAG API backend for internal tools that need citations over company documents
  • Agentic research over a private corpus with hybrid search and knowledge graphs
  • Multimodal document store (PDF, audio, images) with user and collection access controls

These use cases are our editorial suggestions, not claims made by the project.

Can a business use R2R? (license)

LicenseMIT
TypePermissive: MIT / Apache-2.0: use, modify and sell with few obligations.
Internal business useAllowed under the license text
What to watchPermissive. Internal and commercial use allowed; keep the copyright notice.

This is a plain-English summary of the license text, not legal advice. Third-party models you run with it have their own licenses.

Data & compliance: does R2R phone home?

Telemetry (usage data sent to the vendor) On by default

Anonymous feature usage, performance metrics and error logs are collected by default.

How to turn it off: Set TELEMETRY_ENABLED=false (or 0 / f).

Source: github.com/SciPhi-AI/R2R/blob/main/llms.txt

Other calls home by default (updates, marketplaces, default cloud services) Yes, by default

Embedding and LLM calls go to the providers you configure (OpenAI and others via LiteLLM). Telemetry is separate (see above).

Source: github.com/SciPhi-AI/R2R#readme

Single sign-on (OIDC / SAML / LDAP) Not documented

Built-in JWT auth (r2r provider) plus Clerk and Supabase auth provider modules exist in the repo; whether OIDC/SAML/LDAP enterprise SSO is first-class is not clearly documented in the reachable README/llms.txt.

Source: github.com/SciPhi-AI/R2R/blob/main/llms.txt

Audit log Not documented
Role-based access control (RBAC) Basic free, more in paid plan

Users, collections and superuser/admin capabilities are documented; fine-grained SSO-backed RBAC is unclear from public docs.

Source: github.com/SciPhi-AI/R2R/blob/main/llms.txt

Data residency / GDPR notes from the project Not documented

Checked against the project's own docs and repository on . "Not documented" means we could not find the answer in official sources; it does not mean the feature is missing or that no data is sent. Third-party services you connect (model APIs, vector databases, search engines) have their own data policies. Compare all apps.

What hardware does R2R need?

The project does not publish a minimum CPU/RAM figure, so we leave the official value blank rather than guess.

No general CPU/RAM minimum is published. The in-repo GCP deployment guide suggests an n1-standard-4 (4 vCPU, 15 GB memory) or higher VM with a 500 GB boot disk as a starting point for that cloud path. Light mode is a Python process; full Compose also runs Postgres/pgvector, Hatchet and related services.

Source: github.com/SciPhi-AI/R2R/blob/main/llms.txt

How much does it cost to host R2R per month?

The project publishes no RAM figure we could verify, so we do not estimate a cost.

How to deploy R2R

Method: pip (light) or Docker Compose (full)

# Light mode
pip install r2r
export OPENAI_API_KEY=sk-...
python -m r2r.serve
# Full mode (from the docker/ directory in a clone)
# git clone https://github.com/SciPhi-AI/R2R.git && cd R2R/docker
# export R2R_CONFIG_NAME=full OPENAI_API_KEY=sk-...
# docker compose -f compose.full.yaml --profile postgres up -d
# API http://localhost:7272

From the official instructions: github.com/SciPhi-AI/R2R#readme. Always check the source for the current version before you run it.

Known gotchas when self-hosting R2R

  • Full Docker Compose files live under docker/ and expect you to run compose from that directory (env files are referenced as ./env/...). The top-level README shows compose.full.yaml without the docker/ prefix — cd into docker/ first. source
  • Default admin credentials are configured in r2r.toml (default_admin_email / default_admin_password example values include change_me_immediately). Change them before exposing the API. source
  • Telemetry is on by default and collects anonymous feature usage, performance metrics and error logs. Disable with TELEMETRY_ENABLED=false (also accepts 0 or f). source
  • Light mode and full mode differ substantially (Hatchet orchestration, dashboard, extra services). Prototyping on light and moving to full later means re-learning the Compose/env layout. source

Alternatives in Knowledge base & RAG

R2R FAQ

How much RAM does R2R need?

R2R does not publish an official RAM figure, so we do not state one. No general CPU/RAM minimum is published. The in-repo GCP deployment guide suggests an n1-standard-4 (4 vCPU, 15 GB memory) or higher VM with a 500 GB boot disk as a starting point for that cloud path. Light mode is a Python process; full Compose also runs Postgres/pgvector, Hatchet and related services.

How much does it cost to self-host R2R?

The software is free to download. The project publishes no official RAM figure, so we do not estimate a monthly server cost.

Is R2R free for commercial use?

R2R is licensed under MIT (Permissive). Internal business use is allowed under the license text. Permissive. Internal and commercial use allowed; keep the copyright notice. This is a summary, not legal advice.

What are common problems when self-hosting R2R?

Full Docker Compose files live under docker/ and expect you to run compose from that directory (env files are referenced as ./env/...). The top-level README shows compose.full.yaml without the docker/ prefix — cd into docker/ first. Default admin credentials are configured in r2r.toml (default_admin_email / default_admin_password example values include change_me_immediately). Change them before exposing the API. Telemetry is on by default and collects anonymous feature usage, performance metrics and error logs. Disable with TELEMETRY_ENABLED=false (also accepts 0 or f). Light mode and full mode differ substantially (Hatchet orchestration, dashboard, extra services). Prototyping on light and moving to full later means re-learning the Compose/env layout.

Is R2R still maintained?

Activity is low (no commit in 180+ days). Last commit: Nov 7, 2025. Latest release: v3.6.5 (Jun 6, 2025). Checked Nov 23, 2026.

How do I install R2R?

The official method is pip (light) or Docker Compose (full). The exact commands are in the "How to deploy" section above and in the official instructions: https://github.com/SciPhi-AI/R2R#readme

What are self-hosted alternatives to R2R?

Other apps in Knowledge base & RAG: RAGFlow, AppFlowy, AFFiNE, AnythingLLM, PrivateGPT, Open Notebook, LightRAG, Langchain-Chatchat, WeKnora, Onyx (formerly Danswer), Karakeep, FastGPT, kotaemon, MaxKB, LocalGPT, Linkwarden, DocsGPT, QAnything, OpenAgent, PipesHub, Morphik Core.

Sources

Facts on this page were checked against the project's own repository and docs on 2026-11-07. Spotted something out of date? Tell us.