Home Projects khoj
khoj
Python

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 - f

by khoj-ai · GitHub
Top 5% most starred in the catalogue
Stars
Forks
License
Created
Last commit
Category
Language
Likely
Self-hostable
agentaiassistantAGPL-3.0PythonSelf-hostable
View on GitHub
In plain words

Khoj is a personal AI assistant that indexes your notes and documents (Markdown, Org, PDF, Notion) and lets you chat over them, self-hosted or in their cloud.

From the README

Documentation ↗

Excerpts from the project README on GitHub. Copyright and licensing remain with the respective authors.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
khoj — GitHub preview card
📈 Star history
37k35k
2026-06-272026-08-31
📈 Track khoj

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

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 - f

khoj has 36.8k stars on GitHub. It has been forked 2.4k times. khoj is written mainly in Python. It has been in active development since 2021. khoj is available under the AGPL-3.0 license. Its main topics are agent, ai, assistant, chat.

Read the full guide
Frequently asked questions

What is 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 - f

Is khoj open source?

khoj is an open-source project. It is released under the AGPL-3.0 license.

Is khoj free?

Yes. khoj is free and open source — you can use, modify and self-host it. Its AGPL-3.0 license is a strong copyleft: if you distribute a modified version — including offering it as a network service — your changes must be released under the same license.

What license does khoj use?

khoj is available under the AGPL-3.0 license.

What language is khoj written in?

khoj is written mainly in Python.

🏅 Maintainer of this project?
olud.ai badge — khoj

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=khoj-ai-khoj)](https://olud.ai/project/khoj-ai-khoj.html)
More badge options →
🧬 Related projects🧬 View the DNA map →