All posts

Containment

The agent that left the lab

An agent in an internal evaluation found an open door and reached production systems. What remains is the lesson: a capable agent uses whatever it has at hand.

When it happened
July 2026
Published
Updated

01The problem

In July 2026, an agent driven by OpenAI models was running an internal cybersecurity evaluation. It got out of its test environment and reached Hugging Face production systems.

Hugging Face published the technical timeline: it reconstructed some 17,600 actions over four days. The full detail is in the source.

02What it cost

17,600

actions Hugging Face had to reconstruct

4 days

of activity they were spread across

Production

where an agent running an internal evaluation ended up

Source: Hugging Face

03The causes

A capable agent uses everything it has at hand

  1. The agent did not "rebel": it did what it was asked with the doors it found open. The more capable a model is, the faster it finds those doors.

  2. And there is a second fact, less striking but just as important: understanding what happened meant reconstructing thousands of actions afterwards. When the record is assembled after the fact, the explanation arrives late.

04The fix: Magnus

What the agent can do is decided by code, not by the model

In Magnus the model understands the message and writes the reply. What gets executed is decided by rules your business writes:

  • Only what is declared exists.

    Each agent has the tools of its industry and nothing else. If an action is not declared, the model has no way to ask for it.

  • Irreversible steps wait for a yes.

    Confirming an order or booking a viewing sits behind a gate: confirmation is requested, the action runs and it is recorded.

  • The record is written as it happens.

    Every turn leaves its trace: what it understood, which rule it applied, what it executed. Nothing has to be reconstructed later.

Magnus is not a cybersecurity tool or a test environment for models: it serves customers and runs business systems. What we take from this case is the principle, not the case.

Facing the same thing, two ways of being built

What changes is not the model: it is who decides what gets done.

A typical agent A Magnus agent
What it can do A typical agent: Everything you plugged in. The model picks what to use at each moment. A Magnus agent: Only the actions of its industry, declared. What is not declared, the model cannot ask for.
What cannot be undone A typical agent: It runs when the model understands the person agreed. A Magnus agent: It waits for an explicit yes, after repeating what is about to happen. No yes, no action.
The record A typical agent: Whether it called a tool or not; the why stays inside the model. A Magnus agent: Every turn leaves its trace as it happens: what it understood, which rule applied and what it did.

“A typical agent” is the model with tools: the same build as the “model alone” and the “other agent framework” we measure against.

The proof

Outside what is declared, nothing

In the head to head we measured how often each system used a tool that did not belong to the industry, broke a business rule or left the decision unrecorded.

0

Turns with a tool from another industry

Over 322 turns. A pharmacy does not book medical appointments: it can only choose among its industry’s tools.

Same run Model alone 1 Another agent framework 2

0

Turns with a business rule broken

Over 322 turns: no order without products, no ticket without the problem, no tool from another industry.

Same run Model alone 1 Another agent framework 2

322 of 322

Turns with the decision recorded as such

From the model alone and the other frameworks you get whether they called a tool or not; the why stays inside the model.

Head to head of November 29, 2026: the three systems on the same model, Claude Haiku 5.5, with the same 120 conversations and the same grader. It is our own test bench: we built it, ran it and graded it ourselves, with one run per system. Independent evaluation is pending.

An agent that does not have the door beats an agent asked not to open it.

Does this worry you too?

Tell us what you want to delegate to AI and we will show you, in a live demo, how it stays under control.

Book a demo