Quick answer
On Nori, the agent starts your dev server on its session machine and posts the link. The Preview tab in the web chat shows that app, and /port/<N>/ pins a specific port. The Browser tab shows the session's own Chrome, which the agent drives over the Chrome DevTools protocol to click through and test your web app. Watch it live, take over when a human has to sign in, and reply when you are done. Teammates in your org can open the preview too.
Why a coding agent needs a preview and a browser
A pull request diff does not show whether the checkout page still works. For web work, the fastest review is to open the running app. The fastest test is an agent that clicks through it like a user, sees the error and fixes it before it asks you to look.
On a laptop, both are easy: localhost:3000 and your own browser. Once agents run in the cloud, you need two things from the platform: a URL that reaches the app on the agent's machine, behind your sign-in, and a real browser on that machine that both you and the agent can use.
How it works
Nori is a cloud coding agent platform for engineering teams. Each session runs on its own cloud machine with your repositories and toolchain, and that machine can serve web pages.
- The agent starts your app. It runs your dev server, a static build or a generated report on the session machine.
- The machine routes it. The session URL serves the most recently started app on a port that is not reserved.
https://<session>/port/<N>/serves the app on port N exactly. - You open it signed in. The Preview tab in the web chat side panel shows the latest link the agent posted and opens new links on its own. Open in new tab pops it out. Links shared in Slack go through the dashboard's sign-in first.
- The agent drives a real browser.
nori-browserstarts Chrome on the machine. Scripts connect with Playwright'schromium.connectOverCDP()using the endpoint fromnori-browser --cdp-url. - You watch it live. On hosted Nori, the Browser tab shows the same Chrome the agent drives, in real time.
- You take over when needed. For a login, a 2FA code, a CAPTCHA or a consent screen, the agent asks you, ends its turn and waits. Sign in, reply, and it carries on. Sign-ins stay in the browser profile for the rest of the session.
The Shell tab gives you a terminal on the same machine. In Slack or Discord, !urls lists the chat, shell and browser links plus every exposed port.
Who can see the preview and the browser
| Viewer | Preview | Live browser and shell |
|---|---|---|
| People in the conversation, org admins and owners | Yes | Yes |
| Any other member of your org | Yes | No |
| Anyone without a Nori sign-in to your org | No | No |
Every machine page needs a signed-in Nori account. A product manager in your org can open the preview link from the Slack thread and try the feature. Only the people steering the session can type into its browser or shell.
Run the full app stack on the agent's machine
Testing a change properly often needs more than the frontend: an API, a worker and a local database. Put what your stack needs in the org setup script, so every machine starts with it installed, and describe the start-up commands in the org skillset. The agent then starts the services, runs migrations and seed data, starts the dev server and tests against the whole stack.
Pick a larger machine for heavy stacks: sizes go up to 8 vCPU and 16 GiB of RAM. See preinstalling your toolchain for the setup script and machine sizes.
Example: test the checkout flow and share a preview
An engineer at a 25-person e-commerce team writes this in the web chat:
In the web repo, fix the bug where the coupon field clears when the
shipping address changes. Start the dev server on port 3000 and post
the /port/3000/ link. Then use nori-browser with Playwright to add an
item to the cart, apply coupon SAVE10, change the shipping address, and
confirm the discount stays. Take a screenshot of the result. If the
staging login asks for 2FA, stop and ask me. Open a PR when it passes.
- The agent finds the bug, starts the dev server and posts
https://<session>/port/3000/. The Preview tab opens to it. - It drives Chrome through the checkout. The engineer opens the Browser tab and watches the cart fill in.
- The staging login asks for a 2FA code. The agent asks for help and ends its turn. The engineer types the code in the live browser and replies done.
- The agent finishes the flow, confirms the discount stays, attaches the screenshot and opens a pull request.
- The engineer pastes the preview link in
#checkout. The product manager opens it, signs in to Nori and tries the fix before review.
The same flow works for a browser game. Ask the agent to serve the build on a port and post the link, and the team can play the latest build from the thread. See the game development software factory.
Tips for reliable previews
- Pin the port. Ask for the
/port/<N>/link so the preview always shows the app you mean. - Use a free port. Ports 2019, 8080 to 8089, 6901 and 9222 belong to the machine's own services. Start dev servers on ports such as 3000 or 5173.
- Allow the session host. Some dev servers block unknown hostnames. Add the session host to the dev server's allowed hosts in your repository config.
- Keep the session running while people look. A preview link works while the session's machine runs. A reply resumes the conversation on a machine again.
- Watch from your phone. The installed Nori app opens the side panel full screen, so you can check a preview or the live browser away from your desk.
Frequently asked questions
How do I get a preview URL of the app my coding agent is building?
On Nori, ask the agent to start the dev server and post the link. The web chat Preview tab opens it, and a link ending in /port/ and the port number always shows the app on that port. Anyone signed in to your Nori org can open it while the session runs.
Can I watch an AI agent's browser session live and take over when it gets stuck?
Yes. The Browser tab in the web chat shows the session's own Chrome live. When a login, 2FA code or CAPTCHA needs a person, the agent asks you and waits. Complete it in the live browser, reply, and the agent continues with the same signed-in browser.
How do I let a coding agent use a real browser to test my web app?
The agent starts Chrome on its session machine with nori-browser and drives it over the Chrome DevTools protocol, for example with Playwright connecting to the endpoint that nori-browser prints. Ask it to click through the flow, take screenshots and fix what fails.
Can the agent run my full app stack, including a database, to test changes?
Yes. Install the services your stack needs in the org setup script so every machine starts with them, and describe how to start them in the org skillset. The agent starts the stack, seeds data and tests against it, on a larger machine size when needed.
Can teammates see the preview?
Yes. Any member of your Nori org can open a live session's preview after signing in. Only people in the conversation and org admins can open its live browser and shell.
Can I share a live preview link of a web game my agent is building?
Yes. Ask the agent to serve the game build on a port and post the link. Teammates signed in to your Nori org open it from the thread and play the latest build while the session runs.
Sources
Read on December 4, 2026.