# Khoj

> Khoj is a free, open-source app you can self-host in the AI & LLM tools category. Your AI second brain. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI. It has 37,565 GitHub stars, is released under the AGPL-3.0 license and ships a Docker image. It is a self-hosted alternative to ChatGPT.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/khoj-ai/khoj |
| Website | https://khoj.dev/ |
| Demo | https://app.khoj.dev/ |
| GitHub stars | 37,565 |
| Forks | 2,497 |
| Open issues | 107 |
| License | AGPL-3.0 |
| License type | Open source |
| Language | Python |
| Docker image | Yes |
| Platforms | Python, Docker |
| Categories | AI & LLM Tools |
| Commits, last 12 months | 120 |
| Last commit | Aug 2, 2026 |
| Latest release | 2.0.0-beta.28 (Mar 26, 2026) |
| Created | Aug 16, 2021 |
| Maintenance | Actively maintained |
| Archived | No |

Topics: semantic-search, emacs, obsidian-md, chat, chatgpt, ai, llm, productivity, agent, self-hosted

## Install

Khoj ships a Docker image; follow the README at https://github.com/khoj-ai/khoj for the image name and environment variables.

Need it installed for you? [appsgit installation help](https://appsgit.com/services/install): a fixed quote by email, single app installs from $79.

## Khoj replaces

- [ChatGPT alternatives](https://appsgit.com/alternatives/chatgpt): OpenAI's conversational AI assistant.

## Similar apps in AI & LLM Tools

- [Ollama](https://appsgit.com/apps/ollama): Get up and running with Llama 3.3, DeepSeek-R1, Phi-4, Gemma 3, and other large language models. (182,289 stars, MIT, Go, Docker)
- [Stable Diffusion WebUI](https://appsgit.com/apps/stable-diffusion-webui): Browser interface for Stable Diffusion image generation. (165,199 stars, AGPL-3.0, Python)
- [Langflow](https://appsgit.com/apps/langflow): Visual framework for building and deploying AI agents and RAG workflows. (155,530 stars, MIT, Python, Docker)
- [Open-WebUI](https://appsgit.com/apps/open-webui): User-friendly AI Interface, supports Ollama, OpenAI API. (154,037 stars, Open WebUI License, source-available, Python, Docker)
- [ComfyUI](https://appsgit.com/apps/comfyui): Node-based interface and engine for diffusion image and video generation. (136,240 stars, GPL-3.0, Python)
- [RAGFlow](https://appsgit.com/apps/ragflow): Open-source RAG engine with deep document understanding. (91,708 stars, Apache-2.0, Go, Docker)
- [OpenHands](https://appsgit.com/apps/openhands): Platform for AI software development agents that write code and run commands. (90,074 stars, MIT, TypeScript, Docker)
- [LobeHub](https://appsgit.com/apps/lobehub): Modern design AI chat framework supporting multiple AI providers, one click install MCP Marketplace and Artifacts / Thinking. (83,008 stars, LobeHub Community License, source-available, TypeScript, Docker)

---

Canonical page: https://appsgit.com/apps/khoj
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
