Docs
Sign in

Live Preview

Live Preview shows your running app inside the IDE, so you can see what you are building without leaving TAO Code. It is a browser tab inside the browser: you can click, type, resize and inspect it, and you can send what you see to the AI agent.

Screenshot to add: The Preview tab with the toolbar, the live page and the inspector drawer.

How it works

TAO runs a hidden Chromium browser inside your session and streams its picture to you about 10 times a second. Your mouse, scroll wheel and keyboard are passed to it. It reaches your app (your dev server) through a protected relay that checks every request belongs to the owner of the session, so nobody else can see your preview.

Show your app

  1. Start your app

    In the Terminal tab, start your dev server, for example npm run dev. TAO notices the port and shows a port pill.

  2. Open the Preview tab

    Or choose the Preview-driven layout.

  3. Enter the address

    Type it in the box ("https://… or http://localhost:5173/") and press Go or Enter. The agent can also open pages for you.

The toolbar

ControlWhat it does
Address box and Go (↵)Go to a page
Refresh (↻)Reload
Zoom out, zoom percent box, Zoom in, Reset zoom to 100%Zoom from 50% to 200%. Type a number and press Enter, or hold Ctrl and scroll, or use Ctrl + and Ctrl −.
Viewport resolutionPretend to be another device: Mobile 390×844, Tablet 768×1024, Desktop 1280×800 (default), Widescreen 1920×1080
ScreenshotSave a picture of the page
Axe scanCheck the page for accessibility problems
Send feedback to agentDescribe a problem and send it, with the page, to the AI agent

Send feedback to the agent

  1. Click Send feedback to agent

    A box "↗ Send feedback to agent" opens.

  2. Describe the problem

    Type what is wrong, for example "The button is off the screen on mobile". The box says "Describe what you see wrong…".

  3. Send

    The agent receives your words and what is on screen, and can fix it. See AI Coding Agent.

Running servers

Pills along the top show the ports your app is using. Hover or click one: "Running on :(port) — click to stop (frees ports, keeps session)". If a server starts again straight away, a message explains it is run by a Docker compose stack: stop it with docker compose down in the terminal, or stop the whole session. If stopping fails you see "Failed to stop dev server".

Inspector drawer

A drawer below the preview has six tabs. The note at its foot says they are "also exposed as agent tools", so the agent can use them too.

TabShows
NetworkRequests the page makes
ConsoleMessages and errors from the page
StorageWhat the page stores in your browser
PerfSpeed measurements
A11yAccessibility results. Before a scan: "No axe violations (or scan not run yet)."
DOMThe page structure. It says "Use the agent's preview_query tool to inspect the live DOM with a selector."

Warnings on the screen

  • "Server unreachable — page is stale" (with Dismiss): your app stopped answering, so you may be seeing an old picture.
  • "⌨ keyboard active" appears when your typing goes to the preview.

Known gaps