Self-hostable AI second brain for chat, semantic search, agents, and research across your docs and the web
- Stars35.1k
- Forks2.3k
- Open Issues108
AGPL-3.0
- Python
- TypeScript
- CSS

About Khoj
Khoj is a personal AI app that acts as your second brain. Chat with any local or online LLM, get answers from your own documents and the internet, and reach it from your browser, desktop, phone, Obsidian, Emacs, or WhatsApp.
It reads PDFs, Markdown, Notion, Word docs, org-mode files, and images, then uses advanced semantic search to surface the most relevant material. Build agents with custom knowledge, persona, model, and tools to take on any role, schedule recurring research and notifications, and generate images or talk out loud. It works with gpt, claude, gemini, llama, qwen, mistral, and deepseek.
Khoj is open source and self-hostable, running privately on your own computer. A hosted cloud app is available for instant use, with on-premises and hybrid options for teams.
Key features
- Chat with local or online LLMs
- Answer questions from docs and the web
- Advanced semantic search across documents
- Create agents with custom knowledge and tools
- Schedule automations and generate images
Details
- First released
- 2021
- Self-hosting
- Self-hostable on your computer
- Access
- Browser · Desktop · Phone · WhatsApp
- Models
- gpt · claude · gemini · llama · qwen · mistral
- Content
- PDF · Markdown · Notion · Word · org-mode
- Deployment
- Self-host, cloud, on-premises, hybrid
