What it does
R2R takes in documents and lets AI answer questions about them with citations, a method called retrieval-augmented generation (RAG). It offers hybrid search, knowledge graphs and document management through an API.
A "Deep Research" feature pulls from your documents and the web for harder questions.
Who it's for
Developers building document search or question-answering into their apps.
Can I use it without coding?
Developers only. It is run as a server and used through code. New to this? Start here.
Can I run it?
- Cost
- Free, but needs an AI accountThe software is free, but it uses an online AI service (like OpenAI or Anthropic), which usually charges for use.
- Runs on
- Server
- Privacy
- Sends what you give it to an online service
- API key
- Needed. An API key is a password-like code from an online AI service. What's that?
Try it
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?
Before you install
- Only download from the official GitHub page. Copies with similar names exist for many popular projects.
- License (MIT): Very permissive: free to use, change and share, including for business.
- Keep your API key private. Never paste it into websites or share it, and set a spending limit with the AI service.
- What you type or upload is sent to an online service. Avoid sharing private or sensitive information.
- More on staying safe
Where people are talking about it
- Show HN: R2R V2 – A open source RAG engine with prod featuresHacker News · Jun 2024
- Show HN: R2R – Open-source framework for production-grade RAGHacker News · Feb 2024