khoj
khoj-ai/khoj · Updated
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.
khoj-ai/khoj is a Python repository in the AI Agents category with 37,884 stars and 2,529 forks on GitHub, released under the AGPL-3.0 license, last updated 2mo ago.
How to install khoj in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install khoj in Claude CodeAnthropic's agentic CLI
Clone & open
bashgit clone https://github.com/khoj-ai/khoj.git cd khoj claudeLet Claude read it
Ask “/init” to generate a CLAUDE.md, then have Claude explain, run, or extend the codebase. It reads files on demand.
How to install khoj in Claude DesktopDesktop app (MCP config)
Clone the repository
bashgit clone https://github.com/khoj-ai/khoj.gitOpen in your AI editor
Open the folder in your assistant and ask it to index the codebase, then reference files in chat.
How to install khoj in CursorAI-first code editor
Clone & open in Cursor
bashgit clone https://github.com/khoj-ai/khoj.gitIndex & chat
Open the folder — Cursor indexes it automatically. Use @Codebase in chat to ask about it or scaffold from it.
How to install khoj in Codex CLIOpenAI coding agent
Clone
bashgit clone https://github.com/khoj-ai/khoj.gitPoint Codex at it
Run codex in the repo root; add setup notes to AGENTS.md so the agent knows how to build & test.
How to install khoj in WindsurfCodeium's agentic IDE
Clone & open
bashgit clone https://github.com/khoj-ai/khoj.gitUse Cascade
Windsurf indexes the workspace; ask Cascade to explain or reuse modules from the repo.
How to install khoj in ClineVS Code autonomous agent
Clone the repository
bashgit clone https://github.com/khoj-ai/khoj.gitOpen in your AI editor
Open the folder in your assistant and ask it to index the codebase, then reference files in chat.
How to install khoj in VS CodeCopilot / MCP support
Clone the repository
bashgit clone https://github.com/khoj-ai/khoj.gitOpen in your AI editor
Open the folder in your assistant and ask it to index the codebase, then reference files in chat.
Documentation
Full README<b>Your AI second brain</b>
📑 Docs • 🌐 Web • 🔥 App • 💬 Discord • ✍🏽 Blog
🎁 New
- Meet 🌶️ [Pipali](https://pipali.ai) - 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.
More AI Agents repositories
- AI Agents265k
deepseek-harness
DeepSeek Harness: Everything is a Plugin.
TypeScriptMITdeepseek-ai/deepseek-harness
- AI Agents258k
hermes-agent
The agent that grows with you
PythonMITNousResearch/hermes-agent
- AI Agents197k
firecrawl
Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScriptAGPL-3.0firecrawl/firecrawl
- AI Agents180k
ponytail
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
JavaScriptMITDietrichGebert/ponytail
- AI Agents149k
langchain
The agent engineering platform.
PythonMITlangchain-ai/langchain
- AI Agents110k
orca
Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScriptMITstablyai/orca
Catalog data refreshed . Something wrong? Report it.