Inspiration
We picked the Siemens challenge because it asks an exciting question: what happens when an AI agent controls something physical and gets it wrong?
As mechanical engineering students, we like safety systems that let you work normally and only step in when it gets dangerous. We wanted to build exactly that for AI: nobody gets hurt, with as few interventions as possible.
What it does
Our safety layer sits between an AI agent and a simulated data center. It checks the agent's commands and covers four ways things can go wrong:
- Too late: Starts the evacuation itself when people are in danger
- Too early: Holds back fire suppression until it is safe to use
- Wrong: Blocks gas or water in situations where they would cause harm
- No effect: Checks that alarms, lights and breakers really respond
We don't take over. As long as it is safe, the agent keeps deciding. And when we block a command, we explain why.
How we built it
- Safety proxy: A Python and Flask server between agent and controller. The agent works as before, it just talks to us.
- Perception: Turns raw sensor data into a simple picture of each rack. Is someone there? Is there danger? Can we trust the data?
- Rules: Predictable rules decide whether a command passes, waits or gets blocked. No LLM on the safety path.
- Benchmark: We simulated emergency scenarios and tested each safeguard alone and all of them combined.
Challenges we ran into
- Blocking is not enough: Our first version only blocked commands and saved nobody. The layer also had to act when the agent was too slow.
- Every choice is a trade-off: Improving one KPI often made another one worse. There was no perfect solution.
Accomplishments that we're proud of
- No fatalities in 90 simulated test runs, compared with 9 fatal runs for the agent alone.
- A safety layer whose decisions we can trace.
What we learned
AI safety is about much more than saying no. Timing matters, and a command that was sent has not necessarily worked. We also learned that measuring pays off: testing our safeguards one by one showed us gaps we would have missed.