Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8.6 KiB
Everything the repo can do (A to Z) and where it lands in the UI
Re-audited against the code at v1.18.7 (2026-09-24). The first version of this
page, written at v1.5 (434f522), listed the UI planned then, and a dozen of its
rows never shipped: a capability with no place in the cockpit now says so.
Nothing shells out free-form; every action is a fixed argv template.
Install and upgrade
| capability | shell today | UI |
|---|---|---|
| First install / upgrade (converging) | get.sh one-liner / install.sh |
Settings view prints the exact terminal command: the installer needs an interactive sudo that a service cannot give, and a half-applied install is the one failure the cockpit must never cause |
| Choose target model | MODEL_CHOICE=stock/uncensored/fp8/uncensored-fp8/arete/daisyrose/flash/flash-uncensored/flash-nvda names the lane that serves; every lane is installed by default since v1.20, each but the one that serves on demand (its first Load builds it: prepare-lane.sh <lane>), --no-<lane> leaves one out |
Each lane's checkpoint selector and Load in the Lanes view, and the rack in Now, a bay per lane, the ten text lanes among them, Load running the switch (switch-model.sh <target>), the stop and the start as one journey, a job per step |
| 1M context mode (27B) | CONTEXT_MODE=1m (the default since v1.12.1) or native | None: an install choice. The lane card shows the window the engine serves |
| Custom port / HF cache / PLE dir | PORT= HF_CACHE= PLE_DIR= | None: install-time choices, kept by every re-run |
| No-service foreground run | install.sh --no-service && run.sh | Documented only (interactive terminal concept), not a UI job |
Serving control
| capability | shell today | UI |
|---|---|---|
| Which lane serves | systemctl start/stop qwen38-sglang / qwen38-flash / qwen38-image |
Load and Stop on each lane's card in the Lanes view, Load from the rack in Now; the server refuses a second engine while one runs, and every action is confirmed first |
| Boot enablement | systemctl enable/disable |
No toggle: a switch enables the target's unit and disables the others. Each card says whether its unit starts at boot |
| Keepalive proxy | systemctl ... qwen38-keepalive |
Its row in the Lanes view: state, whether it starts at boot, the running version and whether it is the repo's copy, Start/Stop |
| Switch target model | ./switch-model.sh <target> |
Switch, a step of a Load when the boot is not on that target yet or the lane lacks a file it needs (a Load that only applies an update to the lane that serves restarts it, with no switch): the confirmation shows the exact command, the job's live output shows what it changes. It writes the target's unit or launcher and never starts, stops or restarts an engine: the Load's next steps do |
| Model revisions served | --revision in unit/launcher |
Revision on the lane card; the Library view's Recipes compare it with the pin, and its Upstream watch compares each pin with Hugging Face's main |
| Kill a stuck generation | proxy auto-abort / restart service | "Abort all", confirmed first, on the SGLang lanes (the cockpit refuses it while a vLLM lane serves: stopping the lane stops its generations): through the proxy's POST /proxy/stop since v1.40.3, which stops each generation and cuts its client, so an agent retries the request instead of keeping a cut answer for a whole one (to end an agent's turn, stop it in the agent); POST /abort_request with abort_all to the engine when the proxy does not take it |
Observability
| capability | shell today | UI |
|---|---|---|
| Server state | systemctl status, journalctl, docker logs |
Logs view: the last 120 lines of an engine container's log or of a unit's journal, re-read every 3 s with follow ticked, with a line filter and Copy (no download) |
| Engine internals | /server_info, /v1/loads, /health |
Lanes view (model, revision, quantization, window, KV pool, speculative, attention, radix cache, engine version, image) and the Now view's Activity (running, waiting, tokens in KV, accept length) |
| Decode telemetry | docker log scheduler lines | Traffic view: KV pool held, KV usage from the engine log, Mamba state slots, accept length |
| Engine counters | /metrics (SGLang's Prometheus counters, --enable-metrics on its lanes, and vLLM's on the vLLM lanes) |
Traffic view, last 5 minutes: requests finished, the share of prompt tokens found in the cache, prefill and decode speed per request, tokens accepted per drafter step (the window's, not the gauge's boot average), queue and first-token waits, tokens per second for all clients, idle share, accepted abandons, and the peaks of pool, running and waiting; on SGLang each request counted once, the cockpit's canary taken out. On the vLLM lanes the same rows but the idle share and the abandons, which vLLM does not count, tokens and latencies counted at every step, and no canary to take out |
| Requests through proxy | keepalive proxy request lines | Requests table: start, client, path, bytes, duration, outcome |
| Machine | nvidia-smi (power/temp/procs), /proc, df | Machine view: unified memory, page cache and swap, free disk at home and under Docker, GPU power, temperature and processes, CPU load, the safety belts |
| Benchmarks | ./bench.sh, ./bench-matrix.sh |
None: terminal tools (BENCHMARKS.md) |
| Quality canaries | (campaign scripts) | No battery. The cockpit runs one real generation of its own when the engine has been quiet a minute (Generation probe), and Smoke sends one through the proxy on demand |
Housekeeping
| capability | shell today | UI |
|---|---|---|
| Inventory of everything installed | ./uninstall.sh --list |
Library view, Inventory: the same rows, read-only |
| Reclaim superseded images | the docker rmi lines install.sh and ./uninstall.sh print |
None: never run from the page |
| Uninstall | ./uninstall.sh [--yes] |
None: a terminal job |
| API key | ~/.config/qwen38/api-key |
It is the login. No panel shows or regenerates it; the diagnostics bundle masks it |
| opencode | ~/.config/qwen38/opencode.off marker, ~/.config/opencode/opencode.json, ~/.local/bin/oc |
State-aware panel in Settings: on/off (the installer's --no-opencode choice), default model, the 27B's and the flash lane's limits, launcher, whether the limits fit the served pool, and Fit the limits to this engine |
| Chat templates | patch-template.py outputs | None: install.sh and switch-model.sh write them |
| Repo state | git status/log/tags | Settings view, Repo: version, branch, head, working tree, the running proxy's version, whether a newer release is out (a banner too), and a link to the release notes |
Agent view (v1.7.0)
| capability | shell today | UI |
|---|---|---|
| opencode from the laptop | oc in a terminal on the box |
Agent view: opencode's web interface framed from the relay, behind the cockpit login (no second login, no Basic prompt) |
| Server state | systemctl status opencode-web, journalctl -u opencode-web |
chip (ready, starting, stopped, relay waiting), served version, installed binary if newer, Logs view source |
Restart after opencode upgrade |
sudo systemctl restart opencode-web |
Restart server button (exact-argv sudoers lines, confirmed like every action) |
| Reach it on its own | none | Open in a tab (same relay, same session); Fullscreen inside the cockpit (corner button or Escape to come back, remembered) |
| Autonomy (no approval clicks, and opencode's defaults already run shell commands unasked, agents-and-network) | oc runs with --yolo |
AGENT_AUTO=1 at install (unit sets OPENCODE_PERMISSION, this repo's deny rules after its *); the view shows the mode the running server applies |
Explicitly out of scope now (groundwork only)
Clusters of more than two boxes, multi-GPU: the collector/action registries carry
node_id and capability flags from day one. Two paired boxes are in since v1.42.0: the
Now view shows the other box of a pair (docs/pair.md).
Recipes (step 4, since 29/08 evening)
| capability | shell today | UI |
|---|---|---|
| What each lane serves, as data | pins in install.sh + unit/launcher templates |
Recipes panel: built-in recipes derived from the repo, custom JSON recipes from ~/.config/qwen38/recipes/ |
| Is it on the box | docker images, HF cache scan |
presence per recipe (image, model revision, drafter revision) |
| Does the installed lane match | read the unit or launcher by hand | drift list per recipe (image, model, revision, drafter, serving keys, env) |
| Validate a custom recipe | none | schema + closed enums + ranges, errors shown inline |
| Apply a recipe | switch-model.sh (built-in targets only) |
None: a custom recipe is read and checked, never applied |