R2R
Production-ready RAG engine with a RESTful API
R2R (RAG to Riches) is a retrieval-augmented generation engine that bundles ingestion, hybrid search, knowledge graphs, and agentic reasoning behind a single API. It is designed for self-hosted production deployment of document question answering.
Key features
- Hybrid and graph search
- Document ingestion pipeline
- Agentic RAG endpoints
- User and collection management
Strengths
- Released under the MIT license
- First-class Docker support for quick deployment
- Mature project with 8k GitHub stars
- Written in Python
Is R2R secure?
No confirmed vulnerabilities affect R2R's latest release (v3.6.5). OSV.dev lists 3 advisories for the project and links 2 of them to this release, but their version data doesn't confirm them. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.
2 unconfirmed matches
OSV.dev links these advisories to this release, but their own version data doesn't confirm it: they cover a separately versioned sub-package of the repository, or record the fix only as a commit. They are listed for completeness and not counted in the health score.
Matched by OSV, not confirmed
| Advisory | Severity | Summary |
|---|---|---|
| CVE-2026-82526 | Critical | R2R 3.6.6 SQL Injection via Vector Index Creation Endpoint |
| CVE-2026-82527 | High | R2R 3.6.6 SQL Injection via Retrieval Search Filter Key |
- Most recent fixed advisory CVE-2026-82271, published 2026-08-28 (47 days ago), fixed in 3.6.5
Source: OSV.dev, checked 2026-10-14. How this is measured.
R2R replaces
Health badge
Maintain R2R? Add its health score to your README. The badge links back to this page.
Compare R2R
6 head-to-head comparisons.
Similar self-hosted ai apps
OpenClaw
Self-Hosted AIThe AI that actually does things
Hermes Agent
Self-Hosted AIThe AI agent that grows with you
OpenCode
Self-Hosted AIThe open source AI coding agent
Replaces Claude Code, Cursor
Hugging Face Transformers
Self-Hosted AIState-of-the-art machine learning model library
Replaces OpenAI API
Dify
Self-Hosted AIOpen-source platform for building production LLM apps
Replaces OpenAI Assistants, Vertex AI Agent Builder
Langflow
Self-Hosted AIVisual framework for building AI agents and RAG pipelines
Replaces Vertex AI Agent Builder