khoj
View on GitHubYour 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.
Khoj is a self-hostable personal AI app that answers questions from your docs and the web via semantic search and RAG, lets you build custom agents and scheduled automations, and works with local or online LLMs across web, Obsidian, Emacs, desktop and WhatsApp clients.
Use Cases
Chat with local or online LLMs from web, desktop, Obsidian, Emacs or WhatsAppAsk questions over your own docs (PDF, Markdown, Org-mode, Word, Notion)Build custom agents with persona, knowledge and toolsSchedule automated research and deliver email newsletters/notificationsSemantic search across personal knowledge baseSelf-host a private AI assistantGenerate images and transcribe/voice out messagesRun on-device inference with local models
Built With
- Language
- Python
- Frameworks
- FastAPI · Django · LangChain · sentence-transformers · transformers · PyTorch · pgvector · OpenAI SDK · Whisper · RapidOCR · uvicorn · PyMuPDF · Docker
Tags
ai-assistant · second-brain · self-hosted · rag · semantic-search · personal-agents · automations · deep-research · document-qa · chat · local-llm · obsidian · emacs · whatsapp · image-generation · speech-to-text