Khoj
Khoj is an open-source, self-hosted app in the AI & LLM Tools category, licensed AGPL-3.0 and written mainly in Python. It is a self-hosted alternative to ChatGPT and ships a Docker image. It has 37,831 GitHub stars and its last commit was on Aug 2, 2026 (data as of Oct 26, 2026).
GitHub stats
- GitHub stars
- 37,831
- Forks
- 2,530
- Open issues
- 109
- Commits, last 12 months
- 120
- Last commit
- Aug 2, 2026
- Latest release
- 2.0.0-beta.28Mar 26, 2026
- Created
- Aug 16, 2021
- License
- AGPL-3.0Open source
Data as of from the GitHub API. Report an error
Project health
ActiveActive: last commit Aug 2, 2026, 120 commits in 12 months.
- Regular releases5 releases in 12 months
| Last commit | Aug 2, 2026 |
|---|---|
| Commits, last 12 months | 120 |
| Latest release | 2.0.0-beta.28 (Mar 26, 2026) |
| Releases, last 12 months | 5 |
| Releases, all time | 173 |
| Open issues | 109 |
| Open pull requests | 64 |
| Good first issues | 2 |
| Contributing guide | No |
| Security policy | No |
| Created | Aug 16, 2021 |
Health as of , from the GitHub API. A label describes activity, not quality or security. How we label project health · Report a data error
About Khoj
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.
Description adapted from awesome-selfhosted (CC BY-SA 3.0). Source code: github.com/khoj-ai/khoj.
Topics
- semantic-search
- emacs
- obsidian-md
- chat
- chatgpt
- ai
- llm
- productivity
- agent
- self-hosted
Open-source alternative to
Khoj can replace these commercial products. Compare every option on each page.
Repository preview
Similar apps
More apps like Khoj
Other projects in AI & LLM Tools, ranked by GitHub stars.
Ollama
ollama/ollama
Get up and running with Llama 3.3, DeepSeek-R1, Phi-4, Gemma 3, and other large language models.
Active · last commit Oct 26, 2026
AI & LLM ToolsGoDockerStable Diffusion WebUI
AUTOMATIC1111/stable-diffusion-webui
Browser interface for Stable Diffusion image generation.
Maintained · last commit Mar 2, 2026
AI & LLM ToolsPythonOpen-WebUI
open-webui/open-webui
User-friendly AI Interface, supports Ollama, OpenAI API.
Active · last commit Oct 26, 2026
Source-availableAI & LLM ToolsPythonDockerLangflow
langflow-ai/langflow
Visual framework for building and deploying AI agents and RAG workflows.
Active · last commit Oct 26, 2026
AI & LLM ToolsPythonDockerComfyUI
Comfy-Org/ComfyUI
Node-based interface and engine for diffusion image and video generation.
Active · last commit Oct 26, 2026
AI & LLM ToolsPythonRAGFlow
infiniflow/ragflow
Open-source RAG engine with deep document understanding.
Active · last commit Oct 26, 2026
AI & LLM ToolsGoDocker
Is Khoj free and open source?
Yes. Khoj is open-source software released under the AGPL-3.0 license, so you can self-host it at no cost. You only pay for the server it runs on, and some projects also offer an optional paid cloud plan.
Can I run Khoj with Docker?
Yes. Khoj provides a Docker image, so you can run it on any Linux server with Docker and Docker Compose installed. The project README lists the image name and the environment variables to set.
What are the best alternatives to Khoj?
Popular self-hosted alternatives to Khoj include Ollama, Stable Diffusion WebUI and Open-WebUI. Khoj itself is a self-hosted alternative to ChatGPT.
Is Khoj actively maintained?
The most recent commit to Khoj was on Aug 2, 2026 with 120 commits in the past twelve months. The latest release is 2.0.0-beta.28, published Mar 26, 2026. It had 109 open issues on GitHub. appsgit's project-health label for it is "Active" as of Oct 26, 2026.