Inspect

Browser

Every session sandbox includes a Chromium browser the agent can drive. It uses it to check UI changes against a running dev server, reproduce bugs, fill in forms, and record proof that a change works. You can watch the same browser live in the session's Browser tab and take control of it when a step needs a person, such as signing in.

How the agent uses it

The agent starts the browser the first time it needs it. It acts through real pointer movement and key presses, and reads the page through screenshots and the accessibility tree. It can:

  • Open URLs, including servers it started in the sandbox such as http://localhost:3000.
  • Resize the window: desktop is 1920×1080, mobile is 402×874 at 2× scale, or an exact size from 320×240 up to 3840×2400.
  • Work across tabs and inside iframes.
  • Run a scripted step for up to 5 minutes (1 minute by default) before it is abandoned.

Ask for browser checks in plain terms: "start the app and confirm the empty state renders on mobile" is enough.

Watch and take control

Browser appears once the agent has started the browser. Anyone who can open the session and has a connected GitHub account can watch the stream. One person controls it at a time; the stream shows who is controlling.

  1. Open Browser and select Take control. If no one is controlling, your first click claims it.
  2. Use the page as you would a local browser. Your keyboard and pointer go to the sandbox, and anything you do (cookies, sign-ins, open pages) is state the agent inherits.
  3. Release control, then send a short prompt that starts from where you left the page, such as "use the examples on this page."

Open browser in a new tab pops the stream out. If the stream is open in another tab, the current tab becomes view-only until you take control there.

When the session's pull request has a reported deploy preview, Browser can also show that preview alongside the sandbox browser.

Taking control of the session browser

Recordings

When you ask the agent to show or prove a behavior, it records the browser. While recording, the agent holds control so viewers cannot interfere. Each recording covers one behavior and ends with an outcome of passed, failed, or blocked.

Inspect produces an MP4 with idle time removed, a synthetic cursor, and captions for typed text, plus a JSON log of each step. Both are attached to the session as files, and the agent links the video in its reply.

Availability

  • The browser is not available in read-only sessions, or to people without a connected GitHub account.
  • Archived sessions have no running sandbox. Unarchive the session before opening its browser.
  • Terminating the sandbox closes the browser and its state. The next prompt starts a fresh sandbox.

Troubleshooting