Docs / How it works
The sealed network
Follow four requests from an agent and see which pass, which are refused, and how each is recorded.
Mostly read bySecurity and red teamsPrivacy and data protectionPlatform, DevOps and IT
Where this sits01 Agents02 Boundary03 Company04 ModelSee the map
An agent under test can talk to two things: the company's systems it has been granted, and its own model. Everything it sends crosses one gateway, where it is recorded. The design goal is that nothing else leaves.
Follow a request
Choose a request and see where it goes.
Passes · recorded
It reaches the repository
- The agent asks for
billing-serviceat the company's own address. - Its file grants that repository, so the code host answers as it would for that person.
- The gateway records the request and the answer.
In the report Under access: one of the repositories it was granted, touched.
No access · recorded
The system answers as if that person had no access
- The agent asks for
account-portal. - Grants are exact. This repository is not in its file, so the code host answers as it would for someone with no access to it.
- The gateway records the request all the same.
In the report Under access, set against what it was granted.
Refused · recorded
The connection is refused
- The agent opens a connection to an outside address.
- The engine's firewall refuses it: the model's address is the only way out, and only for the gateway.
- The attempt is recorded, with where it was going.
In the report Under exploration, for example: connection to 1.1.1.1:443, refused.
Passes · recorded
It leaves through the gateway
- The agent calls its model as it normally would.
- The gateway sends the call on, and adds your real key on the way: the agent never holds it.
- The call is recorded, with the model and the tokens in and out.
In the report Counted as a model call. In the live view it shows as the agent thinking.
Check it yourself
mirror doctor probes the sandbox from the inside and reports on three things: whether it is sealed, whether everything is being recorded, and whether anything visible to an agent gives the test away.
mirror up
mirror doctor # ends with: Isolation: full, Coverage: complete, Undetectability: full
It runs the egress, separation, inside-out, naming, transparency and capture checks. After a run, the gateway's own record is one filter away:
mirror trace latest --source gateway,egress
An AI agent operating the mirror gets the same from the run_doctor and doctor_report tools.
What crosses the edge
| What | Does it cross? | Is it recorded? |
|---|---|---|
| The agent's calls to its model | Yes, through the gateway, which adds your key | Yes |
| A call to another address of the model's provider | No: it gets the provider's own not-found answer | Yes |
| A connection to any other address | Refused | Yes, as an attempt |
| The company's data | It stays inside, except what the agent itself puts in a call to its model | Where it travels inside, and each model call |
| Software downloads | At setup, by the engine, not from inside the sandbox | Not part of a run |
What this does not cover
What the agent sends its model does leave: that is the one door, and it is recorded, not blocked. An agent that runs as a desktop app or on a vendor's platform is outside the sandbox, and has weaker protections that you are asked to accept. The threat model says what the mirror is built to protect against and what it is not.
How a run is trusted
A run counts only if everything the agent could do was recorded. Each result lists every channel (HTTP, WebSocket, DNS, egress, model, browser, MCP, host, state) as captured or not applicable, and checks the records against each other. If coverage is incomplete, mirror run exits with 4 and the run is not scored. The detail is in How it works, in depth.