AGPL-3.0freeRuns locallyWriting & Office
Khoj: Open-Source Second Brain (Notion AI Class)
AGPL-3.0 self-hostable “second brain” for docs, web answers, agents, and local or API LLMs.

- License
- AGPL-3.0
- Stars
- 37,748 (2026-10-19)
- Platforms
- Docker, Linux, macOS, Windows
- First seen
- 2021-08-16
TL;DR. Khoj is AGPL-3.0 self-hostable “second brain” for docs, web answers, agents, and local or API LLMs. License: AGPL-3.0 (verified). Platforms: Docker, Linux, macOS, Windows. Price: free. Runs locally: yes. It is an alternative to Notion AI.
| Name | Khoj |
|---|---|
| Language | Python |
| License | AGPL-3.0 |
| Pricing | free |
| Platforms | Docker, Linux, macOS, Windows |
| Runs locally | Yes |
| Stats | 37,748 stars · 2,523 forks (as of 2026-10-19) |
| First seen | 2021-08-16 |
| Repository | https://github.com/khoj-ai/khoj |
Khoj is an AGPL-3.0 personal AI. Official hosts we opened on 2026-10-19: khoj-ai/khoj (37,748 stars, 2,523 forks, created 2021-08-16, last push 2026-08-02), khoj.dev.
It hangs off Notion AI alternatives. Also AnythingLLM, RAGFlow.
FAQ
Is Khoj a Notion AI alternative?
People search it for local Q&A over docs. It is AGPL-3.0 (37,748 stars). Last push 2026-08-02 in this check. No quality ranking against Notion AI.
Self-host?
The README describes a self-hostable second brain. We have not run the Docker recipe.
License vs AnythingLLM?
Khoj is AGPL-3.0; AnythingLLM is MIT. Not legal advice. See Notion AI alternatives.
Sources & verification
License notes are not legal advice. Read the original LICENSE. Trademark & disclaimer.