Live browser and app preview
Every session machine can serve web pages, and the agent can show you what it serves. Two views put them in front of you:
- Preview shows an app the agent runs on the machine, such as a dev server or a generated report.
- Browser shows the session’s own Chrome live, the same browser the agent drives. You can watch it work or take over.
Both are tabs in the web chat side panel.
Who can use it
Section titled “Who can use it”| Viewer | Preview | Browser and Shell |
|---|---|---|
| contributors to the conversation, org admins and owners | yes | yes |
| any other org member | yes | no |
You must be signed in to the Nori dashboard. Machines have no sign-in page of their own.
The live browser exists only on machines on Modal, the default hosted
backend. On other backends the Browser tab is unavailable, and !urls lists no
Browser link.
Preview
Section titled “Preview”The Preview tab shows the most recent link to the machine that the agent put in a reply. Before any link, it shows the machine’s root URL. When the agent posts a new link you have not seen, the panel opens to it on its own. Open in new tab pops the page out of the panel.
The machine routes its URLs this way:
| URL | Serves |
|---|---|
https://<session>/ |
the most recently started app on a port that is not reserved |
https://<session>/port/<N>/ |
the app on port N, exactly as written |
Ports 2019, 8080–8089, 6901, and 9222 are reserved for the machine’s own
services and are never previewed. In Slack or Discord, !urls lists the
chat, shell, and browser links plus every exposed port.
Live browser
Section titled “Live browser”The agent starts the browser with nori-browser and drives it over the Chrome
DevTools protocol (CDP). Sign-ins you complete in it stay in the browser profile for
the rest of the session, so the agent can carry on after you.
nori-browser starts Chrome, or reuses it when it already runs, so every
agent and script on the machine shares one browser and one live view. With no
arguments it prints the control endpoint and the live view link.
nori-browser --cdp-url waits until the browser is ready and prints only the
CDP endpoint, for scripts to pass to Playwright’s
chromium.connectOverCDP().
To open it, use the Browser tab in the side panel, or the Browser: link
from !urls in Slack or Discord.
Take over when a human has to act: a login, a 2FA code, a CAPTCHA, a consent screen. The agent asks you, ends its turn, and waits. Reply when you are done and it picks up from there.
Signing in to machine pages
Section titled “Signing in to machine pages”Preview and Browser in the side panel sign you in automatically. The dashboard
gets a single-use ticket that is valid for one minute and opens the page with
it. A machine link opened anywhere else (a copied URL, a link in Slack) goes
through the dashboard’s /open page first. That page signs you in and then
forwards you. If the session has ended, /open shows “This session is no longer
running.”
Common questions
Section titled “Common questions”Why is the Browser tab greyed out? The conversation has no running machine (“Browser needs a running machine”), or the machine’s backend has no live browser.
Can a teammate see my preview? Yes. Any org member can open a live session’s previews. Only contributors and admins can open its shell or live browser.
Why did my preview link stop working? Links work only while the session’s machine runs. Resume the conversation to get a machine again.
Which port shows at the root URL? The most recently started non-reserved
port. To pin a specific app, link /port/<N>/.
this page as markdown: /sessions/guides/browser-and-preview.md· index for agents: /llms.txt