Khoj is an open-source, self-hostable personal AI assistant designed to serve as your โAI second brain.โ It answers questions from your own documents (PDF, Markdown, Notion, Word, org-mode) and the web, supports local and hosted LLMs, and enables custom AI agents with scheduled automations. Khoj emphasizes privacy and control, making it suitable for personal knowledge bases and team knowledge retrieval.
- ๐ง Personal AI Assistant - Chat with context-aware responses using your docs and web search
- ๐ Multi-Format Support - PDF, plaintext, Markdown, Notion, Word, org-mode files
- ๐ Semantic Search - Natural language search across your notes and documents
- ๐ Multi-Platform Access - Browser, Obsidian, Emacs, Desktop app, Phone, WhatsApp
- ๐ค Custom Agents - Create agents with tunable personality, tools, and knowledge bases
- โ๏ธ Scheduled Automations - Automate repetitive research tasks
- ๐ฌ Deep Research Mode - Multi-hop reasoning and recursive web searches (use
/research)
- ๐จ Image Generation - Text-to-image capabilities
- ๐ TTS & Voice - Text-to-speech and audio message support
- ๐ Self-Hostable - Full control over your data, prompts, and logs
- ๐ค Multi-Model Support - llama3, qwen, gemma, mistral, gpt, claude, gemini, deepseek, local LLMs
- Personal knowledge assistant and โsecond brainโ
- Private document Q&A with RAG (Retrieval-Augmented Generation)
- Team knowledge search and semantic retrieval
- Automated research workflows
- Custom AI agents for specific tasks
| Component |
Technology |
| Backend |
Python (FastAPI/Django-based) |
| Frontend |
TypeScript, HTML, CSS |
| AI/ML |
LLM integration with RAG framework |
| Search |
Semantic search engine |
| Database |
PostgreSQL with pgvector |
| Deployment |
Docker, Docker Compose |
Programming Languages:
- Python (50.9%)
- TypeScript (36.2%)
- CSS, HTML, Emacs Lisp, JavaScript (12.9%)
- AGPL-3.0 (GNU Affero General Public License v3.0)
- Founded: 2023 by Debanjum Singh Solanky and Saba Imran
- Company: Khoj, Inc. (San Francisco, CA)
- Funding: Y Combinator W23 batch
- GitHub: 33.3k stars, 2k forks, 5,148 commits
- Releases: 170+ (latest: 2.0.0-beta.25, Feb 2026)
- Status: Actively maintained with frequent releases
ยถ History and References
Any questions?
Feel free to contact us. Find all contact information on our contact page.