#3939th of 39 in RAG, knowledge and search

r2r

RAG server with REST API, hybrid search, knowledge graphs and a research agent

Stars
8k
License
MIT
Last commit
Nov 2025
Last release
Jun 2025
Language
Python
Stars, last 29 weeks+373
1 Apr 2026: 7,663 stars8 Apr 2026: 7,683 stars15 Apr 2026: 7,697 stars22 Apr 2026: 7,700 stars29 Apr 2026: 7,716 stars6 May 2026: 7,734 stars13 May 2026: 7,752 stars20 May 2026: 7,776 stars27 May 2026: 7,802 stars3 Jun 2026: 7,821 stars10 Jun 2026: 7,831 stars17 Jun 2026: 7,841 stars24 Jun 2026: 7,849 stars1 Jul 2026: 7,865 stars8 Jul 2026: 7,880 stars15 Jul 2026: 7,893 stars22 Jul 2026: 7,903 stars29 Jul 2026: 7,913 stars5 Aug 2026: 7,920 stars12 Aug 2026: 7,931 stars19 Aug 2026: 7,948 stars26 Aug 2026: 7,955 stars2 Sept 2026: 7,963 stars9 Sept 2026: 7,977 stars16 Sept 2026: 7,985 stars23 Sept 2026: 7,994 stars30 Sept 2026: 8,004 stars7 Oct 2026: 8,009 stars14 Oct 2026: 8,020 stars21 Oct 2026: 8,036 stars

7,663 on 1 Apr 20268,036 on 21 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

R2R is a retrieval-augmented generation server built around a RESTful API, with Python and JavaScript SDKs. It ingests documents (txt, pdf, json, png, mp3), runs hybrid semantic and keyword search with reciprocal rank fusion, and extracts entities and relationships into knowledge graphs. A Deep Research agent does multi-step reasoning over your knowledge base and optionally the web.

Who it is for: Developers building document Q&A or agentic RAG backends over a REST API

Strengths

  • Hybrid search combines semantic and keyword results with reciprocal rank fusion
  • Python and JavaScript SDKs over one REST API (examples use port 7272)
  • Includes user auth, collections and document management
  • Light mode runs from pip install; full mode uses Docker Compose with Postgres

Weaknesses

  • Last release was 2025-06-06; later commits are unreleased
  • README gives no RAM or hardware requirements
  • Examples assume hosted LLMs (OpenAI, Anthropic); local model setup not shown
  • No bundled chat UI described in the README

What it needs

  • Compose
  • Needs OpenAI API key (default in quick start), Postgres (full mode via Docker Compose)
  • Models: OpenAI, Anthropic
  • port 7272

Also in RAG, knowledge and search

See all 39
Also in RAG, knowledge and search
RankProjectScore
1deeptutorSelf-hosted AI tutor with knowledge bases, guided learning, books and quizzes42k starsApache-2.082 out of 100
2LightRAGGraph-based RAG framework with a REST API server and web UI40.3k starsMIT78 out of 100
3MorphicAI answer engine with cited search results and generative UI components9.2k starsApache-2.077 out of 100
#4MaxKBEnterprise knowledge-base agent platform with RAG, workflows and MCP tools23k starsGPL-3.075 out of 100
#5RAGFlowRAG engine with deep document parsing, template chunking and agentic retrieval Live demo ↗ (opens in a new tab)92.6k starsApache-2.074 out of 100