Reading the repo
Reading the repo
How to install on macOS
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.
Saved setup from 2 h ago
Will it work on my device?
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: xcode-select --install
git clone https://github.com/khoj-ai/khoj.git cd khoj
Python >=3.10, <3.13
brew install uv
Needs: PostgreSQL
brew install --cask docker # Docker Desktop docker compose -f docker-compose.yml up -d
uv sync
uv run pytest
No reports for macOS yet.
Opens a chat with this manual already filled in, for macOS. It uses your own account; gitmanual sends nothing.