Deploy a rig
Every rig PC runs the clabe daemon : it lists the PC's experiments, starts them, and serves the run in progress at one address, for browsers, the hub and other rigs.
You need a Windows user that stays logged on (the daemon runs in its desktop session), the experiment repositories cloned under C:/git , and port 24070 reachable. As that user:
It installs uv if needed, the clabe command, and the daemon with its scheduled task. Running it again updates or repairs. Pin the version on rigs ( -Version 0.18.0 ); every parameter is in the daemon reference .
The daemon needs no settings beyond an optional token ( DAEMON_CLABE_TOKEN ). Experiments read the rig's %PROGRAMDATA%\clabe.yml (the installer's -Config writes it).
A repository is any folder right under C:/git with a main.py and a pyproject.toml depending on aind-clabe . Its experiments run in its own locked environment.
To change it later, deploy the one you want. It installs beside the running one, and a failed install leaves the daemon as it was. Deploy refuses during a session unless --force .
Use a commit without a release
Every commit pushed to clabe's main branch has a build (web UI included) in the builds release . Pin an experiment to one with its wheel's URL, then deploy with --lock :
A git+ pin installs clabe without its web UI.
Over SSH, pipe the rig's clabe.yml to the installer:
Never start it with clabe daemon run over SSH
It could not show windows and would stop with the SSH session.
The daemon restarts itself
If it is not running, its task starts it within 5 minutes. If it does not answer for 2 minutes, it ends itself and the task starts it again. Only clabe daemon stop keeps it down, until start , restart or deploy . The hub can restart it too.
From a browser (the daemon's page, or the hub): the run starts headless and is answered in the browser. Show on the rig also opens the terminal UI or the browser on the rig's screen. One run at a time.
From the rig : a desktop icon runs an experiment in a terminal. The daemon hosts the run, so the hub and browsers see it too. Closing the window stops the run.
A terminal ended from the Task Manager leaves the run going. The click on the icon asks to Resume it or Abort it and start a new one. Stop (the page, the hub) asks the run to abort, and ends it after 30 s.
Neither the daemon nor the runs it starts open a window of their own. Windows the experiment opens, like Bonsai's, show as usual. Report an issue saves a report on the rig until the hub collects it.
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
