Reading the repo
Reading the repo
How to install on Linux
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.
git clone https://github.com/khoj-ai/khoj.git cd khoj
Python >=3.10, <3.13
curl -LsSf https://astral.sh/uv/install.sh | sh
Needs: PostgreSQL
# needs Docker Engine: https://docs.docker.com/engine/install/ docker compose -f docker-compose.yml up -d
uv sync
uv run pytest
No reports for Linux yet.
Opens a chat with this manual already filled in, for Linux. It uses your own account; gitmanual sends nothing.