Skip to content

By file (air-gapped)

Your own servers · By file. An air-gapped site has no network path to the internet or to Atlantic. The engine, the connectors, the index, the models and Octy™ run on site, and connectors reach only systems inside the site. LightHouse™ remains with Atlantic as your tenant: telemetry leaves the site, and commands reach it, as signed files that an operator carries across.

Requirement Detail
Role client_admin
Where agents run Your own servers. A cloud deployment always has an outbound path and cannot be air-gapped
Deployment profile Always-on. The offline relay keeps its spool on a disk that survives a restart, and refuses to run as a job’s sidecar. With no cloud bill on site, ephemeral would save memory only. See Deployment profiles
Models Served on site, such as a self-hosted model

On Setup and admin → Where agents run, choose Your own servers, then under How it reaches LightHouse choose By file (air-gapped). The other choices are described on How it reaches LightHouse.

The choice is recorded in the tenant’s audit log. Through the API, PUT /api/v1/run-targets takes connectivity: air_gapped. A request for air-gapped with a cloud, or with a profile other than always-on, is refused.

Area Air-gapped behaviour
Telemetry Written to signed bundle files, transferred and imported in LightHouse
Commands Exported from LightHouse as a signed command file; results return the same way
Images and models Taken from Atlantic’s signed mirror and loaded into the organisation’s own registry and disk
Content Not read in place. LightHouse shows records and metrics only, current to the last imported bundle

How a bundle is trusted describes how each file is signed and verified. The integrity of a transfer does not depend on the person who carries it.

Get my stack for an air-gapped site writes the same Compose stack as for an online site, with these differences:

Component Air-gapped configuration
Relay Offline mode: makes no outbound requests, seals signed bundles into its spool, has no proxy setting
Content reader and live command channel Not included
Command handler File-based: applies a signed command file placed in ./carry/in and writes signed results to ./carry/out
.env Takes images from the organisation’s own registry through one setting, which the mirror tooling rewrites; every digest is unchanged
Local inference The offline profile of the model server is on, and the gateway and Octy™ use the self-hosted model. See Self-hosted models
Retrieval’s models Loaded only from the installed mirror, with no download attempted
Guide lighthouse-air-gapped.md, with the round trip in the engine’s and the CLI’s commands, and the tenant and deployment filled in
  1. Once per release: pack the images and models on a connected machine, transfer them, verify them on the site, and load them into the registry and model directory.

    Result: the release’s images and models are available on the site with their digests verified.

  2. Start the stack and run its check.

  3. Telemetry out: export the bundles written since the last one LightHouse holds, verify them, transfer them and import them in LightHouse (on the deployment’s page, or with lighthouse-ai telemetry import).

    Result: the deployment’s page shows the time of the last imported bundle.

  4. Commands in, results out: export the command file from LightHouse (or with lighthouse-ai commands export), transfer it to the site and apply it; return the results with the next bundles.

    Result: the command results appear in LightHouse when that bundle is imported.

The See your stack report in step is complete for an air-gapped site once a telemetry bundle from it has been imported. See Organisation set-up.

The relay sends nothing and opens no connection to LightHouse. Each batch it would have sent is signed exactly as the live send would have been, numbered in the deployment’s sequence, and kept in a spool on disk. The relay seals new batches into bundle files at intervals, and an operator carries the files to a machine that can reach LightHouse and imports them. Commands travel the other way in a signed command file.

  • Relay: in your air-gapped network
  • Command handler: in your air-gapped network
  • Operator: carries files by your approved means
  • LightHouse: your tenant, from a connected machine

Telemetry out

  1. Relay: Sign, number and keep. each batch signed as a live send would be, numbered in the deployment's sequence, kept on disk
  2. Relay to Operator: Export and verify. bundles of every batch after the last one LightHouse holds, each checked as LightHouse will check it
  3. Operator to LightHouse: Carry and import. signatures, manifest and sequence checked, then stored through the live intake

Commands in

  1. LightHouse to Operator: Export the command file. every command waiting for the deployment, as signed frames, each exported once
  2. Operator to Command handler: Carry and apply. Atlantic's signature, the expiry, replay and your policy, checked as on the channel

Results back

  1. Command handler to Operator: Write the results. each answer signed with the deployment's key
  2. Operator to LightHouse: Import the results. each answer verified, then applied as a live one
Nothing crosses the gap by network. Bundles carry signed telemetry to LightHouse; a command file carries signed commands back; a results file carries the signed answers to LightHouse. Each file is checked on arrival, so the person who carries it does not need to be trusted.

The relay in offline mode must run as a lasting service with a disk that survives a restart, because the spool is on that disk. It refuses to run as a job’s sidecar. In the generated Compose file the relay runs as a lasting container.

Settings on the relay:

Setting Default What
AAL_TELEMETRY_MODE online offline
AAL_DEPLOYMENT, AAL_LIGHTHOUSE_KEY_FILE None As online. AAL_LIGHTHOUSE_URL is not needed, and is not used if set
AAL_LIGHTHOUSE_REVISION As online The contract revision of the LightHouse that will import the bundles. Anything newer is held back, as online
AAL_TELEMETRY_OFFLINE_DIR offline in the relay’s buffer directory The spool, on a disk that survives a restart
AAL_TELEMETRY_OFFLINE_MAX_BYTES, AAL_TELEMETRY_OFFLINE_MAX_AGE_S 1 GiB, 90 days The spool’s limits. A batch dropped over a limit shows in LightHouse as a gap
AAL_TELEMETRY_BUNDLE_ROTATE_S, AAL_TELEMETRY_BUNDLE_ROTATE_BYTES 1 hour, 16 MiB How often the relay seals a bundle, or sooner at this size

Settings in the command handler’s policy (handler-commands.yaml). Command files are off until you turn them on:

command_files:
enabled: true # default false: every file is refused
max_ttl_s: 86400 # the longest lifetime a command in a file may have: 900 seconds to 7 days; default a day

Every command type stays off until your policy enables it, as on the channel.

Offline
Agents, schedules, the model gateway, budgets, caps, the kill switch and guardrails Unchanged: they run in the deployment
Usage, cost, runs and health in LightHouse Delayed: up to the last bundle imported
Live views, such as a run while it runs or a deployment’s wake Not live: the records arrive with the bundle, as history
Alerts LightHouse raises from telemetry Raised when a bundle is imported, not when the event happened
Approvals managed in LightHouse By command file: a decision made in LightHouse arrives with the next file. Break-glass, where your policy allows it, is unchanged
Commands: pause, budgets, pre-approvals, approvals, releases and secrets By command file, within your policy’s lifetime
Connector credentials sealed in LightHouse By command file, sealed to the deployment’s key as on the channel
Reading your content in place from LightHouse Not available: nothing can dial out, and nothing may dial in

Bundles carry operational telemetry only: the same counts, costs, timings, statuses and keyed hashes as a live deployment sends. Opt-in export is not part of offline mode.

Telemetry goes out in four steps: export, verify, carry and import. First, find where LightHouse is up to.

  1. Find where LightHouse is up to. On a machine that reaches LightHouse:

    Terminal window
    lighthouse-ai telemetry status --deployment <deployment>

    held_through is the highest batch number LightHouse holds with nothing missing below it. Any missing ranges are listed.

  2. Export. Inside the air-gapped network, in the relay’s container:

    Terminal window
    python -m aal_engine.telemetry export --since <held_through> --out /path/to/bundles

    It writes bundles of every batch after that number and prints a summary: the bundles written, the next number and any batch withheld. Bundles the relay sealed on its own schedule are also in the spool’s bundles directory; you can carry those instead.

  3. Verify. Check each file as LightHouse will, before it leaves:

    Terminal window
    python -m aal_engine.telemetry verify-bundle /path/to/bundles/<bundle>.tar.gz
  4. Carry the files across by your own approved means.

  5. Import. On the machine that reaches LightHouse:

    Terminal window
    lighthouse-ai telemetry import <bundle>.tar.gz

    The deployment is read from the bundle unless you give --deployment. The answer shows what was stored, what LightHouse already held, and the new held_through for the next export.

Commands come back in two steps.

  1. Export the command file. On the machine that reaches LightHouse:

    Terminal window
    lighthouse-ai commands export --deployment <deployment> --out commands.json

    The file holds every command waiting for the deployment, as signed frames. Each is marked delivered when the file is written, so a command is never exported twice.

  2. Apply it. Carry the file across, then inside the air-gapped network, where the command handler runs:

    Terminal window
    python -m aal_engine.handler apply-file commands.json --results answers.json

    Each command is checked exactly as on the channel: Atlantic’s signature, the deployment, the issuer, the expiry, whether it has been applied before, your policy and every precondition. --results writes each answer signed with the deployment’s key.

A command meant for a file is created with delivery: "file". It may live 30 seconds to 7 days, a day by default, and is never sent down the command channel. A command made for the channel lives at most 15 minutes, so it is useful in a file only if the file is applied within that time. The command channel refuses any command that lives longer than 15 minutes.

Who may import and export. A client_admin, as a person at the keyboard, or a signed-in tool whose token carries the offline scope (lighthouse-ai login --scope "telemetry:read offline"). A machine key cannot. Every import is in the audit log as telemetry_bundle_imported, every refused upload as telemetry_bundle_refused (with the refusal’s code and the file’s hash and size, nothing from inside it), and every command file as command_file_exported.

  • The deployment’s key signs everything that leaves. Each batch carries the signature its live send would have carried, and the bundle’s manifest is signed by the same key. LightHouse refuses a bundle signed by another deployment’s key or naming another deployment.
  • The sequence replaces the clock. A carried bundle is old by design, so its timestamps are not held to the live five-minute window. LightHouse refuses a bundle it already holds (409 bundle_duplicate), skips batches it already has, and refuses the whole bundle if a number it holds arrives with different contents (409 sequence_conflict). Each missing number is reported as a gap. Records keep their ids, so a record imported twice is stored once.
  • The person who carries a file is not trusted. Altering a batch, a manifest or a command breaks a signature; removing a batch shows as a gap; replaying one is a duplicate; and a command that waited too long has expired.
  • The same checks as live. Each new batch goes through the same intake and allow-list as live telemetry. Before writing a bundle, the relay checks every batch again and withholds any that fails, so a file edited in the spool cannot travel under the deployment’s signature.
  • Limits. A bundle upload is at most 48 MB, and 64 MB once decompressed. A larger export is split into several bundles.

LightHouse imports the answers that --results writes and applies each answer as it applies a live answer:

Terminal window
lighthouse-ai commands import-results answers.json
Rule Behaviour
Verification Every answer in the file is verified with the command channel’s own verification before any answer is applied
Matching Each answer must answer a command that LightHouse exported by file to that deployment
Failure One failed answer causes the whole file to be refused
Duplicates A file imported a second time is refused
Status Command statuses move forward only
Audit Each import and each refusal is recorded in the audit log as command_results_imported or command_results_refused

API: POST /api/v1/deployments/{deployment}/command-results performs the same import. GET on the same path lists the imports and the commands awaiting an answer.

In LightHouse, the card for each air-gapped deployment links to its Offline site page. The page shows the last bundle imported, the sequence with any missing batches, the --since value for the next export, the commands awaiting an answer, and every bundle and results import. A client_admin can upload a bundle or a results file and export a command file from this page as an alternative to the CLI.

A network without internet access cannot pull images or download models. Images and models are transferred as files, verified on the offline side before they are loaded, and run under the digests the stack pins. The tool is aal_engine.mirror, part of the engine; on the connected side, run it on a host where the engine is installed. It uses only the Python standard library and runs on an offline host that has Python and a container runtime without the engine. Each bundle includes a copy of the tool as aal-mirror.py. Use the copy supplied with the release.

  • Connected host: yours, with internet access
  • Operator: carries files by your approved means
  • Offline host: in your air-gapped network
  • Your registry and model store: in your air-gapped network
  1. Connected host: Pack the release. images by digest with Atlantic's signatures and SBOMs, model weights with each file's checksum, and the signed release manifest
  2. Connected host to Offline host: Carry the bundles. the verifier travels with them
  3. Offline host: Verify before anything loads. every file against its manifest, Atlantic's images against their signatures, offline; one mismatch refuses the bundle
  4. Offline host to Your registry and model store: Load and install. images pushed under the same digests; weights installed beside their manifest
  5. Your registry and model store to Offline host: Run at the pinned digests. the stack pulls from your registry; models load from the mirror only
A new release and its model weights carried into an air-gapped network as signed bundles, verified on the offline side before anything is loaded, and run at the same digests the stack pins.

On a host with internet access, pack every image pinned in the stack’s .env:

Terminal window
python -m aal_engine.mirror images pack --env .env --out images.tar

Every image in .env must be pinned by digest. An image referenced by tag only is refused. Atlantic’s images are first verified online against the identity of the release pipeline that signed them. Each image is then saved by digest with its signature and software bill of materials. Sigstore’s trusted root is packed with the images for offline signature verification. A manifest in the bundle lists every file with its SHA-256 and size.

Transfer images.tar and the stack’s .env separately. On the offline side, with cosign 2.4 or later, run:

Terminal window
python3 aal-mirror.py images verify images.tar --env .env --dir ./mirror
python3 aal-mirror.py images load ./mirror --registry registry.internal:5000/aal
python3 aal-mirror.py images env .env --registry registry.internal:5000/aal > .env.mirror
Command Behaviour
verify Refuses the bundle and loads nothing if any file is missing, unlisted or altered; if an image’s digest differs from the digest pinned in .env; or if an Atlantic image fails its signature or bill-of-materials check against the packed trusted root. Third-party images (the identity proxy, the database, the model server) are checked by digest only
load Pushes each image to the client’s registry (Harbor, Artifactory or any OCI registry) under the same digest, with its signatures
env Writes a .env that points the stack at the client’s registry, with every digest unchanged. compose.yaml is the same file online and offline

Retrieval uses two small open-weight models: the embedding model and, when re-ranking is enabled, the re-ranker. In a connected deployment they are downloaded on first use. For an offline site, pack them on the connected side and install them on the offline side:

Terminal window
python -m aal_engine.mirror models pack --out models.tar.gz # connected
python3 aal-mirror.py models install models.tar.gz --dir /srv/aal/models # offline

install refuses any file the bundle does not list and any checksum that differs. It then unpacks the weights with their manifest. Set AAL_MODELS_OFFLINE=1 and set the engine’s model directory to the install directory (the client documentation names the setting). The engine then verifies the files against the manifest before loading them. If a file is missing or changed, the engine refuses to load and does not download. The engine makes no outbound call for a model.

For a self-hosted model on an offline site, download the weights on the connected side and transfer them with each file’s checksum:

Terminal window
huggingface-cli download Qwen/Qwen3-8B --local-dir ./Qwen3-8B # connected
python -m aal_engine.mirror weights pack ./Qwen3-8B --name Qwen/Qwen3-8B --out weights.tar
python3 aal-mirror.py weights install weights.tar --dir onprem/weights # offline

install refuses an unlisted file, a missing file, a checksum that differs and a target directory that is not empty.

The stack’s Compose file includes an offline profile of the model server. To enable it, add inference-offline (Docker) or inference-offline-cdi (Podman) to COMPOSE_PROFILES in .env.

Property Offline model server
Address The same address as the online service; gateway settings are unchanged
Network The product network only, with no outbound network
Weights Loaded read-only from AAL_LOCAL_MODEL_DIR (default onprem/weights)
Image Pulled from the client’s registry

For an air-gapped deployment, Get my stack writes the offline profile into .env, with AAL_MODELS_OFFLINE=1 and the model directories.

Each engine release includes a signed release manifest, release.json. The manifest names every image of the release by digest, the retrieval models with each file’s checksum, the engine version, the LightHouse contract revision the release is built against, and the release notes. The same release pipeline signs the manifest, under the same identity as the images it names. Atlantic provides the manifest, its signature, the models bundle and the verifier with each release. The client packs images.tar on its connected host from the release’s .env, as described under Images. The transfer directory contains:

File Content
release.json and release.sigstore.json The manifest and its signature
images.tar The release’s images, packed as above
models.tar.gz Included only when the release changes a retrieval model
aal-mirror.py The verifier, as released

On the offline side, run:

Terminal window
python3 aal-mirror.py release verify release-<version>/ --dir ./mirror --installed <the version you run now>
python3 aal-mirror.py release verify release-<version>/ --dir ./mirror --fresh --env .env # a first install

release verify checks the manifest’s signature offline against the packed trusted root, then checks every image and model against the manifest. It refuses the release and unpacks nothing if:

  • the manifest or its signature was altered, or was signed by an identity other than that version’s release pipeline;
  • an image is missing, has a different digest or belongs to another release;
  • a model file differs;
  • the release is older than the installed version, unless --allow-downgrade is passed.

On success it prints the version, the signing identity, the contract revision and the release notes for the person who approves the upgrade.

The client’s engineers decide when to apply the release:

  1. Run images load and images env, as under Images.

    Result: the release’s images are in the client’s registry and a new .env points at them.

  2. Run models install if the release includes models.tar.gz.

    Result: the retrieval models are installed with their manifest.

  3. Run docker compose up -d (or podman compose up -d) with the new .env.

    Result: the stack runs the new release. The next telemetry bundle carries the new engine version, and LightHouse records the upgrade from it.

The engine holds no licence key and performs no licence check. An air-gapped site does not depend on reaching a licence server.

A corpus carried to the site, as an encrypted snapshot or a copied directory, is checked before it is indexed:

Terminal window
aal-engine corpus verify --corpus <path> [--keys <keys.json>]

The command verifies the corpus manifest and each signed knowledge item beside the documents against the deployment’s public keys, under the deployment’s signature policy. It then checks that every document’s bytes are those its item names, that every document has an item and that every item’s document is present. Exit status 0 means the corpus verified. Exit status 1 means it was refused: the command prints the reason and the paths concerned for the operator, and records the security event knowledge.verify_failed. A corpus indexed before knowledge items existed is signed in place with aal-engine corpus attest, with no model calls. See Signed provenance.