Back to Self-Hosted Stacks
Deploy 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.
Quick Start
1
Create a directory
mkdir khoj-self-hosted && cd khoj-self-hosted
2
Create config file
Copy the content from the Config tab below into a file named docker-compose.yml
3
Deploy
docker compose up -d
Fast Track
Deploy khoj in Minutes
Use our optimized Docker templates to deploy khoj on any cloud provider. Get $200 in free credit to start on DigitalOcean.
Start with free creditDeploy on DigitalOcean$200
Metadata
License
AGPL-3.0
Language
Python
Last Updated
8/2/2026
Category
AI Tools
Configuration
yaml
Community Notes
Help others by adding context, corrections, or warnings about this tool. Sign in to contribute.
No community notes yet. Be the first to add context.