talira

Agentic Retrieval-Augmented Generation (RAG) with a RESTful API

open sourceMITself-hostablefree

R2R looks abandoned: nothing has changed since November 2025, and its makers haven't said it has ended.

No commits since November 2025, new issues and pull requests get no replies, and SciPhi's docs site and hosted app no longer load.

R2R is SciPhi's MIT-licensed retrieval system: a Python server with a REST API and Python and JavaScript SDKs that ingests documents, indexes them and answers questions over them with citations. It parses text, PDF, JSON, images, audio and more, stores chunks and embeddings in PostgreSQL with pgvector, fuses semantic and full-text search with reciprocal rank fusion, and can extract entities and relationships into a knowledge graph per collection for GraphRAG search. It has users, collections and access control, a web dashboard, an agentic RAG endpoint and a Deep Research API that can also search the web; a light mode runs from pip install r2r, and the full Docker setup adds Hatchet for ingestion jobs and Unstructured for parsing. It looks abandoned: the last commit was in November 2025, issues and pull requests since then have no replies, and SciPhi's documentation site and hosted app no longer load.

Problems it solves

  • a self-hosted RAG server with a REST API that I can send documents to and query from any language
  • ingest PDFs, images, audio and JSON into one searchable knowledge base without writing parsers
  • combine vector similarity and Postgres full-text search with rank fusion for my document search
  • extract entities and relationships from my documents into a knowledge graph and query it alongside vector search
  • per-user document collections with access control in my RAG backend so people only search their own files
  • an API that answers questions over my documents with citations to the source chunks
  • a deep research agent that searches both my documents and the web to answer complex questions
  • keep all of my RAG data in Postgres with pgvector instead of adding a separate vector database
  • a RAG backend with a web dashboard to upload documents, manage collections and try searches
  • run a document question answering server with Ollama models instead of sending my files to OpenAI

Features

  • REST API with Python (r2r) and JavaScript (r2r-js) SDKs
  • multimodal ingestion: .txt, .pdf, .json, .png, .mp3 and more, or pre-processed chunks
  • hybrid search: pgvector similarity plus Postgres full-text search, fused with reciprocal rank fusion
  • knowledge graphs: automatic entity and relationship extraction per collection, graph communities and GraphRAG search
  • RAG with citations and an agentic RAG endpoint
  • Deep Research API that searches the knowledge base and the web
  • users, superusers, collections and document access control
  • R2R dashboard for documents, collections and searches
  • LLM and embedding providers through LiteLLM, including Ollama
  • light mode (pip) or full mode with Docker Compose, Hatchet, Unstructured and Postgres with pgvector

Capabilities

Has an APIplan not known
Has official SDKsplan not known

Alternatives

The same job

These do what R2R does.

  1. LightRAG Simple and Fast Retrieval-Augmented Generation
  2. Dify Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace
  3. RAGFlow Build a superior context layer for AI agents
  4. Cognee The open-source AI memory platform for agents
  5. Haystack Open-source AI orchestration framework for building production-ready LLM applications in Python
  6. LlamaIndex A Python toolkit for building LLM-powered agents over your data

Compare R2R with the top 3