
Docs & PDF Q&A
Khoj
Your personal AI second brain that learns from your knowledge.
★ 37k
August 2026
AGPL-3.0
Docs & PDF Q&A
What it does
Khoj helps you build your own AI companion that learns from your personal knowledge base, including notes, PDFs, and images. It acts as your 'second brain,' answering questions based on the information you've provided.
Summary based on the project's own description. The Japanese page has a fuller beginner guide: setup difficulty, what to prepare, and a step-by-step start.
Screenshots & visuals

Before you start
- Setup difficultySome setup needed
- Command lineRequired
- API keyRequired
- Sends data onlineYes
Judged automatically from the project's own metadata. Always confirm on the official page.
Khoj FAQ
- Is Khoj free?
- Khoj itself is free, but it needs an API key for an external AI service. That service charges separately, though some have a free tier.
- Do I need to install anything or write code to use Khoj?
- You install it like a normal desktop app. No command line involved.
- Does Khoj work on a phone?
- No. It needs a computer.
- Can I use Khoj commercially?
- The licence is AGPL-3.0. Using it commercially is fine, but if you distribute something built on it you may be required to release that under the same licence. Keep it internal, or check before distributing.
How it compares
The conditions that decide whether you can actually use it, side by side.
| Tool | Command line | API key | Sends data out | Phone | Commercial use |
|---|---|---|---|---|---|
| Khoj (this page) | Required | Required | Yes | No | Yes |
| LangChain | Required | Required | Yes | No | Yes |
| Docling | Required | Not needed | No | No | Yes |
| llm-app | Required | Required | Yes | No | Yes |
"Sends data out" means your input is uploaded to someone's server. Pick "No" when the material cannot leave your organisation.