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.
★ 38,097⑂ 2,543👁 179⑃ 678● 618▤ 173◈ 118
38,097
stars
+16
2,543
forks
179
watchers
678
prs
618
issues
173
releases
118
discussions
README
Your AI second brain 📑 Docs • 🌐 Web • 🔥 App • 💬 Discord • ✍🏽 Blog 🎁 New Meet 🌶️ Pipali - our open-source AI coworker that runs on your computer. Read about Khoj's excellent performance on modern retrieval and reasoning benchmarks. Overview Khoj is a personal AI app to extend your capabilities. It smoothly scales up from an on-device personal AI to a cloud-scale enterprise AI. - Chat with any local or online LLM (e.g llama3, qwen, gemma, mistral, gpt, claude, gemini, deepseek). - Get answers from the internet and your docs (including image, pdf, markdown, org-mode, word, notion files). - Access it from your Browser, Obsidian, Emacs, Desktop, Phone or Whatsapp. - Create agents with custom knowledge, persona, chat model and tools to take on any role. - Automate away repetitive research. Get personal newsletters and smart notifications delivered to your inbox. - Find relevant docs quickly and easily using our advanced semantic search. - Generate images, talk out loud, play your messages. - Khoj is open-source, self-hostable. Always. - Run it privately on your computer or try it on our cloud app. See it in action !demo_chat Go to https://app.khoj.dev to see Khoj live. Full feature list You can see the full feature list here. Self-Host To get started with self-hosting Khoj, read the docs. Enterprise Khoj is available as a cloud service, on-premises, or as a hybrid solution. To learn more about Khoj Enterprise, visit our website. Frequently Asked Questions (FAQ) Q: Can I use Khoj without self-hosting? Yes! You can use Khoj right away at https://app.khoj.dev — no setup required. Q: What kinds of documents can Khoj read? Khoj supports a wide variety: PDFs, Markdown, Notion, Word docs, org-mode files, and more. Q: How can I make my own agent? Check out this blog post for a step-by-step guide to custom agents. For more questions, head over to our Discord! Contributors Cheers to our awesome contributors! 🎉 Made with contrib.rocks. Interested in Contributing? Khoj is open source. It is sustained by the community and we’d love for you to join it! Whether you’re a coder, designer, writer, or enthusiast, there’s a place for you. Why Contribute? - Make an Impact: Help build, test and improve a tool used by thousands to boost productivity. - Learn & Grow: Work on cutting-edge AI, LLMs, and semantic search technologies. You can help us build new features, improve the project documentation, report issues and fix bugs. If you're a developer, please see our Contributing Guidelines and check out good first issues to work on.
Top issues
#141Would a Logseq plugin be possible?14 comments · 2023-02-06#841[IDEA] using function calling to integrate more tools10 comments · 2024-07-07#1035[FIX]Agents stop outputting "Generating a well-informed response"8 comments · 2025-01-07#970[FIX] CORS issue8 comments · 2024-11-10#634Backed killed [FIX]7 comments · 2024-02-02#1336DeepSeek-compatible OpenAI API fails due to unsupported response_format type7 comments · 2026-06-07#1187Admin login issue7 comments · 2025-05-29#1023[IDEA] Evaluate Claude MCP with Khoj5 comments · 2024-12-30
Discussions
#1462Add Desearch as an online search and webpage reader provider0 comments · 2026-10-31#1436Local vs hosted for the same model can be two different systems: the served context gap0 comments · 2026-09-26#1429EnvShield adoption request.0 comments · 2026-09-22#1428Idea: a private personal context wiki built from your digital history0 comments · 2026-09-17#1352Vestige — a local-first MCP memory server for agents (FSRS decay, active forgetting)0 comments · 2026-06-27#1346Curious how people are handling agent failures in long running workflows0 comments · 2026-06-16#1341Khoj as Enterprise Knowledge Infrastructure: Bridging the Gap Between Personal AI and Organizational Memory0 comments · 2026-06-11#1340ccline — AI command helper that lives at your shell prompt (complements Khoj)0 comments · 2026-06-10
Latest release
2.0.0-beta.28 2.0.0-beta.28 2026-03-26🛠️ Fix Fix using web app after disabling memories for users who never set chat model by @majiayu000 in https://github.com/khoj-ai/khoj/pull/1296 Fix showing deprecation banner on Khoj cloud by @debanjum in fdd5fd8f7 Full Changelog: https://github.com/khoj-ai/khoj/compare/2.0.0-beta.27...2.0.0-beta.28