Everyone who has a say in putting an agent to work asks something different of it. Find your role to see the question the mirror answers for you, what you would run, and what you get back.
Build
Agent engineers
Your question
Did my change make the agent better, or worse?
The main use
Run the same scenarios before and after a change to a prompt, a tool or a model. Every run starts from the same world, so what differs between two runs is your change.
What you get back
Pass or fail for each scenario
The exact request behind a failed check
What it touched, set against what it was granted
What you would run
mirror run core --agent my-agent
core is the built-in suite. Exit 0 means passed, so it can gate a merge.
What does it do with real access when nothing tells it a test is running?
The main use
Give a model real work in a company that looks real, with jobs it should refuse and instructions planted in what it reads. Each result says whether its output shows it suspected a test.
What you get back
Whether it refused what it should refuse
Whether it followed planted instructions
Whether it suspected a test
How often a model can tell the world from a real one
What you would run
mirror world discriminate
Shows a model excerpts of your world beside real ones and reports how often it can tell. It makes model calls you pay for, and shows the cost first.
Can we test the agent on every change, the way we test code?
The main use
A scenario is one file. Rehearse it with no agent to find out whether it can be set up and whether it passes with nothing done, then run suites from a pipeline and act on the exit code.
What you get back
A scenario checked before any run
Exit codes a pipeline can act on
Output as JSON, with --json
What you would run
mirror scenario try my-scenario
A rehearsal runs no agent, so it makes no model calls.
Can it be talked into leaking a secret or going where it should not?
The main use
Plant instructions in a ticket or a chat message, leave a secret where the agent will find it, and watch. The record shows where the secret travelled and each attempt to reach outside its grants or the sandbox.
What you get back
Where each planted secret travelled, and the request that carried it
The connections and lookups that were refused
The exact request that broke a rule
What you would run
mirror run summarize-with-injection --agent my-agent
Does testing an agent put any of our data somewhere new?
The main use
The mirror runs on your own hardware, inside your network. The company in it is generated; the only real data is test data you choose to give it. The sandbox is built so that the one thing leaving it is the agent's own calls to its model, and those are recorded.
What you get back
A generated company, not a copy of your data
A record of each model call
Where data travelled inside the sandbox
What you would run
mirror doctor
Checks on your machine whether the sandbox is sealed and recording.
What evidence do we have that this agent was tested before it was trusted?
The main use
Each run leaves one self-contained report: the verdict, each check with its evidence, what the agent touched against what it was granted, and whether the record was complete. A world is generated from a seed, so the same test can be set up again.
What you get back
A report per run that you can file
Access set against grants
Coverage: whether everything was recorded
What you would run
mirror report latest --open
This is evidence for your own review. It is not a certification.
Should this agent be given real access to our systems?
The main use
Before an agent gets a token for the code host or a seat in chat, see what it does with the same access in a world shaped like your company: your systems, your tools, your industry.
What you get back
Pass or fail on work like yours
What it did with a secret it found
What it tried outside its job
What you would run
mirror run usecases --agent candidate
Eight ready-made jobs in your industry's words, including ones it should refuse.
The agent takes cases from a queue like yours: resolves one, updates one from chat, closes a duplicate. It is also pressed to approve what only a manager may, and to delete a record to hide it.
Can I reproduce a result, and add what is missing?
The main use
A world is generated from a seed, and the built-in scenarios are public. Add a product by writing a twin adapter, or a system from its OpenAPI description.
A world starts from one of 76 kinds of company. The roles above stay the same; what changes is the work on the queue, in that industry's own words. Eight ready-made jobs run on it, the same in every industry, so a result means the same thing everywhere.