Khoj logo

Khoj

Self-hostable AI second brain — answers from your docs and the web

AGPL-3.00 official clientsData verified
GitHub stars
38,212
Docker pulls
Not documented
R2R logo

R2R

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

MIT0 official clientsData verified
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 — product screenshot
Screenshot from https://khoj.dev/social-banner.jpg · captured 2026-10-29 · Nominative fair use illustration for factual comparison; takedown requests honoured within 48h.

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)
Full profile

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
Full profile

Side-by-side comparison

DimensionKhojR2R
CategoryAI / LLM Chat UIAI / LLM Chat UI
LicenseAGPL-3.0MIT
Primary languagePythonPython
GitHub stars▲38,2128,106
GitHub forks▲2,561654
Open issues179132
Docker pullsNot documentedNot documented
Latest version2.0.0-beta.28v3.6.5
Platforms with an official client00
Third-party clients00
Deployment methods▲31
Data last verifiedNov 23, 2026Nov 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.

All comparisons →

Platform matrices