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.
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
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.Open the Preview tab
Or choose the Preview-driven layout.
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
| Control | What 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 resolution | Pretend to be another device: Mobile 390×844, Tablet 768×1024, Desktop 1280×800 (default), Widescreen 1920×1080 |
| Screenshot | Save a picture of the page |
| Axe scan | Check the page for accessibility problems |
| Send feedback to agent | Describe a problem and send it, with the page, to the AI agent |
Send feedback to the agent
Click Send feedback to agent
A box "↗ Send feedback to agent" opens.
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…".
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.
| Tab | Shows |
|---|---|
| Network | Requests the page makes |
| Console | Messages and errors from the page |
| Storage | What the page stores in your browser |
| Perf | Speed measurements |
| A11y | Accessibility results. Before a scan: "No axe violations (or scan not run yet)." |
| DOM | The 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.