# Khoj

> Your AI second brain

Source: https://talira.ai/catalog/khoj-xc0z6nxj
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Web app, Desktop app
- Categories: [ai / assistants](https://talira.ai/categories/ai/assistants), [ai / llm / chat interfaces](https://talira.ai/categories/ai/llm/chat-interfaces), [productivity / notes / personal knowledge management](https://talira.ai/categories/productivity/notes/personal-knowledge-management), [search / semantic search](https://talira.ai/categories/search/semantic-search)
- Platforms: macos, windows, linux, docker, web[^4]
- Licence: AGPL-3.0-or-later[^2][^3]
- Pricing: Free and open source[^1][^2]
- Pricing notes: Free to self-host under AGPL-3.0-or-later. The paid Khoj Cloud plans ended when the hosted service shut down on 15 April 2026.
- Free tier: yes[^1][^2]
- Self-hostable: yes[^4]
- Backed by: [Khoj](https://talira.ai/orgs/khoj.md)

Khoj is an open source (AGPL-3.0-or-later) personal AI app that you host yourself. It indexes your notes and documents (Markdown, org-mode, PDF, Word and plain-text files, [Notion](https://talira.ai/catalog/notion-czc8pajj.md) pages and [GitHub](https://talira.ai/catalog/github-ppcgj756.md) repositories) for semantic search, and chats about them and the web with local models through [Ollama](https://talira.ai/catalog/ollama-gr2tx5nn.md) or LM Studio, or with OpenAI, Anthropic and Google models. It builds custom agents with their own knowledge, persona, chat model and tools, runs scheduled automations that email you the results, executes Python for analysis and charts in a sandbox, generates images and talks by voice. You reach it from its web app, a desktop app that keeps chosen folders in sync, an [Obsidian](https://talira.ai/catalog/obsidian-hct2fedw.md) plugin, an Emacs package and an Android app. Khoj Cloud, the hosted service, shut down on 15 April 2026; its makers now work on Open Paper and Pipali, and Khoj stays open source to self-host.

## Links

- Website: https://khoj.dev/
- GitHub: https://github.com/khoj-ai/khoj
- Docs: https://docs.khoj.dev/

## Problems it solves

- search my Markdown and org-mode notes by meaning instead of exact keywords
- chat with an AI that answers from my own notes and PDFs, running on my own server
- a private ChatGPT-like assistant over my personal documents using a local LLM so nothing leaves my machine
- ask questions about my Obsidian vault from inside Obsidian and get answers that cite my notes
- use an AI assistant that knows my org-mode files from inside Emacs
- get an AI research summary on a topic emailed to me on a schedule
- create AI agents with their own persona, knowledge files and chat model for different jobs
- an AI assistant that combines web search results with my own documents and shows the sources
- have a self-hosted AI run Python on my data to make charts and reports
- index my Notion workspace and GitHub repos so a self-hosted AI can answer questions about them
- keep a folder on my laptop synced to a self-hosted AI so it answers from the latest versions of my files
- talk to my personal AI assistant by voice and hear its answers read out

## Features

- semantic search over Markdown, org-mode, PDF, Word and plain-text files, Notion pages and GitHub repositories
- chat with local models (Ollama, LM Studio, any OpenAI-compatible server) or OpenAI, Anthropic and Google models
- online search through a bundled SearXNG, with sources shown
- custom agents with their own knowledge, persona, chat model and tools
- automations: scheduled research jobs that email you the results
- code execution: Python in a Terrarium sandbox (or E2B) for analysis, plots and reports
- image generation and voice chat
- shareable chat links
- clients: web app, desktop app with folder sync and Khoj Mini quick chat, Obsidian plugin, Emacs package, Android
- admin panel to configure models and agents for every user of a server
- self-hosting with Docker Compose or pip (khoj[local]) with an embedded database

## Limitations

- No hosted version any more: Khoj Cloud shut down on 15 April 2026, so you have to self-host Khoj[^1]

## Trust

Overall: 0.27 out of 1.
Signals: backing 0.30, extensibility 0.00.

- has a company behind it

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [Obsidian](https://talira.ai/catalog/obsidian-hct2fedw.md)

## Alternatives

- [AnythingLLM](https://talira.ai/catalog/anythingllm-j2y4ffg0.md): The all-in-one AI app you were looking for
- [QMD](https://talira.ai/catalog/qmd-gp7r3pb4.md): An on-device search engine for your notes, docs and meeting transcripts
- [Open WebUI](https://talira.ai/catalog/open-webui-r0dc4yjj.md): One interface for every AI model. Private, extensible, and built for teams.
- [NotebookLM (Gemini Notebook)](https://talira.ai/catalog/notebooklm-gemini-notebook-hkcdrsb6.md): An AI research notebook that answers from the sources you upload, with inline citations
- [Onyx](https://talira.ai/catalog/onyx-0zdj65d9.md): The context layer powered by all your apps
- [LibreChat](https://talira.ai/catalog/librechat-k70jkdvc.md): Brings together all your AI conversations in one unified, customizable interface

## Sources

[^1]: https://app.khoj.dev/ (checked 20 Nov 2026)
[^2]: https://pypi.org/project/khoj/ (checked 20 Nov 2026)
[^3]: https://github.com/khoj-ai/khoj/blob/master/LICENSE (checked 20 Nov 2026)
[^4]: https://docs.khoj.dev/get-started/setup/ (checked 20 Nov 2026)
