khoj logo

khoj

khoj-ai/khoj

Your AI second brain. Self-hostable.

GraphCanon updated 5d · GitHub synced 5d

37k stars2.4k forksLast push 2w Python AGPL-3.0

Decision brief

khoj is a self-hostable AI tool that functions as an assistant able to extract information from the web or user documents for deep research tasks. It supports various local and online language models (LLMs) like GPT, LLa

Good fit when

  • You're looking to build custom agents for specific tasks, making it ideal if you require a tool with high customization options.
  • If requiring seamless integration with offline or locally hosted LLMs, such as Qwen, Mistral, and others, khoj is suitable.

Avoid when

  • When you need real-time responses where latency needs to be minimized, since self-hosting might introduce delays.
  • If you prefer cloud-based solutions for maintenance and scaling purposes without managing your own servers, khoj may not be the best option.
Hosting:
self hosted
Pricing:
freemium - khoj provides free access to its core functionalities, but certain high-tier features might be subject to premium licensing.

Observed Jul 11, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Active (14d since push)
As of 5d
Provenance
Not a fork · Organization account
As of 5d
Security (OSV)
No lockfile
As of 1mo

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

A self-hostable AI assistant that allows users to get answers from the web or their documents, build custom agents, and schedule automations for deep research. Supports turning various online or local LLMs into a personal, autonomous AI tool.

Capability facts

Deploy
Self-host

Source: dockerfile:Dockerfile · Aug 16, 2026

Docker
Dockerfile present

Source: dockerfile:Dockerfile · Aug 16, 2026

CLI
CLI entrypoint

Source: pyproject.toml:[project.scripts] · Aug 16, 2026

Languages
python

Source: github.language+pyproject.toml · Aug 16, 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.