Khoj is an open-source personal AI application that turns scattered notes and documents into a searchable second brain. It answers questions from personal files and the web, runs custom agents, and delivers scheduled research by email. It serves individuals who want a private assistant on their own hardware or in the hosted cloud. It comes from a small applied-AI team that builds in the open, and it scales from an on-device personal setup to cloud and enterprise hosting.[1][2]
Quick verdict
Khoj suits individuals who want a private AI assistant that answers from their own notes and documents. Its semantic search over PDFs, Markdown, Notion, and images, plus custom agents and scheduled automations, turn scattered files into a working second brain. It needs self-hosting effort or trust in the hosted cloud, so anyone wanting a zero-setup team workspace should look at AnythingLLM's one-click desktop app instead. If you live in Obsidian or Emacs and want local-model privacy with automation, choose Khoj; if you need multi-user roles and admin controls, choose AnythingLLM.[1][2][3]
Key features
Local or hosted model choice Chat with on-device models such as Llama, Qwen, Gemma, and Mistral through an Ollama-compatible endpoint, or switch to GPT, Claude, and Gemini with an API key. The self-host guide shows exactly where each key goes, so a household can start free on local models and add commercial ones later.[1][2]
Semantic search over personal docs Find relevant notes fast across PDFs, Markdown, org-mode, Word, Notion, and images instead of relying on keyword search. Because retrieval understands meaning, a half-remembered idea surfaces even when the exact words do not match.[1]
Custom agents with roles Create agents with their own knowledge, persona, chat model, and tools to take on research, tutoring, or support roles. A server host can set up agents once and make them available to everyone on that server.[1][2]
Scheduled automations Run a query automatically at a set time and frequency, with results delivered as email newsletters and smart notifications. Repetitive routines happen without retyping the same prompt.[1][2]
Online search with references Khoj researches the internet to ground answers when its own knowledge is not enough, and always shows the references it used. Readers can verify a claim against the cited pages instead of taking the answer on trust.[1][2]
Python code execution Khoj generates and runs simple Python code for data analysis, plots, and reports that pure language models handle poorly. Quantitative questions get computed answers rather than guessed ones.[1]
Voice and image generation Talk out loud, play messages back, and generate images from text prompts without leaving the assistant. A desktop shortcut opens a quick mini-chat for short questions that should not break flow.[1][2]
Clients everywhere Reach the same assistant from the browser, desktop, phone, and WhatsApp, or inside Obsidian and Emacs, and share any conversation with a public link. Shared links freeze the conversation at the moment of sharing, so later messages stay private.[1][2]
Who will love it
People with large Obsidian or Notion libraries get direct answers from their own writing instead of re-reading folders. The Emacs and Obsidian clients matter here because they answer inside the tool where the notes already live.[1][2]
Anyone with a home server or spare computer keeps documents on their own network, including fully offline use. Pairing that with local models through Ollama removes the API-key trail as well.[1][2]
People who enjoy setting up agents and scheduled digests get recurring research without repeating the same prompts. Email delivery closes the loop for readers who do not want another dashboard to check.[1][2]
Who should avoid it
Khoj is personal software; teams wanting isolated users, roles, and admin controls fit AnythingLLM better, since its workspace and role model is built for sharing.[1][2]
Single sign-on, audit logs, and data-residency paperwork were not documented on the inspected pages, so regulated buyers cannot tick those boxes from this review.[1][2]
Self-hosting is free apart from infrastructure and model keys, but per-seat cloud prices were not published on the inspected pages, so budget owners should confirm numbers in the live app first.[1][2]
Questions worth asking
What is the best Khoj alternative for non-technical users?
AnythingLLM is the easier pick for non-technical users because its desktop app installs in one click with no account required, while Khoj self-hosting needs Docker or Pip setup. Non-technical users who want Khoj itself can skip self-hosting entirely and start on the hosted cloud app with no setup.[1][2]
Is Khoj really no-code?
Daily use needs no code: chatting, searching, configuring agents, and scheduling automations all happen through the app and its clients. Self-hosting needs comfort with Docker or Pip, environment files, and API keys rather than programming, following a documented guide. Extending Khoj itself or building on it takes Python.[1][2][3]
How much does Khoj cost per month?
Self-hosted Khoj costs nothing in licence fees under AGPL-3.0-or-later; you pay only for your own hardware or hosting plus any commercial model API keys you choose to use. The hosted cloud app starts free with no setup, as checked on October 11, 2026. Published per-seat cloud plan prices were not found on the inspected official pages, so check the live app before budgeting for a team.[1][2][3]
Can you self-host Khoj?
Yes. The official guide documents Docker Compose and Pip installs on macOS, Windows, and Linux, with admin credentials, secret keys, optional commercial model keys, and Ollama support for local models. Khoj stays open-source and self-hostable, and it can run without an internet connection on a personal computer.[1][2]
Sources and editorial review
Source research. Reviewed on October 11, 2026. Written by Sanjib Sah. AI assisted; reviewed by a human editor.
We have not run or tested this product.
- Khoj - AI for Humans
official · Observed October 11, 2026
Khoj company site: tiny applied-AI team building in the open; Khoj app is a personal AI second brain to build agents, schedule automations, and research across docs and the web with any AI model.
- khoj-ai/khoj repository
official · Observed October 11, 2026
Repository overview: chat with local or online LLMs; answers from internet and docs including image, PDF, Markdown, org-mode, Word, and Notion; clients for browser, Obsidian, Emacs, desktop, phone, WhatsApp; custom agents; scheduled automations with inbox delivery; semantic search; image generation and voice; open-source and self-hostable always; hosted cloud app; enterprise cloud, on-premises, or hybrid.
- Self-Host - Khoj docs
official · Observed October 11, 2026
Self-host guide: Docker or Pip install on macOS, Windows, and Linux; configure admin password, secret key, and optional commercial model keys; Ollama on the host supported; can run without an internet connection on a personal computer.
- Features - Khoj docs
official · Observed October 11, 2026
Feature catalogue: chat, semantic search, custom agents, scheduled automations emailed to the inbox, Python code execution, image generation, desktop quick chat, online search with shown references, shareable chats, and voice.
- khoj-ai/khoj LICENSE
official · Observed October 11, 2026
Repository license text is the GNU Affero General Public License version 3; package metadata declares AGPL-3.0-or-later.
- khoj-ai/khoj pyproject.toml
official · Observed October 11, 2026
Package metadata: Python 3.10-3.12 project; homepage khoj.dev; direct dependencies include FastAPI, Django, PostgreSQL drivers with pgvector, sentence-transformers, and multi-provider model SDKs.
- AnythingLLM - On-device AI for productivity
official · Observed October 11, 2026
AnythingLLM homepage: private on-device AI assistant with document knowledge, dynamic model selection, background jobs, custom agent skills, and desktop, mobile, and cloud editions.
- Open WebUI: Self-Hosted AI Platform
official · Observed October 11, 2026
Open WebUI homepage: self-hosted AI platform connecting any local or cloud model with retrieval, voice, vision, search, and Python extension; pip or Docker install with no account required.
Compared with these products
No explicit proprietary baseline is recorded.