Discover / AI Agents
Khoj
by khoj-aiPython
Personal AI research assistant that searches and reasons over your documents.
Maturity: stable because 5y old, 2.0.0-beta.28 released 130d ago. Derived from release and commit history, not a rating.
- Stars
- 36k
- Forks
- 2.3k
- Downloads / mo
- 19k
- Last commit
- 2026-08-02
- License
- AGPL-3.0
- Open issues
- 131
Market and trust evidence
Edition not yet matchedNo exact skills.sh identity match is available for this repository. Repository adoption and freshness remain visible above; install momentum is not inferred.
Trust analysis is a screening signal, not a security warranty. Read the ranking and trust methodology.
In practice
Written by AI from this repository’s README · high confidencePersonal notes and documents are invisible to a chat assistant unless you paste them in every time.
Use it when
Use it when you want a private assistant over your own files, reachable from browser, Obsidian, Emacs or phone.
Not the right pick when
Self hosting is a full server deployment, so the cloud app is the shortcut if you do not want to run it.
Capabilities
- chat with any local or online LLM
- answers from the internet and your docs including pdf, markdown, org-mode, word and notion
- clients for browser, Obsidian, Emacs, desktop, phone and WhatsApp
- custom agents with their own knowledge, persona, chat model and tools
- scheduled automations, newsletters and smart notifications
- advanced semantic search over documents
Requirements
- An LLM to connect to, local or online
- Following the setup docs for self hosting
Cost: Open source with a paid cloud option
Install
Derived from the published package name in the repository, not from a model.
Video walkthroughs
FREE: Khoj AI Second Brain RAG Agent Open-Source GUI!🤖 (Ollama, OpenAI, Anthropic, HuggingFace)
Live Code Khoj 2.0 - Session 1: Document Search Tool for Research Agent
Third-party YouTube uploads matched to this tool by title, channel and repository name on 2026-08-03. Not made, reviewed or endorsed by SkillPilot. View counts and publish months are as of the match date and the month is approximate. Nothing loads from YouTube until you press play.
What the repository ships
Detected from the actual files in the repository root.
Latest release 2.0.0-beta.28
Published 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
Tags
README
<p align="center"><img src="https://assets.khoj.dev/khoj-logo-sideways-1200x540.png" width="230" alt="Khoj Logo"></p>
<div align="center">
</div>
<div align="center">
<b>Your AI second brain</b>
</div>
<br />
<div align="center">
<span> • </span>
<span> • </span>
<span> • </span>
<span> • </span>
<a href="https://trendshift.io/repositories/10318" target="_blank"><img src="https://trendshift.io/api/badge/repositories/10318" alt="khoj-ai%2Fkhoj | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
</div>
🎁 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
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! 🎉
<a href="https://github.com/khoj-ai/khoj/graphs/contributors">
<img src="https://contrib.rocks/image?repo=khoj-ai/khoj" />
</a>
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.