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 stars
- 37,664
- License
- AGPL-3.0
- Latest release
- 2.0.0-beta.28
26 March 2026 - Last commit
- 2 August 2026
- Runs on
- Python, Docker
Commits per month, last 12 months
120 commits
Replaces
Paid products Khoj can stand in for.
How to self-host Khoj
Khoj runs on Python and Docker. The project's own install guide is the place to start; most people put it on a small server with Docker and a reverse proxy for HTTPS.
- Get a server: a home server, a VPS, or a managed app host.
- Install it the way the project's docs describe, usually with Docker Compose.
- Put it behind HTTPS and set up backups before you add real data.
- Update it regularly. Watch the project's releases.
Similar apps
- Ollama
Get up and running with Llama 3.3, DeepSeek-R1, Phi-4, Gemma 3, and other large language models.
- Open-WebUI
User-friendly AI Interface, supports Ollama, OpenAI API.
- LobeHub
Modern design AI chat framework supporting multiple AI providers, one click install MCP Marketplace and Artifacts / Thinking.
- AnythingLLM
All-in-one desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
- LocalAI
Run your AI models locally and generate images and audio (alternative to OpenAI and Claude).
- LibreChat
Enhanced ChatGPT-compatible AI chat interface supporting multiple AI providers, with multi-user auth, message search, and plugin support.
Questions
Is Khoj free?
Yes. Khoj is open source under the AGPL-3.0 license, so you can use it without paying for a license. You pay only for the server it runs on.
Can I self-host Khoj?
Yes. Khoj runs on Python and Docker. Follow the install guide in the project's documentation, or use a host that installs it for you.
What does Khoj replace?
People use Khoj instead of NotebookLM, Glean or Perplexity.
Is Khoj still maintained?
The last change to Khoj's code was on 2 August 2026, with 120 commits in the last 12 months.
Topics
App data from awesome-selfhosted (CC BY-SA 3.0), stars and activity from GitHub.