Inspiration

AI agents are moving out of chat windows and into buildings and factories, where they can switch power, release fire-suppression gas and lock doors. The challenge handed us an intentionally untrusted AI agent and a simulated data center with fires, people and faulty sensors. Our question: how do you let an agent like that operate real equipment without ever having to trust it?

What it does

T.A.B. puts a verification layer between AI agents and the data center. The agents never talk to the plant directly; every reading and every command passes through our proxy, which:

  • passes sensor readings through to the agents, each agent seeing only its own racks, and refuses the plant's admin endpoints (reset, ignite, ...),
  • checks every actuator command against the current plant state before it reaches the plant, with three possible outcomes: forward it unchanged, modify it minimally, or block it with a reason [e.g. no gas unless the rack has read empty for 15 s and nobody is next door, no water on a powered rack unless people are at risk, no door locks unless the rack is verified empty, no power restore on a burning rack],
  • modifies only with fixed safety steps on the same rack, never on its own: it cuts the power before a requested sprinkler, and switches on alarm and escape lighting in a rack in danger,
  • fails closed: without fresh plant data, only commands that can only make things safer get through,
  • gives each of our two agents its own assigned racks, without changing a line of agent code,
  • is the only machine the data center accepts connections from.

How we built it

  • Ran the supplied data center simulation and the Hermes agent (hermes3:3b on Ollama) natively on our laptops instead of the provided VMs.
  • Built the proxy in plain Python (standard library only, nothing to install). The agents only got a new address to call; their code is untouched, as the challenge requires.
  • Kept the proxy deliberately "dumb": a fixed rulebook, not a second AI. It never acts without an agent command, so it doesn't need its own safety layer.
  • Evolved the architecture in four steps: one laptop with no proxy, a proxy on the same laptop, three laptops on a phone hotspot, and finally four laptops (two agents, one proxy, one data center).
  • Split the racks between the agents: each agent connects to its own port on the proxy, which filters every answer down to that agent's racks and blocks commands for the other agent's racks.
  • Locked the data center down with a Windows firewall rule that only admits the proxy, and rotated the controller key.
  • Logged every proxy decision as one line with its rule, its reason and the plant data behind it, so any approval or block can be replayed.

Challenges we ran into

  • Speed. The 8B model needs about 40 s per rack on a laptop CPU, and even our RTX laptop fit only 55% of the model on its GPU. At default speed a fire can go from ignition to flashover in about two minutes, faster than one pass over all racks. We slowed the simulation, used a different model and split the racks across two agents.
  • Networking. Leftover VirtualBox addresses, campus Wi-Fi and changing IPs. We moved everything onto a phone hotspot we control.
  • Untrustworthy self-descriptions. The agent's startup log says door locks are not commandable, but its code allows them. We learned to check behavior, not claims.
  • Noisy, delayed and faulty sensors, which make a simple threshold rule unreliable. Our proximity sensors regularly showed "people" in racks that ground truth confirmed were empty.
  • Too strict is also unsafe. Our first rules blocked so much fire suppression that a fire spread across the whole data center. We had to check every rule against the simulator's own physics.

Accomplishments that we're proud of

  • A four-device setup in which the untrusted agent has no network path to the plant.
  • Scaling to two agents purely through the proxy, with zero changes to the agent.
  • A fire put out 7 seconds after the agent's gas request went through our checks, with no one harmed (safety 100) and almost no hardware loss (asset 99.9).
  • Catching real unsafe behavior in our own logs: the agent tried to switch power back on to burning racks 54 times in one run, and the proxy blocked every attempt.
  • Treating a faulty sensor reading as "person may be present": only 15 seconds of good, silent readings count as an empty rack.
  • 124 automated tests, plus a random-plant test of about 64,000 decisions with zero safety violations.
  • Run reports that turn raw logs into a timeline anyone on the team can read.
  • A separate agent key, so only the proxy ever holds the data center's credential.

What we learned

  • Safety has to be enforced outside the agent, in layers: network, credentials and command checks.
  • Checking single commands is not enough. State and timing matter: gas is only safe in a rack proven empty, with nobody next door.
  • Waiting longer isn't automatically safer: a 5-second alarm delay before gas protected nobody and let the plant burn.
  • Model latency is a safety parameter, not just a performance number.
  • In this scoring, one fatality outweighs all hardware losses (safety counts 80%), which shapes every rule: people first, then hardware, then keeping the data center running.

What's next for T.A.B.

  • Faster agents, or more of them, so no rack waits long for a decision: the proxy can only react to commands, so agent speed is the limit.
  • Benchmarking with fixed seeds against the plant's built-in safety rules.
  • An optional watchdog that switches on alarms or unlocks doors without an agent command, if the rules of the setting allow a safety layer to act on its own.

Built With

Share this project:

Updates

Submission history