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:
2. Bring the Python packages¶
On a connected machine with the same OS and CPU:
Copy the wheels folder over and start the server with it:
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.