R2R
Production RAG platform with a REST API, hybrid search, knowledge graphs and an agentic Deep Research mode.
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
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)
| License | MIT |
|---|---|
| Type | Permissive: MIT / Apache-2.0: use, modify and sell with few obligations. |
| Internal business use | Allowed under the license text |
| What to watch | Permissive. 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). |
|---|---|
| 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. |
| 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. |
| 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.
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
- RAGFlow RAG engine with deep document parsing (OCR, layout and tables) and cited answers. Compare R2R vs RAGFlow
- AppFlowy Open-source Notion-style AI workspace (docs, databases, boards) with desktop apps and a self-hosted cloud server. Compare AppFlowy vs R2R
- AFFiNE Notion- and Miro-style workspace (docs, whiteboards, databases) with built-in AI, self-hostable with Docker. Compare AFFiNE vs R2R
- AnythingLLM All-in-one private chat with your documents, agents and an embeddable widget. Compare AnythingLLM vs R2R
- PrivateGPT API-first private document Q&A that sits on top of your own LLM server. Compare PrivateGPT vs R2R
- Open Notebook Private, self-hosted alternative to Google NotebookLM with your choice of AI models. Compare Open Notebook vs R2R
- LightRAG Graph-based RAG server that builds a knowledge graph from your documents, with a web UI and REST API. Compare LightRAG vs R2R
- Langchain-Chatchat Chinese-first local knowledge-base Q&A and agent app built on LangChain, wired to local model servers. Compare Langchain-Chatchat vs R2R
- WeKnora Tencent's open-source knowledge-base and agent platform with document parsing, RAG and team workspaces. Compare R2R vs WeKnora
- Onyx (formerly Danswer) AI chat and enterprise search connected to 50+ workplace apps. Compare Onyx (formerly Danswer) vs R2R
- Karakeep Self-hosted bookmark and read-later app (formerly Hoarder) with AI tagging, summaries and full-text search. Compare Karakeep vs R2R
- FastGPT Knowledge-base Q&A and visual AI workflow platform. Compare FastGPT vs R2R
- kotaemon Open-source RAG web app for chatting with your documents, with citations and GraphRAG. Compare kotaemon vs R2R
- MaxKB Enterprise knowledge-base and agent platform with RAG and workflows. Compare MaxKB vs R2R
- LocalGPT Chat with your documents through a local RAG stack that talks to Ollama. Compare LocalGPT vs R2R
- Linkwarden Collaborative bookmark preservation with configurable AI tagging. Compare Linkwarden vs R2R
- DocsGPT Open-source platform for AI agents and assistants that answer from your documents with sources. Compare DocsGPT vs R2R
- QAnything Local knowledge-base Q&A over many file types, with hybrid search and cited answers, started with one Docker Compose command. Compare QAnything vs R2R
- OpenAgent Self-hosted AI assistant with RAG, agent tools, SSO and an admin UI, shipped as a single binary. Compare OpenAgent vs R2R
- PipesHub Self-hosted workplace search and AI answers across 50+ connected apps, filtered by each user's permissions. Compare PipesHub vs R2R
- Morphik Core Multimodal document retrieval engine for RAG over PDFs, images and visually rich files, with an API, SDKs and MCP. Compare Morphik Core vs R2R
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
- GitHub repository: github.com/SciPhi-AI/R2R
- Official documentation, Deploy instructions, Gotcha 4: github.com/SciPhi-AI/R2R#readme
- License text: github.com/SciPhi-AI/R2R/blob/main/LICENSE.md
- Hardware requirements, Gotcha 2, Gotcha 3: github.com/SciPhi-AI/R2R/blob/main/llms.txt
- Gotcha 1: github.com/SciPhi-AI/R2R/tree/main/docker
- Hetzner Cloud pricing (cost estimate): www.hetzner.com/cloud/regular-performance
- GitHub stars, commits and releases: GitHub REST API, fetched
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.