R2R  by SciPhi-AI

Production-ready AI retrieval system with agentic RAG

created 1 year ago
7,123 stars

Top 7.4% on sourcepulse

GitHubView on GitHub
Project Summary

R2R is a production-ready, agentic retrieval-augmented generation (RAG) system designed for AI developers and researchers. It provides a RESTful API for seamless integration into applications, enabling state-of-the-art retrieval capabilities to enhance large language models (LLMs).

How It Works

R2R employs an agentic approach, allowing the retrieval system to dynamically decide what information to fetch and when, rather than relying on static queries. This is achieved through a sophisticated pipeline that orchestrates LLM-driven decision-making with efficient vector database lookups and data processing. The system is built for scalability and performance, optimizing the retrieval process for complex, real-world data.

Quick Start & Requirements

  • Install via pip: pip install r2r
  • Requires Python 3.10+ and a PostgreSQL database with the pgvector extension.
  • Docker Compose is recommended for easy setup and management of dependencies.
  • Official documentation: https://r2r.readthedocs.io/en/latest/

Highlighted Details

  • State-of-the-art RAG performance with agentic capabilities.
  • Production-ready with a focus on scalability and reliability.
  • RESTful API for easy integration.
  • Supports various data sources and embedding models.

Maintenance & Community

Licensing & Compatibility

  • Apache 2.0 License.
  • Permissive license allows for commercial use and integration into closed-source projects.

Limitations & Caveats

The system is designed for advanced users and requires familiarity with RAG concepts, LLMs, and database management. While production-ready, extensive customization may be needed for highly specialized use cases.

Health Check
Last commit

1 month ago

Responsiveness

1 day

Pull Requests (30d)
5
Issues (30d)
12
Star History
438 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems).

super-rag by superagent-ai

0.3%
380
RAG pipeline for AI apps
created 1 year ago
updated 1 year ago
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems) and Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind).

LightRAG by HKUDS

1.0%
19k
RAG framework for fast, simple retrieval-augmented generation
created 10 months ago
updated 14 hours ago
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Tim J. Baek Tim J. Baek(Founder of Open WebUI), and
2 more.

llmware by llmware-ai

0.2%
14k
Framework for enterprise RAG pipelines using small, specialized models
created 1 year ago
updated 1 week ago
Feedback? Help us improve.