kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

Guides / Air-gapped install

Install kosa8 on an air-gapped machine

kosa8 runs local sandboxes with no network at all. You carry one bundle across on a USB drive, install it, import an offline site licence, and nothing on that machine reaches out again: no update checks, no telemetry, no licence checks and no kosa8 Cloud.

What you need#

  • The offline bundle for the target platform: kosa8-airgap-<version>-<os>-<arch>.tar.gz and its .sha256. Enterprise and Government customers get it from their private release channel. It carries the CLI, the daemon, the guest kernel and root filesystem (with alpine inside, so kosa8 run alpine works with no registry) and, on request, the desktop app.
  • A site licence file (.json), issued to your organization. It is signed, carries its own expiry, and is checked on the machine against the issuer key built into the bundle's binaries. It replaces the online licence check: no activation, no revalidation.
  • On Linux, cloud-hypervisor and virtiofsd from your own package mirror. The bundle does not carry them.

The public downloads at kosa8.com/download accept no site licence (no issuer key is built into them), so use the bundle. A public install that already holds a licence keeps working offline, but that licence is a subscription key that needs a check with the network every 7 days, so a machine that never comes back online needs a site licence.

1. On a connected machine: copy the bundle#

$ shasum -a 256 -c kosa8-airgap-0.22.1-darwin-arm64.tar.gz.sha256
$ cp kosa8-airgap-0.22.1-darwin-arm64.tar.gz* /Volumes/USB/
$ cp your-site-licence.json /Volumes/USB/

2. On the air-gapped machine: install#

$ tar -xzf /Volumes/USB/kosa8-airgap-0.22.1-darwin-arm64.tar.gz
$ cd kosa8-airgap-0.22.1-darwin-arm64
$ sh install.sh

The installer contains no URL. It checks SHA256SUMS before it copies anything, puts kosa8 and kosa8d in ~/.local/bin, the guest image in ~/.kosa8/guest, and the desktop app (if the bundle has one) in ~/Applications. It also declares the machine offline by writing ~/.kosa8/offline; set KOSA8_ONLINE=1 before running it to skip that.

3. Install the site licence#

$ kosa8 license install /Volumes/USB/your-site-licence.json
installed a site licence for example-agency
  plan:    Enterprise
  expires: 2027-09-20T21:03:51Z (364 days)
  this machine makes no licensing requests while it holds

Or, in the desktop app: on the sign-in screen choose An offline site licence file? import it, or open Billing and press import licence file. With a site licence the app needs no sign-in and makes no network call.

4. Start and check#

$ kosa8 daemon start
$ kosa8 doctor
$ kosa8 run alpine echo hi

Other images come in as tar files: kosa8 load < image.tar.

Offline mode#

Offline mode makes every call that would leave the machine fail at once, naming what wanted the network, instead of waiting out a DNS timeout. It is on when either of these is set:

  • the file ~/.kosa8/offline, which the daemon, the CLI and the desktop app all read (the desktop app's Settings > Offline mode switch sets and clears it, and a daemon started at login needs no restart);
  • the environment variable KOSA8_OFFLINE=1, for one shell or one service. KOSA8_OFFLINE=0 turns it off for one command even while the file exists.

While it is on, the desktop app shows an Offline mode bar, hides kosa8 Cloud, and makes no update check, no telemetry and no licence or sign-in call. Its fonts and scripts are built in, so drawing the app fetches nothing either. Local sandboxes, snapshots, rewind and the audit log work as usual. If the switch is off and the machine has no route out at all, the app says No network so you know to turn it on.

Building the bundle yourself#

From a kosa8 source checkout, with the issuer public key your site licences are signed with:

$ KOSA8_SITE_ISSUER_KEY=<base64 key> make airgap
$ KOSA8_SITE_ISSUER_KEY=<base64 key> DESKTOP_APP=dist/kosa8.app make airgap   # with the Mac app
$ OS=linux ARCH=amd64 KOSA8_SITE_ISSUER_KEY=<base64 key> make airgap

Build the Mac app for a bundle with the same key (KOSA8_SITE_ISSUER_KEY=… sh desktop/build.sh) so the CLI inside it accepts the site licence. The bundle's own GOVERNMENT.md covers the FIPS build and the private release channel.

Something wrong or missing? Edit this page, or write to contact@kosa8.com.

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · AI Agent Sandbox: Secure and Sovereign for Enterprise · Local models served by llamay · Agent gateway: MAQPNA