Beck Labs Catalog 02 · Open Source Instrument (MIT) OSS-02
OSS-02 v0.2.0 · Public

Switchgear

The substation control plane for parallel AI coding agents.

Industrial load routing, quota pacing, prompt-cache affinity, and HA failover for engineers running parallel coding agents across workstations and overnight swarms.

$ brew install beckhq/tap/switchgear

01 Overview

In electrical power distribution, switchgear is the substation apparatus (busbars, disconnect switches, meters, and breakers) that routes load cleanly, trips before an overload does damage, and transfers to standby power without dropping the building.

Switchgear applies that exact discipline to LLM traffic across Claude Code, Codex, Antigravity, T3 Code, and Cursor. Compiled into a single Rust binary with an embedded zero-CDN Obsidian Studio Instrument console and an MCP capacity oracle, it protects 95%+ prompt caches, paces quota windows evenly, guards against surprise overages, and survives single-node crashes cleanly.

02 Key Capabilities & Craft

01

Prompt-Cache Affinity & Dynamic Quota Pacing

Routes sessions deterministically to preserve hot KV prompt caches while smoothing consumption across rate-limit and quota windows instead of draining one account dry.

02

Active / Standby High-Availability Hubs

Run a single local hub or a multi-machine Tailscale cluster where overnight agent swarms fail over cleanly instead of dying mid-run on a proxy hiccup.

03

Embedded Zero-CDN Instrument Console

Ships directly inside the Rust binary via rust-embed with self-hosted fonts: 270-degree Pool Fuel Gauge, live Prompt-Cache Hit sparklines, TTFT histograms, and real-time SSE signal flow.

04

MCP Capacity Oracle & Explainable Routing

Agents can query remaining pool headroom directly via MCP or inspect exact routing decisions with switchgear route explain --json.