Python

Khoj

Your AI second brain over your notes
by khoj-ai · AGPL-3.0
37 799stars2 527forksPythonlanguage83 days agolast push
Self-hosted chat UIPersonal AI assistantAGPL-3.0Self-hostedPythonIntermediate

From the README

Documentation ↗

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

A high count usually means the project is heavily examined. A low count usually means it is little examined — not that it is safe.
No public activity signals for this tool — it has no open repository we can measure.
Olud Pulse ⓘ ★★★★★★★★★★ /100 signals tracked
🐳 Docker pulls 📦 PyPI downloads / month 📦 npm downloads / month 🚀 Latest release ·
Visit website →View on GitHub

What is Khoj?

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.

Why people choose Khoj

Khoj at a glance

CategorySelf-hosted chat UI
TypePersonal AI assistant
LicenseAGPL-3.0
Runs locallySelf-hosted
Built withPython
Skill levelIntermediate
Best forknowledge workers with large note collections
See GitHub stats & activity

Open-source alternatives to Khoj

Other open-source self-hosted chat ui tools worth comparing:

Open WebUIChatGPT-style interface over any modelLibreChatMulti-provider open-source ChatGPT cloneLobe ChatModern, design-forward chat frameworkAnythingLLMAll-in-one app to chat with your documentsbig-AGIPro-grade chat for many modelsChatboxDesktop client for many AI modelsNextChatLightweight ChatGPT-style UI, deploys in one clickChatbot UIClean open ChatGPT clone with files and profilesHuggingChat UIThe interface behind HuggingChat, self-hostableKotaemonClean open UI to chat with documentsOpen WebUI PipelinesAdd custom logic to any OpenAI-compatible UIMstyOffline chat with split-screen model comparisonWSUP AIChat with AI characters in a browser, grouped by theme

Khoj head-to-head

Khoj vs Open WebUIKhoj vs LibreChatKhoj vs Lobe ChatKhoj vs AnythingLLMKhoj vs big-AGIKhoj vs ChatboxKhoj vs NextChatKhoj vs Chatbot UIKhoj vs HuggingChat UIKhoj vs KotaemonKhoj vs Open WebUI PipelinesKhoj vs MstyKhoj vs WSUP AI

FAQ

Is Khoj free?

Khoj is free and open-source (AGPL-3.0 license), so you can use, self-host and modify it at no cost.

Can I run Khoj locally?

Yes. Khoj is designed to run on your own machine or server, keeping your data private.

What is the best alternative to Khoj?

Popular open-source alternatives include Open WebUI, LibreChat, Lobe Chat. See the comparisons above to choose.

Explore more open-source AI

Browse the full directory of open-source AI tools, models and projects — updated daily.

Browse all tools →