// PART 13
Hardware and scale
Sizing starts from what the binaries require, not from folklore. This page covers host requirements, supported platforms, and the scaling levers in the order to pull them.
Host requirements
| Requirement | Why |
|---|---|
| 64-bit CPU | every published binary is 64-bit |
| ~4.5 GiB free RAM for a debug build | the workspace graph is large; rustc is killed below that |
| glibc-based Linux (deb/rpm/AppImage) | the desktop bundles target glibc; musl is not built |
libwebkit2gtk-4.1-0, libpq5, OpenSSL 3 |
desktop app runtime dependencies |
incus + incus-admin group |
agent VMs, terminals, browser actions |
Sizing guidance (from the legacy tables — verify against your workload)
| Resource | Minimum | Production |
|---|---|---|
| RAM | 4 GB | 16 GB+ |
| Disk | 10 GB | 100 GB SSD |
| CPU | 1 core | 2+ cores |
| GPU | none | RTX 3060+ (12 GB VRAM) for local LLM |
The disk lever people underestimate is logs and ops_request_metrics — the
disk runbook rotates logs first because it is the cheapest space and never
loses product data.
Supported platforms
| Platform | Local LLM | Drive | Notes |
|---|---|---|---|
| Linux x86_64 | llama.cpp b7345 (CPU + Vulkan) | yes | primary CI and production target |
| Linux arm64 | llama.cpp b12189 | yes | no upstream checksum for this variant; verification skipped |
| Linux s390x | llama.cpp b7345 | yes | binary only; not exercised by CI |
| macOS arm64 / x64 | b7345 | yes | desktop path; no darwin service stack |
| Windows x64 | b12483 (CPU, CUDA 12.4/13.5, Vulkan) | yes | cudart_win_cuda* ships the runtime |
No SBC support statement exists; there is no documented Raspberry Pi target.
Scaling model
Scaling is horizontal with Incus containers behind Caddy. The building blocks:
- Per-component limits —
incus config set <c> limits.cpu,limits.memory,limits.disk.priority; NIC bandwidth vialimits.ingress/limits.egressoneth0. - Published vs internal ports — a port leaves the instance only when
listed in
published_ports(one proxy device + one NAT rule per port). - WebSockets want sticky sessions — the load-balancing sketches use
cookie-based affinity for
/ws*and round-robin for/api/*, withhealth_uri /healthchecks. - Tenants are the isolation unit — drain or disable a tenant with
bots.is_activebefore adding infrastructure; the Vibe platform already gives every project its own database and Incus VM.
When to scale what
| Pressure | First move |
|---|---|
api_p95 burning |
check the database (disk, slow queries) before adding app instances — a full disk slows everything |
| Queue depth growing | reap stuck agent_runs, then restart the drain; instances rarely help a stuck worker |
| LLM latency | a second llama.cpp instance or a faster quant; the local model is the bottleneck, not the API |
| Drive throughput | move OtterIO data to a larger/faster volume; oc mirror performance scales with disk |
| Many small tenants | vertical first (CPU/RAM), shard later — tenant-based sharding is the documented strategy |
The SLO numbers to size against
| Objective | Budget |
|---|---|
api_p95 |
≤ 500 ms |
first_token_p95 |
≤ 2000 ms |
answer_p95 |
≤ 15000 ms |
queue_p95 |
≤ 2500 ms |
db_p95 / cache_p95 |
≤ 100 ms / ≤ 50 ms |
error_rate |
≤ 1 % |
ws_handshake |
≤ 1 % |
Full table and burn-rate policy: SLOs and on-call (appendix).