khoj

khoj

RAG / Q&A

khoj-ai/khoj

38.0K2.5KPythonAGPL-3.0

Turns your own documents and the web into a chat-based AI knowledge base that can also run scheduled research tasks for you.

🏗️ Agent Building⚙️ Automation Workflows⚡ Productivity🏠 Local Runtime
khoj preview
Preview card generated by GitHub from the repository. Star counts on the card may lag behind the figures above.
Tool Info
Type🐙 Open Source
Stars38.0K
Forks2.5K
LanguagePython
LicenseAGPL-3.0
Unlock the full analysis — free
You're reading the public preview of khoj. The AI-written pros & cons, use cases, setup guide and audience fit are free with an account — no credit card. Pro adds AI comparisons (50 per 30 days) and member daily & weekly reports.

Let your AI agent install it

project-specific

Copy this into Claude Code, Codex, Cursor, or any assistant that can run commands. It carries this project's own install command and verification step.

Install and configure khoj on my machine.
Repository: https://github.com/khoj-ai/khoj

What this project is: Turns your own documents and the web into a chat-based AI knowledge base that can also run scheduled research tasks for you.

Installation given by the repo's docs (if it's stale, follow the current README):
whatever the README prescribes

Verify it works with this (also per the repo's docs):
whatever minimal example the README gives

Prerequisites and caveats: nothing unusual — check the README

Requirements:
1. Read the repo's README and install docs first — check whether the commands above still apply and whether dependencies are complete. Don't guess.
1b. **If it turns out not to be installable software** (a dataset, project template, config collection, documentation, design assets, or a phone app), tell me what it actually is and how it should be used, then proceed that way — don't force an install flow.
2. Choose steps for my OS (macOS / Linux / Windows). If unsure, ask me first — no destructive operations.
3. Actually run the verification step above and paste the real output, so we know it runs — not "it should work".
4. Ask before you need an API key, admin rights, or a large download / significant disk usage.
5. Finally tell me in a few lines: how to start it, how to uninstall it, and where the config lives.

Compare khoj with alternatives

See how it stacks up against other rag / q&a tools.