khoj-ai/khoj
Your 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.
Supports semantic search and RAG across multiple document formats (PDF, Markdown, Notion, Word, org-mode), with configurable agents that combine custom knowledge bases, personas, and tools. Uses a modular architecture enabling deployment across browsers, Obsidian, Emacs, desktop, mobile, and WhatsApp via unified APIs. Integrates with both local LLMs (Llama, Qwen, Gemma, Mistral) and cloud providers (OpenAI, Claude, Gemini), plus web search and automation scheduling capabilities.
33,375 stars and 27,176 monthly downloads. Actively maintained with 24 commits in the last 30 days. Available on PyPI.
Stars
33,375
Forks
2,056
Language
Python
License
AGPL-3.0
Category
Last pushed
Mar 06, 2026
Monthly downloads
27,176
Commits (30d)
24
Dependencies
57
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/rag/khoj-ai/khoj"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
onyx-dot-app/onyx
Open Source AI Platform - AI Chat with advanced features that works with every LLM
MODSetter/SurfSense
Open source alternative to NotebookLM for teams. Join our Discord: https://discord.gg/ejRNvftDp9
codexu/note-gen
A cross-platform Markdown AI note-taking software.
your-papa/obsidian-Smart2Brain
An Obsidian plugin to interact with your privacy focused AI-Assistant making your second brain...
import-ai/omnibox
Collect, organize, use, and share, all in OmniBox.