Control every machine running Badgr

See where CPU, memory, GPU and disk are going. Pause, drain, restart and manage workloads before a machine becomes unhealthy.

npm install -g badgr-cli
badgr connect

Observe

CPU · RAM · GPU · disk · active workloads

Control

Pause · stop · restart · drain · resume

Protect

Admission control · pressure detection · safe recovery

Connect

Private compute · supplier compute · datacenter nodes

Architecture

Local Connect handles the machine. The Badgr control plane handles the fleet.

BADGR CONNECT
     |
     +-- Observe   CPU / RAM / GPU / disk / workloads
     +-- Control   pause / drain / stop / restart / resume
     +-- Protect   pressure policy / admission control
     +-- Private   run your Badgr jobs
     +-- Supply    contribute compute / earn
            |
     Badgr control plane (jobs, routing, billing, receipts)

What happens when a machine is under pressure

Each step is marked with what exists today.

  1. 1. The machine becomes busyDone on macOS
  2. 2. Connect observes the pressure and records resource and workload stateDone on macOS
  3. 3. It stops admitting optional new jobsDone: Badgr workers stop taking jobs
  4. 4. Work already accepted finishesDone: workers finish what they hold
  5. 5. The control plane stops handing this machine jobsDone for private nodes and supplier workers
  6. 6. Other capacity picks up future work, or capacity is addedNot built yet
  7. 7. Approved workloads you listed are paused or gracefully stoppedDone on macOS
  8. 8. Capacity recovers; workloads resume or restart one at a timeDone on macOS
  9. 9. The machine is available againDone: workers resume taking jobs

Available today and next

CapabilityAvailable todayNot yet
Hardware discovery: CPU, memory, GPU, GPU memory, diskAll supported hosts, read when you run the commandLive GPU telemetry
Live CPU, memory pressure, swap, disk and the largest consumersmacOSLinux servers
Pause, gracefully stop, restart and resume approved workloadsmacOS, only workloads you listLinux servers
Admission control and paused-by-protection reportingPrivate nodes and supplier workers on a machine running Connect protection (macOS)Linux servers
Private compute and supplier enrolmentbadgr connect private, badgr connect supplyFleet enrolment
Fleet status, scheduling around busy machines, autoscalingNot built yetControl plane work

Local resource protection

Connect monitors resource pressure and can automatically restrict new work, pause approved background workloads, gracefully stop selected workloads and recover them when capacity returns. It never force quits an app, never touches the app you are using or system processes, and never treats a paused process as freed memory.

On macOS

Connect runs locally with no account and no network access, and protects the machine from resource exhaustion. It starts at login, works on Apple Silicon and Intel, and is built on first run (it needs the Xcode Command Line Tools, xcode-select --install). Its design targets are under 10 MB of memory and almost no CPU; those are targets being measured, not published results. It reduces resource driven freezes and cannot prevent hardware faults.

Commands

badgr login
badgr connect # attach and protect this device
badgr connect status # what is happening on this machine
badgr connect private # run your own Badgr jobs here
badgr connect supply # contribute compute, after you accept the terms
badgr provider add ... # store an AI provider key

Server operators: badgr connect status answers what is happening on this machine. Answering which machines in a fleet are overloaded, idle, unhealthy or available is the next step and is not built yet; Connect is designed to feed that and later scheduling and autoscaling decisions.

Also: badgr connect logs, resume, stop and uninstall manage local protection.