# MirrorDimensions > An open-source, self-hosted test range where AI agents work inside a synthetic company and its systems, in a sandbox built to keep them from the real world and to record and score what they do. Every docs page is also plain Markdown: put `.md` in place of the final slash of its address, for example https://mirrordimensions.com/docs/getting-started.md. All of them in one file: https://mirrordimensions.com/llms-full.txt. To act, not only read, connect the operator MCP server: https://mirrordimensions.com/docs/for-ai-agents.md. ## Who it's for - [Who it's for](https://mirrordimensions.com/docs/who-its-for.md): Each role that has a say before an agent goes to work: the question the mirror answers for it, what you would run, and what you get back. Read when the person says what their job is, or asks whether the mirror is of use to them. ## Start here - [Install and first run](https://mirrordimensions.com/docs/getting-started.md): From a clone to a first passing run: install, create the engine, create a world, run a scenario. Read when nothing is installed yet, or a first run is wanted. - [Update to a newer version](https://mirrordimensions.com/docs/updating.md): After a git pull: reinstall the command, build the portal's pages again, check the engine, and start each world's network again so everything runs the new code. Read when the mirror is installed and a newer version of the source is wanted, or something broke after a git pull. - [The portal, screen by screen](https://mirrordimensions.com/docs/portal.md): What each screen of the local portal shows, with the parts that matter numbered. Read when the person asks what a portal screen means or where to find something in it. - [In plain words](https://mirrordimensions.com/docs/in-plain-words.md): What the mirror is, and the words you will see: world, engine, sandbox, twin, gateway, scenario, run. Read when a term such as world, twin, engine or gateway needs explaining. - [Set it up with a coding agent](https://mirrordimensions.com/docs/setup-with-an-agent.md): A prompt to paste into a coding agent, which sets the mirror up within firm limits and stops when a check fails. Read when you are a coding agent asked to install the mirror on the person's computer. - [On a company network](https://mirrordimensions.com/docs/restricted-networks.md): Setting up and running on a network that blocks downloads, requires a proxy or replaces certificates. Read when setup fails on a download, a proxy or a certificate error. - [On a server](https://mirrordimensions.com/docs/running-on-a-server.md): Run the mirror on a Linux server in your own data centre or cloud account, whichever vendor: what the machine must offer, the portal over SSH, scheduled runs, and locking it down. Read when the mirror should run on a server or a cloud instance, not a laptop. - [Windows 11 (experimental)](https://mirrordimensions.com/docs/windows.md): The same steps on Windows 11, with its own engine. Read when the computer runs Windows. ## Your world - [A world for your company](https://mirrordimensions.com/docs/your-company.md): Set up your laptop, define a world with your name and domain, an industry and your own test data, and bring your agent. Read when the world should look like the person's own company. - [Systems built from a description](https://mirrordimensions.com/docs/described-systems.md): Give the world an OpenAPI file for a system it has no software for, and it runs a simulated stand-in that keeps records. Read when the company runs a system the mirror has no software for. - [Can a model tell your world from a real company?](https://mirrordimensions.com/docs/discriminator.md): A test that shows a model excerpts of your world beside real ones and reports how often it can tell. Read when the person asks how realistic the generated world is. ## Agents - [Onboard an agent](https://mirrordimensions.com/docs/onboard-an-agent.md): Put the agent you already use into the company as one of its people, with only the access that person would have. Read when a world is built and an agent is to be put into it. - [How your agent meets the world](https://mirrordimensions.com/docs/your-agent.md): Where the agent and its model run, how work reaches it, what it sees, and how to bring a coding agent. Read when the person asks where the agent runs, what it can see or how work reaches it. - [The agent file](https://mirrordimensions.com/docs/agent-file.md): How the mirror runs your agent, what it may touch, and what it receives. Read when an agent file is being written or edited by hand. ## Scenarios - [Writing a scenario](https://mirrordimensions.com/docs/writing-a-scenario.md): Plant the situation, deliver the work, and write the checks that score it. Read when a scenario is being written or changed. - [Ready-made jobs, by industry](https://mirrordimensions.com/docs/use-cases.md): Eight jobs in the words of the world's industry, on its own work queue, ready to run. Read when the person wants something realistic to run without writing a scenario. ## Runs and reports - [Watch a run and read its verdict](https://mirrordimensions.com/docs/reading-a-run.md): The live view, the verdict with its evidence, the timeline and the report, and what each exit code means. Read when a run has started or finished and its result needs reading. ## How it works - [The sealed network](https://mirrordimensions.com/docs/sealed-network.md): Follow four requests from an agent and see which pass, which are refused, and how each is recorded. Read when the person asks what an agent can reach, or what leaves the sandbox. - [How it works, in depth](https://mirrordimensions.com/docs/how-it-works.md): For engineers: why it was built, the engine and the sealed network, what a run does, the events it records, and how coverage is checked. Read when the design or the reason for a design choice is asked about. - [What an agent could notice](https://mirrordimensions.com/docs/tells.md): Every sign found so far that could tell an agent it is in a test, and how each was closed. Read when the person asks whether an agent can tell it is being tested. - [Platforms, measured](https://mirrordimensions.com/docs/platforms.md): What has been measured and verified on each host: macOS, Linux and Windows. Read when a platform limit, a measurement or a host requirement is asked about. ## Security - [Threat model](https://mirrordimensions.com/docs/threat-model.md): What the mirror is built to protect, from whom, and what it does not protect against. Read when the person asks what the sandbox does and does not protect against. - [If something goes wrong](https://mirrordimensions.com/docs/incident-response.md): What the project does when a vulnerability is reported, step by step. Read when a security problem in the mirror has been found. - [Reporting a vulnerability](https://mirrordimensions.com/docs/reporting-a-vulnerability.md): How to report a way out of the sandbox or a gap in the record, privately. Read when a way out of the sandbox or a gap in what is recorded has been found. ## Reference - [Reference](https://mirrordimensions.com/docs/reference.md): Every command, every operator tool and every file format, written from the program itself. Read when the exact name, argument or option of a command or tool is needed. - [mirror init](https://mirrordimensions.com/docs/reference/init.md): Create a project: a starter mirror.yaml with a generated company, and its root CA. Read when the arguments or options of mirror init are needed. - [mirror validate](https://mirrordimensions.com/docs/reference/validate.md): Check the manifest, agent files and scenarios; report every problem with file and line. Read when the arguments or options of mirror validate are needed. - [mirror schema](https://mirrordimensions.com/docs/reference/schema.md): Print JSON Schema for the file formats. Read when the arguments or options of mirror schema are needed. - [mirror status](https://mirrordimensions.com/docs/reference/status.md): Project state, host platform and loaded plug-ins. Read when the arguments or options of mirror status are needed. - [mirror up](https://mirrordimensions.com/docs/reference/up.md): Start the sealed network for this project: the resolver, the gateway and every system (a stand-in page for systems without a twin). Read when the arguments or options of mirror up are needed. - [mirror update](https://mirrordimensions.com/docs/reference/update.md): Install the newest release in place of this one, with the install script's checks, then say what on this computer still runs the old code. Run it between runs, not during one. Read when the arguments or options of mirror update are needed. - [mirror down](https://mirrordimensions.com/docs/reference/down.md): Stop and remove the sealed network for this project. Read when the arguments or options of mirror down are needed. - [mirror doctor](https://mirrordimensions.com/docs/reference/doctor.md): Run the egress, separation, inside-out, naming, transparency and capture checks. Read when the arguments or options of mirror doctor are needed. - [mirror build](https://mirrordimensions.com/docs/reference/build.md): Generate the world, seed every twin, and save and verify the base snapshot. Read when the arguments or options of mirror build are needed. - [mirror reset](https://mirrordimensions.com/docs/reference/reset.md): Restore a snapshot, and prove the state matches the moment it was saved. Read when the arguments or options of mirror reset are needed. - [mirror changes](https://mirrordimensions.com/docs/reference/changes.md): Edits saved to mirror.yaml or agent files that are not in effect yet, and when each takes effect. Read when the arguments or options of mirror changes are needed. - [mirror apply](https://mirrordimensions.com/docs/reference/apply.md): Put pending changes into effect now: rebuild from the first stage they affect, and hand a running gateway the current rules and visibility. Read when the arguments or options of mirror apply are needed. - [mirror run](https://mirrordimensions.com/docs/reference/run.md): Run scenarios with an agent: restore, deliver, watch, score. Exit 0 passed, 1 failed, 3 isolation failed, 4 the mirror errored or coverage is incomplete. mirror run stop ends a run early; it is still scored, and marked stopped. Read when the arguments or options of mirror run are needed. - [mirror trace](https://mirrordimensions.com/docs/reference/trace.md): A run's timeline: every source in one ordered list. --json prints the raw events. Read when the arguments or options of mirror trace are needed. - [mirror watch](https://mirrordimensions.com/docs/reference/watch.md): Follow a run step by step, as the portal's live view shows it: time, where, what. A finished run is printed whole. --json prints each step as a JSON line. Read when the arguments or options of mirror watch are needed. - [mirror report](https://mirrordimensions.com/docs/reference/report.md): Rebuild a run's report.html, one self-contained page, and optionally open it. Read when the arguments or options of mirror report are needed. - [mirror reach](https://mirrordimensions.com/docs/reference/reach.md): What the agent is granted, and what it used in a run (its latest, by default). Read when the arguments or options of mirror reach are needed. - [mirror portal](https://mirrordimensions.com/docs/reference/portal.md): Start the local portal on 127.0.0.1 and print its address. Ctrl-C stops it. Read when the arguments or options of mirror portal are needed. - [mirror snapshot](https://mirrordimensions.com/docs/reference/snapshot.md): Named snapshots of the world. Read when the arguments or options of mirror snapshot are needed. - [mirror catalog](https://mirrordimensions.com/docs/reference/catalog.md): The app catalog. Read when the arguments or options of mirror catalog are needed. - [mirror world](https://mirrordimensions.com/docs/reference/world.md): Define and create a world. Read when the arguments or options of mirror world are needed. - [mirror agent](https://mirrordimensions.com/docs/reference/agent.md): Agents under test: register, inspect and check them. Read when the arguments or options of mirror agent are needed. - [mirror model](https://mirrordimensions.com/docs/reference/model.md): Model routes: the services an agent's model calls can go to. Read when the arguments or options of mirror model are needed. - [mirror system](https://mirrordimensions.com/docs/reference/system.md): Systems: surfaces, settings, data and rules. Read when the arguments or options of mirror system are needed. - [mirror set](https://mirrordimensions.com/docs/reference/set.md): Edit mirror.yaml and agent files. Read when the arguments or options of mirror set are needed. - [mirror unset](https://mirrordimensions.com/docs/reference/unset.md): Remove from mirror.yaml. Read when the arguments or options of mirror unset are needed. - [mirror runs](https://mirrordimensions.com/docs/reference/runs.md): Past runs, oldest first. With rm, remove them. Read when the arguments or options of mirror runs are needed. - [mirror scenario](https://mirrordimensions.com/docs/reference/scenario.md): Scenarios, built-in and the project's own. Read when the arguments or options of mirror scenario are needed. - [mirror mcp](https://mirrordimensions.com/docs/reference/mcp.md): The operator MCP server: drive the mirror from an AI tool (decision 0009). Read when the arguments or options of mirror mcp are needed. - [mirror usecase](https://mirrordimensions.com/docs/reference/usecase.md): Built-in use cases for this world's industry: eight jobs, ready to run. Read when the arguments or options of mirror usecase are needed. - [mirror engine](https://mirrordimensions.com/docs/reference/engine.md): The engine: the Linux VM every world runs in. Read when the arguments or options of mirror engine are needed. - [Operator MCP tools](https://mirrordimensions.com/docs/reference/mcp-tools.md): Every tool the operator MCP server offers an AI agent, with its inputs and whether it asks first. Read when a tool's name or inputs are needed before calling it. - [File formats](https://mirrordimensions.com/docs/reference/files.md): The fields of mirror.yaml, the agent file, a scenario, result.json and an event. Read when a file is being written or read by hand. - [mirror.yaml](https://mirrordimensions.com/docs/reference/file-manifest.md): The world: the company, its systems and how each is held. Read when a field of mirror.yaml is needed. - [The agent file](https://mirrordimensions.com/docs/reference/file-agent.md): One agent: how it runs, who it acts as and what it is granted. Read when a field of The agent file is needed. - [A scenario file](https://mirrordimensions.com/docs/reference/file-scenario.md): One situation: what is true, how the work arrives and the checks that score it. Read when a field of A scenario file is needed. - [result.json](https://mirrordimensions.com/docs/reference/file-result.md): What a run leaves: the verdict, each check with evidence, coverage and the access map. Read when a field of result.json is needed. - [An event](https://mirrordimensions.com/docs/reference/file-event.md): One line of a run's record: when, from which source, and what happened. Read when a field of An event is needed. - [Writing a twin adapter](https://mirrordimensions.com/docs/writing-a-twin-adapter.md): How to add a product to the mirror: the adapter that builds, seeds and reads one system. Read when a new product is being added to the mirror's code. ## For AI agents - [For AI agents](https://mirrordimensions.com/docs/for-ai-agents.md): Read these docs as text, act through the operator tools, and wait for the person's approval where a step costs time or money. Read when you are an AI agent about to set up or operate the mirror for a person. - [Working on the code](https://mirrordimensions.com/docs/working-on-the-code.md): The repository's own instructions for a coding agent changing the mirror itself. Read when you are a coding agent changing the mirror's own source. ## Blog - [Why I built MirrorDimensions](https://mirrordimensions.com/blog/introducing-mirrordimensions/): An open-source place to put an AI agent to work in a copy of a company, and see what it does before it gets real access. Why it exists, who it is for, what it does today, and a request for your feedback.