experimental

PWA AI Worker

Foreground workbench for WebGPU/Wasm, health and web_safe jobs.

First-run assistant

Progress 0/5

Optional guide to detect the device, choose a model, pair the PWA and validate a real answer.

1

Detect device

pending

Reads WebGPU/Wasm, battery, network and browser memory.

2

Measure performance

pending

Runs a short benchmark to assign the initial tier.

3

Pair PWA

pending

Registers this browser so it appears as a swarm worker while the page stays open.

4

Load chosen model

pending

Prepares this model to verify the AI runtime: DistilBERT sentiment (transformers.js, ~65 MB).

Compatibility: detect device first · Output: label, score
Download: not downloaded
5

Send test

pending

Runs a guided test and confirms that an answer appears. Expected: POSITIVE/NEGATIVE label with confidence.

Suggested testCadencia browser worker test passed smoothly. The device is ready, the benchmark completed, and the selected model is loaded.

Health vector

idle
null

Real swarm

This is the live network. Each node is a real device publishing capabilities: PWA browser, PC, mobile, native node or local ML Trainer. Pulses represent jobs and results moving through the control plane.

no snapshot
No native nodes are live in the registry yet. Start cadencia-node run on the LAN to see them appear.
ML TrainerML Trainer not detected
http://127.0.0.1:8787
Shown as a local provider attached to the node that exposes it: it trains models and serves OpenAI-compatible inference.

Note: this browser only appears as a remote worker after PWA pairing is enabled. Heartbeat stays alive while the page is open.

PWA heartbeatpending
Registers this browser as a temporary web_safe worker. Useful for iPhone/Android without a native app.
PWA jobspaused
Claims only web_safe work while the page is visible and completes the result from this browser.
Registered workers
0
Latest heartbeat
-
API
pending
Source
/v1/swarm/list