Khoj
Self-hostable AI second brain — answers from your docs and the web
- GitHub stars
- 38,212
- Docker pulls
- Not documented
R2R
Agentic Retrieval-Augmented Generation (RAG) with a RESTful API.
- GitHub stars
- 8,106
- Docker pulls
- Not documented
What are Khoj and R2R?
Screenshots, feature checklists and deployment channels from the same database rows.

Khoj
Self-hostable AI second brain — answers from your docs and the web
Key features
- Chat with local or online LLMs
- Answer from web and personal docs
- Access from browser, Obsidian, Emacs, phone
- Create custom agents for any role
AI-drafted from upstream quotes — pending human review
- System requirements
- Not documented
- Build from source
- Docker
- Package (deb/rpm)
R2R
Agentic Retrieval-Augmented Generation (RAG) with a RESTful API.
Key features
- Multimodal ingestion for txt, pdf, json, png, mp3
- Hybrid search with semantic and keyword matching
- Automatic knowledge graph entity extraction
- Agentic RAG with reasoning agent
AI-drafted from upstream quotes — pending human review
- System requirements
- Not documented
- Build from source
Side-by-side comparison
| Dimension | Khoj | R2R |
|---|---|---|
| Category | AI / LLM Chat UI | AI / LLM Chat UI |
| License | AGPL-3.0 | MIT |
| Primary language | Python | Python |
| GitHub stars | ▲38,212 | 8,106 |
| GitHub forks | ▲2,561 | 654 |
| Open issues | 179 | 132 |
| Docker pulls | Not documented | Not documented |
| Latest version | 2.0.0-beta.28 | v3.6.5 |
| Platforms with an official client | 0 | 0 |
| Third-party clients | 0 | 0 |
| Deployment methods | ▲3 | 1 |
| Data last verified | Nov 23, 2026 | Nov 23, 2026 |
▲ = leads on countable metrics only (stars, forks, Docker pulls, official-client platforms, third-party clients, deployment methods). License, language, latest version, open issues and verification dates are shown side by side without a verdict — they are facts, not scores. Verification state per platform is on each app profile page.
Where each side leads
Where Khoj leads3
- GitHub stars — 38,212
- GitHub forks — 2,561
- Deployment methods — 3
Where R2R leads0
No countable metric where R2R is ahead of Khoj in the database.
Pricing
Khoj
Not documented
The schema has no pricing or paid-tier field, so no price is claimed for this app.
R2R
Not documented
The schema has no pricing or paid-tier field, so no price is claimed for this app.
Licence (AGPL-3.0 vs MIT) is the only cost-related field the database records, and it is a fact rather than a price.
Frequently asked questions
Are Khoj and R2R open source?
Khoj is licensed under AGPL-3.0, verified Oct 27, 2026. R2R is licensed under MIT, verified Oct 31, 2026.
Which one has more github stars?
Khoj has 38,212 stars and R2R has 8,106, both captured Nov 23, 2026.
Can I run Khoj and R2R with Docker?
Khoj: yes — 1 Docker image recorded (ghcr.io/khoj-ai/khoj). R2R: no Docker deployment row in the database.