Skip to content
appsgit

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.

github.com/khoj-ai/khoj

GitHub stats

GitHub stars
37,565
Forks
2,497
Open issues
107
Commits, last 12 months
120
Last commit
Aug 2, 2026
Latest release
2.0.0-beta.28Mar 26, 2026
Created
Aug 16, 2021

Data from the GitHub API, refreshed daily.

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. Khoj is open source under the AGPL-3.0 license and written mainly in Python, so you can read the code, run it on your own hardware and keep full control of your data.

The project has 37,565 stars and 2,497 forks on GitHub, with 120 commits over the last year. It ships a Docker image, which makes it a good fit for a small VPS or a home server running Docker Compose.

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

Khoj repository previewkhoj-ai/khojOpen repository

FAQ

Khoj FAQ

Still curious? Email info@appsgit.com.

What is Khoj?

Khoj is a free, open-source app you can host on your own server, listed in our 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. The source code lives at github.com/khoj-ai/khoj, where it has 37,565 stars.

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 open-source alternatives to Khoj include Ollama, Stable Diffusion WebUI and Langflow. 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. Check the open issues on GitHub to gauge how quickly maintainers respond.