A tray app that runs itself
An async Rust agent sits in the system tray. Its own window is a local page protected by a token minted at launch.
Research Platform · Built in Rust
The office had retired PCs sitting switched off. I wrote a desktop agent in Rust that turns each one into a worker. It runs collection browsers, reports its own health, picks up work, recovers from stalls and updates itself. The team runs the whole fleet from a web page, or by just asking for what they want.
A simulation of the fleet page: every machine, every browser slot, a live event log and the ops copilot. The behaviour mirrors the real system; the data is made up.
Lifecycle
An admin issues a short-lived PIN. The agent presents it once and receives its own revocable device key.
Every beat reports free memory, CPU, disk, slot capacity and what each slot is doing.
The reply tells each slot which job to run, favouring the job with the most hours left.
A slot with no progress gets restarted. After two restarts, its work moves to another machine.
Tagging a release builds a zip in CI. Every machine downloads it and updates itself.
Under the hood
An async Rust agent sits in the system tray. Its own window is a local page protected by a token minted at launch.
The agent launches real (not headless) browser windows with the collection extensions, then parks them off-screen so they keep running at full speed. A window pops back only when a site needs a human.
Collected rows land in a local database first and upload when the network allows, so a dropped connection costs nothing.
Every job with work gets at least one browser, the job with the most hours left gets more, and browsers don't hop between jobs. Time-left estimates come from measured throughput.
The agent updates from tagged releases. The browser extensions update from the portal build within minutes, and each machine restarts its browsers on the new code.
Built-in VPN exits adapt when another VPN is detected. Quiet hours pause a machine or run fewer browsers on a schedule, and slot caps are set per machine.
Plain-English control, safely
The copilot uses the same tools as the fleet page, exposed over the Model Context Protocol. The limits live in code, not in a prompt.
| Guardrail | What it means |
|---|---|
| No destructive tools | Nothing can delete data, touch users or keys, or clear a machine's outbox. |
| Dry-run first | Every action can be rehearsed inside a transaction that is then rolled back. |
| Audit & undo | Every action is logged, and most can be undone in one click. |
| Fleet-wide = confirm | Actions that target every machine need explicit confirmation and are rate-limited. |
| Scoped keys | Fleet control and data work use separate keys, each limited to 60 calls a minute. |