AltFreeStack
Artificial Intelligencedocker-ready

Khoj: the best Open Source alternative to ChatGPT Plus in 2026

Khoj is a self-hostable personal AI assistant that searches and answers questions over your own documents, notes and web browsing, like a second AI-augmented memory.

License AGPL-3.0 ~15k stars (estimated)Website GitHub Repository

Technical profile

License
AGPL-3.0
Category
Artificial Intelligence
Replaces
ChatGPT Plus
Tech stack
PythonDjango

Preview

Khoj interface preview

Public image provided by Khoj on its own website.

Key features

  • Semantic search over your notes and documents
  • Chat with your own PDFs and markdown
  • Integration with Obsidian and Notion

Khoj vs. ChatGPT Plus

Pros

  • Combines your own data with local or remote models

Things to consider

  • Initial document indexing setup takes some time

Quick Docker installation guide

Copy this docker-compose.yml, adjust the example passwords and run docker compose up -d on your server. See the full step-by-step guide →

docker-compose.yml
version: "3.9"
services:
  khoj:
    image: ghcr.io/khoj-ai/khoj:latest
    restart: unless-stopped
    ports:
      - "42110:42110"
    environment:
      - KHOJ_DJANGO_SECRET_KEY=change-me-super-secret
    volumes:
      - khoj_data:/root/.khoj
volumes:
  khoj_data: