Install and run¶
Pick your platform¶
| Where | Guide | Good for |
|---|---|---|
| Windows 10/11, Windows Server 2019+ | Windows | a laptop or a Windows server |
| macOS 12+ (Intel or Apple silicon) | macOS | development |
| Linux x86_64 or arm64 | Linux | servers, with a systemd service |
| Docker | Docker | one container with a volume |
| Kubernetes | Kubernetes (Helm) | clusters, with ingress and metrics |
| Azure Container Apps or AKS | Azure | Azure, with azd up |
| No internet access | Offline servers | air-gapped networks |
Downloads are on the public repository's releases page; the Helm chart and Azure templates are in its deploy/ folder.
What every install needs¶
- Python for app handlers. Install uv and the server prepares Python by itself on first start. Or use Python 3.10 or later with the worker packages:
pip install "grpcio>=1.85.3" "protobuf>=7.35.1" "pypdf>=5". - Resources. About 200 MB of disk for the program and its Python environment, plus your data. At least 2 GB of RAM for a few small apps.
- A model. An API key from a provider, or a local Ollama. See Model providers.
After installing¶
- Start the server:
aiapp serve. It listens on127.0.0.1:8080, so only this machine can reach it at first. - Check it:
aiapp health, or openhttp://127.0.0.1:8080/health. - Connect a model: Model providers.
- Build your first app: Quickstart.
Back up the master key
On first start the server creates master.key in its data folder (~/.aiapp, or %USERPROFILE%\.aiapp on Windows). It encrypts everything. Keep a copy somewhere safe and separate from your backups: without it, no backup can be read. See Backups.