khoj
Your AI second brain. Self-hostable. 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 (gpt, claude, gemini, llama, qwen, mistral). Get started - free.
⭐ 36,386 stars on GitHub · 🍴 2,372 forks · 📜 License: agpl-3.0 · 💻 Language: Python
What is khoj?
Merging a sprawling local knowledge base with large language models usually requires cobbling together brittle RAG pipelines and vector databases from scratch. Instead, you can deploy a unified, self-hosted AI "second brain" that natively indexes your
Topics: the project is tagged with popular topics:
- 🏷️
agent - 🏷️
ai - 🏷️
assistant - 🏷️
chat - 🏷️
chatgpt - 🏷️
emacs - 🏷️
image-generation - 🏷️
llama3 - 🏷️
llamacpp - 🏷️
llm
📸 Screenshots

Quick install
The project supports Docker Compose:
git clone https://github.com/khoj-ai/khoj.git
cd khoj
docker compose up -d
Check the README in the repo for required env variables.
Minimum system requirements
| Component | Recommended |
|---|---|
| RAM | 4096 MB |
| CPU | 2 vCPU |
| Disk | 50 GB SSD |
| OS | Ubuntu 22.04 LTS / Debian 12 |
| Docker | 24.0+ |
⚡ Deploy fast on VSIS
Use the VSIS VPS Standard 4GB RAM / 2 vCPU / 50GB SSD (~150k/tháng) plan from VSIS.NET — high-speed VN-based VPS, 24/7 support, ideal for running khoj smoothly.
🎯 Benefits:
- One-command
docker compose up -ddeploy in 2 minutes - Dedicated IPv4, root access, unmetered domestic bandwidth
- Daily snapshot backup
- Free install assistance from the VSIS team
👉 See matching VPS plans at vsis.net
Resources
- 🔗 GitHub: khoj-ai/khoj
- 🌐 Homepage: https://khoj.dev
- 📚 Official docs: see README in the repo
- 💬 Community: GitHub Issues + Discussions
Article compiled from GitHub data on 08/08/2026. Star/fork counts may have changed — see live numbers via the GitHub link.
