L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Déploiement et opérations · SKILL.md

deployment-api

deployment-api

Install, configure, start, deploy, and troubleshoot the Khoj Python server/API surface.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: deployment-api description: "Install, configure, start, deploy, and troubleshoot the Khoj Python server/API surface." disable-model-invocation: true metadata: disco-role: operating license: AGPL 3.0

Khoj Deployment and API

Use this sub-skill when a task is about installing Khoj, self-hosting it with pip or Docker, configuring server environment variables, starting the FastAPI/Django service, validating CLI parser behavior, mapping top-level REST API routes, or diagnosing deployment failures.

Start Here

  • For server startup lifecycle, CLI parser behavior, route prefixes, and REST endpoint families, read server-and-api.md.
  • For pip, Docker, database, domain, auth, admin, model-provider, gunicorn, and optional service configuration, read configuration.md.
  • For failures involving khoj --help, PostgreSQL, embedded DB, CSRF/host/cookies, model providers, static files, Docker memory, dependency conflicts, or Rust/tokenizers builds, read troubleshooting.md.
  • To inspect parser defaults safely without importing khoj.main or touching the database, run inspect_cli.py.

Boundaries

This sub-skill owns deployment, startup, configuration, API surface orientation, and deployment troubleshooting. Route document ingestion details to content-indexing, search ranking/filter behavior to search-retrieval, chat/agent/tool payload internals to chat-agents, automations and memory behavior to automations-memory, and contributor workflows to development.

Safety Notes

  • Do not use khoj --help as a harmless parser probe on an unconfigured host; the console script resolves khoj.main:run, and importing khoj.main initializes Django, runs migrations, and collects static files before CLI parsing.
  • Prefer python scripts/inspect_cli.py --args -- --help or direct khoj.utils.cli.cli(...) inspection for parser-only validation.
  • Do not start the server, mutate databases, pull containers, or install dependencies unless the user explicitly asks for an operational change.
Skills enregistrées