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.

Khoj official social banner used to identify the self-hosted second-brain project
Official project image. Source · License: Khoj product image.
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.

NameKhoj
LanguagePython
LicenseAGPL-3.0
Pricingfree
PlatformsDocker, Linux, macOS, Windows
Runs locallyYes
Stats37,748 stars · 2,523 forks (as of 2026-10-19)
First seen2021-08-16
Repositoryhttps://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

Last verified 2026-10-19 · Last updated 2026-10-19· Edited by forkalt editors · Editorial policy

License notes are not legal advice. Read the original LICENSE. Trademark & disclaimer.