Khoj

Normal
GitHub Python AGPL-3.0

Description

Khoj is a self-hostable AI second brain that answers questions from the web or your docs, builds custom agents, schedules automations, and performs deep research.

Key Features

  • Multi-LLM support — Switch between local and cloud LLMs including llama3, qwen, gemma, mistral, gpt, claude, gemini, deepseek
  • Multi-format document retrieval — Get answers from PDFs, Markdown, Word, Notion, org-mode, images and more
  • Custom agent creation — Build custom agents with custom knowledge, persona, chat model and tools
  • Multi-platform access — Access via browser, Obsidian, Emacs, desktop app, phone or WhatsApp
  • Semantic search — Advanced semantic retrieval to find relevant docs quickly with personal newsletters and smart notifications

Use Cases

💡 Personal knowledge management — Import documents, notes, emails into Khoj to build a conversational second brain
💡 Team knowledge sharing — Deploy enterprise version for teams, create custom agents for different roles
💡 Automated research briefings — Set up automations to generate personal newsletters from multiple sources delivered to inbox
💡 Obsidian note enhancement — Use Obsidian plugin to perform semantic search and Q&A on your notes

Quick Start

pip install khoj

# Start Khoj locally
khoj

Related Projects