Skip to content

Airgapped execution

An airgapped model strategy is a contract the control plane builds, validates and admits against, rather than a deployment convention. It states the network posture a model runtime must run under and refuses a deployment whose inputs cannot satisfy it.

The contract

model.airgapped_execution.v1

Three operations exist: building the contract, validating the inputs against it, and evaluating dispatch admission under it. The third turns it into enforcement rather than description.

The network posture it requires

network profile        airgapped
egress policy          default_deny
public egress          forbidden
private-only network   required
internal image hosts   required

default_deny is the posture rather than a recommendation: the contract requires the egress policy to be default-deny, and a runtime whose policy is not is refused.

Four internal services must be reachable

dns             control_plane
registry        object_store

These are the four things a runtime cannot operate without, and each must be reachable privately. Requiring them by name is what turns "airgapped" into a checkable state: a deployment declaring the strategy but unable to reach its registry privately does not pass validation.

Policy paths are required, not optional

The contract requires policy to be declared for each path a model could otherwise reach outward on, including its source. A path left undeclared is a gap in the posture, so the contract treats an omission as a failure rather than as an absent restriction.

Where it takes effect

flowchart LR
  subgraph CP["CONTROL PLANE"]
    direction TB
    CT[("model.airgapped_execution.v1")]
    V1{{"Validated at deploy"}}
    V2{{"Admitted at dispatch"}}
    CT --> V1
    CT --> V2
  end
  subgraph PN["YOUR PRIVATE NETWORK, default_deny egress"]
    direction TB
    RT["Model serve runtime"]
    DNS["dns"]
    CPE["control_plane endpoint"]
    REG[("registry")]
    OS[("object_store")]
    RT --- DNS
    RT --- CPE
    RT --- REG
    RT --- OS
  end
  V2 -->|"assignment"| RT

The four services the runtime must reach are inside the private box, and the box has no outward edge. The contract is checked twice, at deploy and again at dispatch, so a posture that changed in between is caught before work reaches the runtime.

Validation happens before dispatch, and admission is evaluated again at dispatch. A model that validated when it was deployed is checked again against the posture in force when work is dispatched to it.

What it changes elsewhere

Build. The base image policy constrains the build to internally hosted images, because pulling a public base would require egress. See Build strategy, composition, and orchestration.

Snapshot ingest. Weights cannot be fetched from a public source, so the snapshot must already be inside the network. See Snapshot ingest planning.

Dependency resolution. Airgapped resolution is build-time and pre-resolved rather than resolved at run time, which the resolver profile enforces on the assignment itself.

Airgapped implies self-hosted

A hosted control plane is reachable over the public internet, which an airgapped network does not have. An airgapped deployment therefore runs its own control plane, and the contracts between the planes are unchanged. See The hosted and self-hosted split.