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.

86
/ 100
Verified

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.

Maintenance 23 / 25
Adoption 20 / 25
Maturity 25 / 25
Community 18 / 25

How are scores calculated?

Stars

33,375

Forks

2,056

Language

Python

License

AGPL-3.0

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.