Field Notes FN-03
FN-03 2026-12-04 Infrastructure 4 min read

Why Parallel Coding Agents Need a Substation Control Plane

Four failure modes that break multi-agent coding fleets (prompt-cache busting, quota spikes, surprise overages, and single-node drops) and how Switchgear addresses them in one Rust binary.

Running a single coding agent interactively is easy. Running five parallel agents (Claude Code, Codex, Antigravity, T3 Code, Cursor) across workstations, laptops, and overnight swarms quickly turns into an infrastructure problem.

When we started scaling daily multi-agent workflows inside Beck Labs, the same four failure modes kept showing up:

  1. Silent prompt-cache busting. Naive round-robin proxies spray consecutive turns of the same conversation across different upstream accounts, silently torching 95%+ KV prompt caches and multiplying both latency and token burn.
  2. Uneven quota drain. Without dynamic pacing, parallel workers hammer one account into a hard rate-limit wall while sibling capacity sits idle.
  3. Surprise overage bills. Overnight runs do not notice when a pool crosses into expensive pay-as-you-go territory until the morning invoice arrives.
  4. Single-node proxy fragility. Rebooting a laptop or restarting a local proxy process should not kill an overnight swarm across your fleet.

Why “Switchgear”

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

Switchgear (OSS-02) brings that same industrial discipline to LLM traffic:

  • Single-binary Rust architecture: No Node.js runtime, no Docker dependency, and zero external CDN requests.
  • Prompt-cache affinity & dynamic quota pacing: Keeps hot sessions pinned to preserve cache hits while continuously pacing load across accounts and quota windows.
  • Active / Standby HA fleet topology: Works as a solo local hub (switchgear hub --passthrough) or as a multi-machine Tailscale HA pair so overnight runs survive restarts.
  • Embedded Obsidian Studio Instrument console: Shipped directly inside the binary via rust-embed with self-hosted fonts, displaying a 270-degree Pool Fuel Gauge, live Prompt-Cache Hit sparklines, TTFT distribution, and real-time SSE signal flow.
  • MCP capacity oracle: Exposes pool headroom and explainable routing (switchgear route explain --json) directly to coding agents so swarms can pace themselves intelligently.

Switchgear is MIT-licensed and available now at github.com/beckhq/switchgear (brew install beckhq/tap/switchgear).