khoj logo

khoj

khoj-ai/khoj

Self-hostable AI second brain for personalized research and automation

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

154views this month

37k stars2.5k forksLast push Aug 2, 2026 Python AGPL-3.0

Decision brief

Khoj is a self-hosted AI assistant that supports integration with multiple LLMs, enabling users to build custom agents and conduct deep research using both web and local documents.

Good fit when

  • When you need a self-hosted solution for personalized research and automation that can integrate with a variety of LLMs, including GPT, Claude, Gemini, LLaMA, Qwen, and Mistral.
  • If you require a tool that allows you to build custom agents and schedule automations, Khoj can be a suitable choice.

Avoid when

  • If you are looking for a cloud-based service without the need for self-hosting, Khoj may not be the best fit.
  • Khoj might not be ideal if you are seeking a tool that does not support a wide range of LLMs and requires a more specialized integration.
Pricing:
freemium - Khoj is free to use, but users may incur costs related to hosting and the LLMs they choose to integrate.
Requirements:
Min 4 GB RAM; Requires Docker; Khoj requires Docker for setup and operation.; Users must have a Python environment and the necessary dependencies installed.

Observed Sep 18, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Steady (47d since push)
As of Sep 18, 2026
Provenance
Not a fork · Organization account
As of Sep 18, 2026
Security (OSV)
No lockfile
As of Sep 18, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install khoj
PyPI

How it fits your stack(27)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Alternative

Integrates

Related

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Khoj is a self-hosted AI assistant that enables users to build custom agents, schedule automations, and conduct deep research using both web and local documents. It supports integration with various LLMs including GPT, Claude, Gemini, LLaMA, Qwen, and Mistral.

Capability facts

Deploy
Self-host

Source: dockerfile:Dockerfile · Sep 18, 2026

Docker
Dockerfile present

Source: dockerfile:Dockerfile · Sep 18, 2026

CLI
CLI entrypoint

Source: pyproject.toml:[project.scripts] · Sep 18, 2026

Languages
python

Source: github.language+pyproject.toml · Sep 18, 2026

Categories

Tags

README

Self Host To get started with self hosting Khoj, read the docs.

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.