Khoj in brief
Khoj began in April 2021 as an experimental document-search project and grew into a personal AI application maintained by Khoj AI. Its GitHub repository reports more than 37,000 stars, and the software uses the GNU Affero General Public License v3.0. It can run on consumer hardware or connect to online models, with a stated goal of keeping personal data under the operator’s control. Khoj Cloud, the hosted subscription service introduced in 2023, was sunset on April 15, 2026. The open-source, self-hostable project remains active, making it the durable product rather than a conventional hosted assistant with an active subscription business. This model suits technically comfortable users who want private, model-agnostic document assistance and can manage deployment themselves.
A typical Khoj session begins by importing notes or documents and indexing them for semantic search before users ask questions through its web interface or integrations. Supported sources include PDF, plaintext, Markdown, org-mode, Notion, and Word files. Retrieval supplies relevant notes and metadata to a selected chat model, while commands can limit responses to notes, general knowledge, online information, image generation, code, diagrams, or deeper research. Users can create agents combining a persona, knowledge base, model, and tools. Access is available through browser, desktop, Android, Obsidian, Emacs, and WhatsApp. Because Khoj Cloud ended on April 15, 2026, deployment now requires self-hosting, with operators managing infrastructure, model access, storage, and updates.
Khoj’s main limitation is operational: self-hosting replaces a subscription checkout with installation, storage, model configuration, updates, and maintenance. The software is free under AGPLv3, but infrastructure, electricity, and model-provider costs remain separate, and Khoj Cloud ended on April 15, 2026. It is more configurable than ChatGPT’s document chat, more integrated with personal notes than Ollama alone, and more private by default than hosted assistants when deployed with operator-controlled storage and local models. ChatGPT offers a smoother managed experience, Ollama a simpler local model runner, and AnythingLLM another self-hosted document-chat workspace. Khoj suits technically comfortable users who want an open, model-agnostic assistant for PDFs, Markdown, Notion, Word, or org-mode files, with agents and integrations, rather than a supported hosted plan or turnkey enterprise administration.