Skip to content

Developer guide

These pages explain how Kontext is put together and how to work in this repository. They assume a checkout.

  • Contributing guide — prerequisites, local setup, common commands, and the pull request process.
  • Agent guide — the canonical architecture and conventions reference.
  • Notebook system — The block document model, package layout, and host integration contract.
  • Environment reference — Runtime environment variables, ownership, and security-sensitive settings.
  • Generated code — The committed API types and Python models, and how to regenerate them.
  • OpenAPI workflow — Refreshing and validating the tracked API specifications.
  • Python package boundaries — The Python package responsibility matrix and dependency rules.
  • Releasing — The app, wheel, TypeScript package, and docs publishing paths.
  • Local operations — Running the local stack, recovering launch tokens, and diagnosing common failures.
  • Desktop builds — Bundling CPython and the local runtime into the macOS app, and publishing DMGs.