인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
배포 및 운영 · 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

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