---
title: "The portal, screen by screen"
summary: "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"
url: https://mirrordimensions.com/docs/portal/
---

# The portal, screen by screen

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

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

```sh
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.](https://mirrordimensions.com/static/img/shots/map.png)

1. The agents under test. Each acts as a person in the company.
2. The boundary: a gateway that names, certifies and records each request.
3. The company. Systems are grouped by how each is held: real software, simulated from a description, or named and not yet built.
4. Switch between what agents can use and how each system is built.
5. Choose 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.](https://mirrordimensions.com/static/img/shots/new-world.png)

1. Three ways to start: from an industry, by naming your systems, or by importing a description from your own files.
2. The industries, by group. Each says how many of its systems can run now.
3. What the chosen industry brings: systems that run now, and systems named and left out until you describe them.
4. The 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](https://mirrordimensions.com/docs/described-systems/).

## 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.](https://mirrordimensions.com/static/img/shots/coding-agent.png)

1. Connect 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. Ask for what you want. Three requests to start from.
3. What 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](https://mirrordimensions.com/docs/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.](https://mirrordimensions.com/static/img/shots/permissions.png)

1. The agent.
2. The grant, which you set here.
3. Whether the last run used it.
4. What 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.](https://mirrordimensions.com/static/img/shots/scenario.png)

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

The file itself is explained in [Writing a scenario](https://mirrordimensions.com/docs/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](https://mirrordimensions.com/docs/reading-a-run/).

## 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 |
