SIMULATION — fictional utility. Riverbend Water Authority does not exist.
Clearwell

SIMULATION · under the hood

Under the hood

Clearwell watches a water system and helps people decide what to do. This is its whole backend as one map, built from the code: 18 services that pass events over Redis Streams, every place Claude is called and with what limits, the read-only tools its agents use, and where it all runs. It is live: parts light up as events pass through them. Step through how it fits together, or tap any part to see what it does, what feeds it and where it lives in the code.

Event streamConnectingPublic, read-only
Events seen0since you opened this page
Heartbeats alive– / 18Waiting for a status check
Simulation–Readings stay off this page
Claude today–Daily cap, then rules only
Latest incident–Loading the archive

System map

Alive Fault Unknown or not reporting

Drag to move. Pinch, or hold Ctrl or ⌘ and scroll, to zoom; a plain scroll moves the page. Numbers inside a circle count the parts in that group.

Web on Vercel · API, Redis and bridge on one Fly.io machine.

How it fits together

One rule shapes it: cheap checks first, Claude only when it is needed, and no equipment moves without a recorded approval.

11 steps, from a reading arriving to a record a regulator can trust. Pick one to light its parts on the map.

Clearwell

Clearwell

Status unknown (worst of the parts inside)

A water-utility operations copilot for a fictional utility, Riverbend Water Authority. Everything here is a simulation.

Tap a group on the map to open it, or search for a part.

Follow one incident

Loading the latest incident…

The map is rebuilt from the code on every change, and a check fails the build when a service, tool, stream or scenario has no place on it. This page reads only public, read-only data: raw sensor readings, equipment settings, staff names and locations never reach it. What it costs to build and run. Riverbend Water Authority is fictional; every incident here is simulated.