https://github.com/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.
https://github.com/khoj-ai/khoj
agent ai assistant chat chatgpt emacs image-generation llama3 llamacpp llm obsidian obsidian-md offline-llm productivity rag research self-hosted semantic-search stt whatsapp-ai
Last synced: 4 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/khoj-ai/khoj
- Owner: khoj-ai
- License: agpl-3.0
- Created: 2021-08-16T01:48:44.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2026-01-06T20:15:01.000Z (5 months ago)
- Last Synced: 2026-02-18T23:13:56.858Z (4 months ago)
- Topics: agent, ai, assistant, chat, chatgpt, emacs, image-generation, llama3, llamacpp, llm, obsidian, obsidian-md, offline-llm, productivity, rag, research, self-hosted, semantic-search, stt, whatsapp-ai
- Language: Python
- Homepage: https://khoj.dev
- Size: 112 MB
- Stars: 32,524
- Watchers: 157
- Forks: 1,963
- Open Issues: 92
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-openclaw - Khoj - source personal AI | (Alternatives & Comparisons / Miscellaneous)
- awesome-ai-agents-2026 - Khoj - ノートやドキュメント、画像を機械的にスキャンして会話できる「第二の脳」。 (📱 パーソナル AI エージェント / 自動運転)
- awesome-ChatGPT-repositories - khoj - An AI copilot for your second brain. Search and chat with your personal knowledge base, online or offline (NLP)
- my-awesome-github-stars - 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 (Python)
- awesome-rainmana - 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 (Python)
- awesome-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. (Agent)
- awesome-knowledge-infrastructure - Khoj - A self-hostable AI second brain that searches and chats across your notes and documents. (AI Knowledge Assistants)
- awesome-llm-services - Khoj
- awesome-ai-api-projects - khoj - time information from notes, documents, and the internet, create a personal AI agent that is always available to enhance your capabilities. | open | Both+official | [OpenAI](https://platform.openai.com/playground), [Claude](https://www.anthropic.com/), local models |  | (ChatAI / Web app)
- StarryDivineSky - khoj-ai/khoj
- awesome-opensource-ai - Khoj - Self-hostable personal AI assistant for search, chat, automation, and workflows over local and web data.  (12. User Interfaces & Self-hosted Platforms)
- awesome-mistral - Khoj
- awesome-LangGraph - khoj-ai/khoj - hosted second brain for docs and web |  | (🏢 Workplace & Productivity / 🟩 Development Tools 🛠️)
- awesome-safety-critical-ai - `khoj-ai/khoj` - hostable AI second brain (<a id="tools"></a>🛠️ Tools / Bleeding Edge ⚗️)
- awesomeLibrary - 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. (语言资源库 / python)
- awesome-markdown - Khoj - 一个开源的个人 AI 应用,它能在本地或云端与大型语言模型(LLM)对话,并支持通过语义搜索从包括 **Markdown** 在内的多种文档中获取答案,可跨平台使用,并能创建定制化的 AI 代理。     (写作与编辑环境 / 笔记与知识管理软件)
- definitive-opensource - Khoj AI - 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. | `Web (Cloud)` `SelfHost` | **34.8k** | (Table of Contents / All In One)
- AiTreasureBox - khoj-ai/khoj - 11-03_31448_1](https://img.shields.io/github/stars/khoj-ai/khoj.svg)|Your AI second brain. A copilot to get answers to your questions, whether they be from your own notes or from the internet. Use powerful, online (e.g gpt4) or private, local (e.g mistral) LLMs. Self-host locally or use our web app. Access from Obsidian, Emacs, Desktop app, Web or Whatsapp.| (Repos)
- awesome_ai_agents - Khoj-ai - 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) [github](https://github.com/khoj-ai/khoj) | [website](https://khoj.dev) (Building / Frameworks)
- my-awesome - khoj-ai/khoj - generation,llama3,llamacpp,llm,obsidian,obsidian-md,offline-llm,productivity,rag,research,self-hosted,semantic-search,stt,whatsapp-ai pushed_at:2026-03 star:34.8k fork:2.2k 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. (Python)
- jimsghstars - 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 (Python)
- awesome-agentic-knowledge-base - khoj-ai/khoj - app | Self-hostable personal "second-brain"; single-Postgres KB stack via pgvector + Muninn memory agent ([survey](surveys/khoj-ai__khoj.md)) | (Open-source repos)
- awesome-ccamel - 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. (Python)
- awesome - 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. (Python)
- my-awesome-list - khoj - 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-ai | 34892 | (Python)
- awesome-a2a-agents - 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. (Agent Categories / <a name="Unclassified"></a>Unclassified)
- awesome-ai-agents - khoj-ai/khoj - Khoj is a self-hostable personal AI platform that transforms any local or online large language model into a customizable, autonomous AI assistant for research, automation, and document retrieval. (Personal Assistants & Conversational Agents / Virtual Assistants)
- awesome - 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. (Python)
- awesome - 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. (<a name="Python"></a>Python)
- awesome-agent-cortex - Khoj - Personal AI assistant with long-term memory and knowledge search. (Knowledge Graphs and Memory / Benchmark Reality Check (real-world tool use))
- awesome-openclaw-dashboards - khoj-ai/khoj - Self-hostable AI second brain with custom agents, document/web answers, research, and scheduled automations. (Personal AI Assistant Platforms & Competitors)
- awesome-side-quests - khoj-ai/khoj - hostable AI second brain — chat with your notes, schedule automations, build custom agents (AI & LLM / RAG & Vector Search)
- awesome-github-projects - 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. ⭐34,798 `Python` ⚡ (🤖 AI & Machine Learning)
- awesome-rust-ai-libraries - Khoj AI - Personal AI second brain that is self-hostable. Get answers from the web or your docs, build custom agents, schedule automations, do deep research, and turn any online or local LLM into your personal, autonomous assistant. ([Read more](/details/khoj-ai.md)) `Self Hosted` `Personal Assistant` `Multi Llm` (AI Assistants)
README

[](https://github.com/khoj-ai/khoj/actions/workflows/test.yml)
[](https://github.com/khoj-ai/khoj/pkgs/container/khoj)
[](https://pypi.org/project/khoj/)
[](https://discord.gg/BDgyabRM6e)
Your AI second brain
[📑 Docs](https://docs.khoj.dev)
•
[🌐 Web](https://khoj.dev)
•
[🔥 App](https://app.khoj.dev)
•
[💬 Discord](https://discord.gg/BDgyabRM6e)
•
[✍🏽 Blog](https://blog.khoj.dev)
***
### 🎁 New
* Start any message with `/research` to try out the experimental research mode with Khoj.
* Anyone can now [create custom agents](https://blog.khoj.dev/posts/create-agents-on-khoj/) with tunable personality, tools and knowledge bases.
* [Read](https://blog.khoj.dev/posts/evaluate-khoj-quality/) about Khoj's excellent performance on modern retrieval and reasoning benchmarks.
***
## Overview
[Khoj](https://khoj.dev) 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](https://docs.khoj.dev/get-started/setup) or try it on our [cloud app](https://app.khoj.dev).
***
## 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](https://docs.khoj.dev/category/features).
## Self-Host
To get started with self-hosting Khoj, [read the docs](https://docs.khoj.dev/get-started/setup).
## Enterprise
Khoj is available as a cloud service, on-premises, or as a hybrid solution. To learn more about Khoj Enterprise, [visit our website](https://khoj.dev/teams).
## Frequently Asked Questions (FAQ)
Q: Can I use Khoj without self-hosting?
Yes! You can use Khoj right away at [https://app.khoj.dev](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](https://blog.khoj.dev/posts/create-agents-on-khoj/) for a step-by-step guide to custom agents.
For more questions, head over to our [Discord](https://discord.gg/BDgyabRM6e)!
## Contributors
Cheers to our awesome contributors! 🎉
Made with [contrib.rocks](https://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](https://docs.khoj.dev/contributing/development) and check out [good first issues](https://github.com/khoj-ai/khoj/contribute) to work on.