Inspiration

Agentic AI is coming to industrial settings, and in many places it's needed. But an LLM agent that controls a data center can be confidently wrong: it locks a door with people still inside, turns on the sprinkler while a rack is still powered, or pumps gas before the room is empty. No agent should decide whether a human life outweighs a rack. We wanted to keep the agent and still never trust it blindly.

What it does

Firemaxxing is a safety gateway between the AI agent and the data-center controller. The agent talks HTTP as before and doesn't know we're there. Every command is checked against our own live view of the plant before it reaches the plant. We built it in tiers:

  • Tier 1 – Block: an unsafe command (e.g. gas with people inside) is refused, and the agent is told why and what to do first.
  • Tier 2 – Orchestrate: if a precondition is missing, the gateway takes the safe step first and then carries out the request. Example: sprinkler on a powered rack → cut power, wait until it's really off, then water.
  • Verify: for every action, the gateway notes what must hold over the next seconds and confirms the actuators actually did it, retrying on faults.

Every decision is logged with a reason, and a replay UI shows what the gateway did on a recorded run.

How we built it

  • A Python gateway that intercepts both the agent's commands and its sensor reads.
  • A heartbeat thread reads the full plant state every tick and keeps a short history.
  • A stabilizer smooths sensor noise with a 5-tick median, but never smooths away rising fire signals or falling oxygen.
  • Rules are derived from the simulator's physics and scoring code, keyed on the risk labels the controller publishes, so they apply to any agent.
  • No model call in the safety path: plain, deterministic rules that run offline on any hardware.

Challenges we ran into

  • Measured ≠ real: sensors are noisy and delayed, and an actuator's commanded value is not its effective one (delays, ramps, random faults).
  • Stale agent: by the time a command reaches us, the agent's view can outdated, so we judge every command against our own fresh state.
  • Hard time budget: the whole decision, including chained actions, has to fit within the agent's timeout, with one tick per second.
  • Real trade-offs: water costs hardware, gas costs lives, and cutting power stops cooling. Finding rules that protect people without shutting down the whole plant took careful reading of the simulator.

Accomplishments that we're proud of

  • Going beyond "no": the gateway fixes unsafe situations instead of just refusing them.
  • A transparent design: no changes to the agent, and every decision comes with a readable reason.
  • Same agent, about 2 hours of simulated operation across 15 runs (9 scenario types from normal operation to fires in occupied racks, 3 seeds, 2–10 min each), with vs. without our gateway:
    • 94.32 % → 98.51 % of the achievable score
    • 0 fatalities caused
    • 80 %* less hardware loss
    • 38 % less human exposure to hazardous conditions
    • Water on a powered rack: 30 times → 0

What we learned

  • Blocking alone leaves the agent stuck. Orchestration keeps the plant safe and gets the job done.
  • Measured safe is not physically safe: always verify the effect, not the command.
  • Simple, explainable rules beat clever ones when there's one second and no internet.

What's next for Firemaxxing

  • Tier 3 – Foresee: judge whether an action moves a rack toward safe or unsafe over the next ticks, and plan across neighbouring racks (gas spreads, smoke traps people).
  • Multi-rack planning: Sequence actions across neighbours: gas spreads, smoke traps people.
  • Agent harness: give agents richer input (a stable plant view) and feedback (why a call was blocked or chained), so their decisions improve over time.

Built With

Share this project:

Updates

Submission history