Skip to content

Offline (air-gapped) servers

The server itself needs no internet. Two things normally come from the internet: the program download and the Python packages for your apps.

1. Bring the program

On a connected machine, download the archive for the target platform and SHA256SUMS from Download. Copy both, then:

sh install.sh --archive aiapp_3.0.0_linux_amd64.tar.gz
powershell -ExecutionPolicy Bypass -File install.ps1 -Archive .\aiapp_3.0.0_windows_amd64.zip

2. Bring the Python packages

On a connected machine with the same OS and CPU:

aiapp wheelhouse ./wheels ./hr-bot ./invoices     # the worker packages plus each app's requirements

Copy the wheels folder over and start the server with it:

aiapp serve --wheelhouse ./wheels        # or AIAPP_WHEELHOUSE=./wheels

The server then installs only from that folder.

3. Models

The simplest choice is to let the server run the models itself. Copy a GGUF file over, add it with aiapp model import NAME FILE --sha256 …, and use it with provider: local. The Docker image includes llama.cpp. See Local models.

Or use a model server inside your network: a local Ollama, vLLM, or an Azure OpenAI private endpoint. Point apps at it with provider: openai-compatible and endpoint:, see Model providers.