Status: BUILDING (internal). See status labels. The user guide is Use the AI plan you already pay for. The API is in Connections API. This page covers what Allternit runs.

What it is

One private box per person, on Allternit’s own host, runs the vendor’s command-line program unchanged. The person signs in to the vendor themselves and manages their own account. Only messages the person sends in chat reach the box, with tools off. Bots, routines, schedules, missions and sub-agents are refused before they get there.
  • cloud-api creates, wakes and destroys boxes (services/brain_runners.rs).
  • Each box runs one small program that dials out to wss://api.allternit.com/api/v1/brain-runner/socket with its own token. Nothing connects in. The program has no file, terminal or tool routes.
  • The plan model route (plan/<vendor>/<model>) is a branch in routes/model_router.rs that enforces the person-only rules: no device, platform or playground token, the X-Allternit-Turn: person header, tools removed, one turn in flight per account, 20 turns in 5 minutes.
  • Boxes never use the hosted-computer placement, so they do not appear in compute status.

Host

Boxes run on the mail host in Incus containers (Incus 6.0.0, Ubuntu 24.04, no KVM, no swap). Measured 2026-11-14, read-only: mail also serves the production API and database, so a box fault must never reach them. The limits below are the protection.

Set up the host

The script is cmd/allternit-cloud-api/deploy/incus/brain-runner-host.sh. It prints what it will do and changes nothing without --confirm. Take a backup first. It sets up:
  • a dedicated btrfs pool runner, and a bridge with an egress allow-list (below);
  • the inotify sysctl values;
  • an Incus profile for each box: 768 MB of memory enforced hard, no swap, 1 CPU, a process cap, nesting off;
  • a 256 MiB volume per box, mounted at /home/runner, which holds the vendor sign-ins and counts against the person’s quota.
The image is built by cmd/allternit-computer-cloud/guest/build-brain-runner-image.sh: Ubuntu 24.04 (the same glibc as the runner program build), Node 22.19 or newer, the four vendor programs at pinned versions with self-update off, and the runner program. Boxes are btrfs copy-on-write clones of it.

RAM budget

ALLTERNIT_RUNNER_RAM_BUDGET_MB (default 4096) divided by 768 MB per box is 5 awake boxes at once. A sixth request waits up to 10 seconds, then gets 503 runner_busy (“Busy. Try again”). That leaves about 12 GB of the available memory for cloud-api and Postgres. A box stops after 5 idle minutes and is deleted after 90 days idle.

Settings and kill switch

Set these in /opt/allternit-cloud-api/.env and restart cloud-api. To stop everything now: set ALLTERNIT_BRAIN_RUNNERS=0 and restart cloud-api. Rows go off for everyone; running boxes can then be stopped with incus stop. Disconnect and account erase destroy a person’s box and their sign-ins; the accepted-disclosure record is erased with the account. The Copilot row is separate. It needs ALLTERNIT_COPILOT_CLIENT_ID, ALLTERNIT_COPILOT_CLIENT_SECRET and ALLTERNIT_CREDENTIALS_KEY, and it uses no box. See Connections API.

Checks to run by hand

Migrations

Production runs with ALLTERNIT_SKIP_MIGRATIONS=1, so the server does not apply migrations when it starts. The deploy applies them (see Cloud database migrations). This feature adds migrations 140, 141 and 142. After the deploy, check by hand, and apply any that is missing as the postgres user:
141 creates plan_threads (the plan chat store) and 142 creates copilot_grants. 140 creates brain_runners and plan_runner_consents. Never edit a migration that has shipped.

inotify

An inotify limit reset has taken cloud computers offline before (see Cloud computer network). Before and after turning boxes on:
Compare with the values in the host table. Boxes have no init system, which keeps their inotify use low. A failed box create raises an ops alert.

Health

  • curl -s -o /dev/null -w '%{http_code}' https://api.allternit.com/health returns 200 with boxes awake.
  • Host memory stays under the budget; a sixth concurrent turn gets runner_busy.
  • A request from a box to a host that is not on the list fails.

Vendor programs

Measured 2026-11-14 on a Mac with the versions shown. These are the settings the runner uses, and they are rechecked before any image rebuild. Each turn uses a fresh home or config so a user’s settings never leak in. History is replayed from the messages on every turn; no vendor session is resumed. Only Claude was proven end to end. Codex, Grok and Kimi must pass a live tools-off turn before their vendor stays on the list. The Kimi peak is the heaviest against the 768 MB cap.

Egress allow-list

The box bridge allows only these domains, plus api.allternit.com:443. Codex and Grok ignore proxy settings, so this is a domain list on the network, not a proxy.