# Khoj

Product · https://godooo.ai/en/product/khoj

> Khoj is an open-source AI app, launched in 2021, made for people who don't write code and developers.

A self-hostable personal AI that answers from the web and your own notes and documents.

Main jobs: Ask your documents, Knowledge base (RAG). It is open source and free to use. You can use it in the browser, as a desktop app, on phones, as a browser extension, on your own server and offline on your own machine.

## At a glance

- **Type:** [Product](https://godooo.ai/en/browse#product)
- **Launched:** 2021
- **Galaxy:** [Assistants](https://godooo.ai/en/galaxy/assistants)
- **Pricing:** Open source, free
- **Open source:** Yes · AGPL-3.0
- **Source code:** [github.com/khoj-ai/khoj](https://github.com/khoj-ai/khoj)
- **GitHub stars:** 37,488
- **How you run it:** Web · Desktop · Mobile · Browser extension · Self-host · Runs offline
- **Made for:** No-code users · Developers
- **Website:** [khoj.dev](https://khoj.dev)
- **Also known as:** Khoj AI

## What it can do

- **[Ask your documents](https://godooo.ai/en/capability/document-qa)** — main job, _proposed by a machine, awaiting calibration_. “Get answers from the internet and your docs (including image, pdf, markdown, org-mode, word, notion files).” (read on [github.com](https://github.com/khoj-ai/khoj), 2026-09-24)
- **[Knowledge base (RAG)](https://godooo.ai/en/capability/knowledge-base)** — main job, _proposed by a machine, awaiting calibration_. “Find relevant docs quickly and easily using our advanced semantic search.” (read on [github.com](https://github.com/khoj-ai/khoj), 2026-09-24)
- **[Build AI agents](https://godooo.ai/en/capability/agent-building)** — supported, _proposed by a machine, awaiting calibration_. “Create agents with custom knowledge, persona, chat model and tools to take on any role.” (read on [github.com](https://github.com/khoj-ai/khoj), 2026-09-24)
- **[Chat and Q&A](https://godooo.ai/en/capability/chat)** — supported, _proposed by a machine, awaiting calibration_. “Chat with any local or online LLM (e.g llama3, qwen, gemma, mistral, gpt, claude, gemini, deepseek).” (read on [github.com](https://github.com/khoj-ai/khoj), 2026-09-24)
- **[Web search with answers](https://godooo.ai/en/capability/web-search)** — supported, _proposed by a machine, awaiting calibration_. “Get answers from the internet and your docs” (read on [github.com](https://github.com/khoj-ai/khoj), 2026-09-24)

## Alternatives

- **[Perplexity](https://godooo.ai/en/product/perplexity)** (Free plan + paid upgrades): Also does: Web search with answers
- **[AnythingLLM](https://godooo.ai/en/product/anythingllm)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG), Build AI agents
- **[Langchain-Chatchat](https://godooo.ai/en/product/langchain-chatchat)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG), Chat and Q&A
- **[RAGFlow](https://godooo.ai/en/product/ragflow)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG), Build AI agents
- **[kotaemon](https://godooo.ai/en/product/kotaemon)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG)
- **[PrivateGPT](https://godooo.ai/en/framework/privategpt)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG)
- **[QAnything](https://godooo.ai/en/product/qanything)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG)
- **[LlamaIndex](https://godooo.ai/en/framework/llamaindex)** (Open source, free): Also does: Knowledge base (RAG), Ask your documents, Build AI agents
- **[Open WebUI](https://godooo.ai/en/product/open-webui)** (Open source, free): Also does: Chat and Q&A, Ask your documents, Knowledge base (RAG)
- **[Chatbox](https://godooo.ai/en/product/chatbox)** (Open source, free): Also does: Chat and Q&A, Ask your documents, Knowledge base (RAG)
- **[MaxKB](https://godooo.ai/en/product/maxkb)** (Open source, free): Also does: Knowledge base (RAG), Ask your documents, Build AI agents
- **[NotebookLM](https://godooo.ai/en/product/notebooklm)** (Free plan + paid upgrades): Also does: Ask your documents, Knowledge base (RAG)

## Questions

### What is Khoj?

Khoj is an open-source AI app, launched in 2021, made for people who don't write code and developers. A self-hostable personal AI that answers from the web and your own notes and documents.

### Is Khoj free?

Yes. Khoj is open source (AGPL-3.0) and free to use.

### Is Khoj open source?

Yes, under the AGPL-3.0 license. The source code is at https://github.com/khoj-ai/khoj.

### Can Khoj run locally?

Yes. Khoj can run offline on your own machine. It can also be self-hosted on your own server.

### What can Khoj do?

Main jobs: Ask your documents, Knowledge base (RAG). It can also do: Build AI agents, Chat and Q&A, Web search with answers.

### What are open-source alternatives to Khoj?

Open-source ones: AnythingLLM, Langchain-Chatchat, RAGFlow, kotaemon, PrivateGPT, QAnything, LlamaIndex and Open WebUI. Others: Perplexity and NotebookLM.

## Sources

- [github.com](https://github.com/khoj-ai/khoj) — checked 2026-09-24
- [khoj.dev](https://khoj.dev)

---

Last updated 2026-09-24 · sources checked 2026-09-24 · Markdown version of https://godooo.ai/en/product/khoj. Every page on this site has one: add .md to its address.
