Skip to content
FossShelf
Home / Categories / For AI Engineers

Khoj

Self-hosted AI assistant that searches your notes and web

Replaces Microsoft Copilot, Google Gemini, Glean, Muse

38.15K starsAGPL-3.0reviewed 16 May 2025last commit 2 Aug 2026
Screenshot of Khoj

Who it's for

Researchers querying private notes

Use Khoj to ask questions across PDFs, markdown, web research, and Notion exports while keeping the deployment under your control.

Skip if your documents are few enough to paste into a normal AI chat.

Power users automating AI briefs

Use custom agents and scheduled notifications to turn recurring research into personal newsletters or alerts.

Skip if you need enterprise-wide knowledge governance and admin analytics first.

The problem

Generic AI chat loses context unless users repeatedly upload files, paste notes, or rebuild prompts. Teams and individuals also need control over which local or online models read private PDFs, markdown, Notion exports, images, and research material.

How it works

Chat with docs and web

Khoj can answer from the internet and user documents, including PDFs, markdown, org-mode, Word, Notion files, and images.

Local or online LLM support

The README lists local and hosted model families, including Llama, Qwen, Gemma, Mistral, GPT, Claude, Gemini, and DeepSeek.

Custom agents and automation

Users can create agents with custom knowledge, persona, chat model, and tools, then schedule newsletters and smart notifications.

Features

  • Chat with docs and web
  • Local or online LLM support
  • Custom agents and automation

Recommended for this setup

Strengths

  • Private deployment path: Khoj is AGPL-3.0 licensed and self-hostable, giving users a way to run personal AI over private knowledge without defaulting to a vendor cloud.
  • Works across personal tools: Browser, Obsidian, Emacs, desktop, phone, and WhatsApp access make Khoj useful as a daily assistant rather than only a web app.

Trade-offs

  • Model quality depends on your setup: Self-hosting Khoj still requires selecting models, configuring integrations, and managing compute. Cloud AI tools may feel simpler for casual use.

Tech stack

Languages
Python, TypeScript, CSS, HTML, Emacs Lisp, JavaScript, Shell, Dockerfile, Java
Frameworks
Next.js, React
Databases
—
Tooling
esbuild

FAQ

Can Khoj be self-hosted?

Yes. The README describes Khoj as open source and self-hostable, with setup docs for running it privately.

What files can Khoj answer from?

The README lists image, PDF, markdown, org-mode, Word, Notion files, and web sources.

Does Khoj require OpenAI?

No. Khoj can work with local and online LLMs, including several open model families and hosted providers.

Similar tools

More in AI Engineers