← All projects
Documents & knowledge

Khoj

A personal AI assistant that answers questions from your own documents and the web.

What it does

Khoj is a personal AI app its makers call "your AI second brain". You can chat with many different AI models, either online ones like GPT, Claude and Gemini or models running on your own computer.

It can search and answer questions about your own files, including PDFs, Word documents, Markdown, Notion and org-mode notes, and it can also look things up online. You can create custom agents with their own knowledge and personality, and schedule automatic research that arrives as newsletters or notifications.

You can use it from a web browser, Obsidian, Emacs, a desktop app, your phone or WhatsApp. It is open source and can be run privately on your own computer or used through the makers' cloud app.

Who it's for

People who want an AI assistant that knows their notes and documents, from students and researchers to teams.

Can I use it without coding?

Yes. You can use the hosted app in a browser with no setup. Running it on your own computer takes some technical setup. New to this? Start here.

Can I run it?

Runs on
Web browser, Phone
Privacy
Your choice: run it on your device or use an online service
API key
Not needed

Try it

  1. Try Khoj right away on its cloud app, with no setup.
  2. Or follow the self-hosting guide to run it privately on your own computer.
  3. Add your documents and ask questions about them.

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • License (AGPL-3.0): Free to use; if you run a changed version as an online service, you must share your source code.
  • More on staying safe

Where people are talking about it