MirrorDimensions

Docs / Start here

The portal, screen by screen

What each screen of the local portal shows, with the parts that matter numbered.

Mostly read byProduct managers and owners

The portal is the same project in a browser, on your own computer. Start it in a world's folder:

Terminal
mirror portal        # opens http://127.0.0.1:7420/ with a token in its address

Only this computer can reach it. Its menu has nine screens: Worlds, Environment, Agents, Permissions, Company, Scenarios, Runs, Health and Commands. This page walks through the ones you will use most. Every screen here shows a made-up company.

The environment map

Environment draws the whole world in four parts, left to right and then down: the agents under test, the boundary every request crosses, the company's systems, and below the edge of the sandbox, the model.

The environment map in lanes: three agents, the boundary's gateway, the company's systems grouped by how each is held, and the model below a dashed line.
  1. 1The agents under test. Each acts as a person in the company.
  2. 2The boundary: a gateway that names, certifies and records each request.
  3. 3The company. Systems are grouped by how each is held: real software, simulated from a description, or named and not yet built.
  4. 4Switch between what agents can use and how each system is built.
  5. 5Choose any box to see its details, and to change them.

Choose Show as a table for the same systems as rows, and Overlay a run to draw what one run touched onto the map.

A new world, from an industry

Worlds lists the worlds on this computer and defines new ones. The quickest start is an industry: it brings the systems such a company usually runs, with its teams, people and vocabulary.

Defining a world. Three ways to start are offered; an industry is chosen from a list, a panel shows the systems it brings, and the world's file is written at the side.
  1. 1Three ways to start: from an industry, by naming your systems, or by importing a description from your own files.
  2. 2The industries, by group. Each says how many of its systems can run now.
  3. 3What the chosen industry brings: systems that run now, and systems named and left out until you describe them.
  4. 4The world's file, mirror.yaml, written as you go, with the command that makes the same file.

A system the mirror has no software for can be simulated from your own description of it. See Systems built from a description.

Set up by your coding agent

Under Worlds, With your coding agent connects the coding agent you already use. You ask it in your own words; it does the work through the mirror's tools, and you approve what costs time or money.

The page for setting up with a coding agent: a command that connects it, example requests, and a list of what it has done with one request waiting for approval.
  1. 1Connect it. The page gives the line to run for each tool; you add it yourself, and the mirror changes none of that tool's settings.
  2. 2Ask for what you want. Three requests to start from.
  3. 3What it has done, newest first. A request that costs something waits here for Approve or Not now.

The agent's side of this is on For AI agents.

Permissions

Permissions shows one agent's access, system by system, and after a run sets it against what the agent used.

The Permissions screen for one agent: each repository with the access granted, whether the last run used it, and a finding.
  1. 1The agent.
  2. 2The grant, which you set here.
  3. 3Whether the last run used it.
  4. 4What that means, such as stayed out.

The scenario editor

Scenarios lists what the agent can be given, and writes new ones. A scenario is one file, and the editor asks for it in the order you would describe the situation to a colleague.

The scenario editor: numbered questions down the page, and at the side the issue the agent will receive and checks marked passed.
  1. 1Who the agent is working as.
  2. 2What is already true before the work arrives, such as a commit someone made last week.
  3. 3How the work arrives: an assigned issue, a message in a channel, or a direct message.
  4. 4Exactly what the agent will receive.
  5. 5The file is checked as you type: its shape, its vocabulary, and against this world.
  6. 6Save, rehearse it with no agent, then run it.

The file itself is explained in Writing a scenario.

A run, live, and its verdict

Runs lists every run. A running one opens in the live view; a finished one shows its verdict with the evidence. Both are walked through on Watch a run and read its verdict.

The other screens

Screen What it is for
Agents The agents registered in this world and which are ready to run; onboarding one, or adding one from its file
Company The generated company: its people, its projects, and the secrets planted in it to see where they travel
Health The isolation checks and when they last ran, the world's containers, and its snapshots
Commands Everything the mirror does from a terminal: jobs first, then every command, with a box to find one