Khoj logo

Khoj

Personal AI second brain: search your docs, schedule automations, do deep research

35k Python AGPL-3.0 2 months ago

Overview

Khoj is an autonomous AI assistant that indexes your personal documents, notes, and web content to answer questions with grounded citations. It supports custom agents, scheduled automations, deep research workflows, and integrates with Obsidian, Emacs, and browser extensions. Any local or cloud LLM can power it, and it ships as a Python package or Docker image.

Where it falls short of ChatGPT

  • Real-time web search index is shallower than Perplexity or Bing-backed tools
  • Team/multi-user collaboration features are limited in self-hosted mode
  • Scheduled automations require careful setup and may drift without monitoring
  • Mobile apps are basic compared to consumer AI assistants

We list the gaps honestly so you can decide if the trade-off is worth owning your data.

Tags

personal-ai
rag
document-search
ai-agents
Maintain Khoj?

Claim this listing to keep it accurate, add a deploy template, or feature it on relevant pages.

Show off your self-host difficulty score

Embed the Khoj difficulty badge in your README — it links back here.

Self-host difficulty badge← add this to your README
[![Self-host difficulty](https://openreplace.com/api/badge/khoj)](https://openreplace.com/khoj)

Similar open-source projects

Other self-hostable tools in the same space worth comparing.

Run large language models locally with a simple CLI and REST API

174k Docker MIT today
2/5
Khoj vs Ollama

Feature-rich self-hosted chat UI for Ollama and OpenAI-compatible APIs

142k Docker BSD-3-Clause today
2/5
Khoj vs Open-WebUI

Modern AI chat framework with multi-provider support and MCP marketplace

79k Nodejs ⊘ Proprietary today
3/5
Khoj vs LobeHub

All-in-one local AI app with RAG, agents, and no-code agent builder

62k Nodejs MIT today
2/5
Khoj vs AnythingLLM