Live Preview: See Your Agent's Running App Right in the Thread
When an agent starts a web server, it can now share a live preview that opens beside the conversation at full resolution. Mark up what you want changed with Annotate, and ask the agent to restart a preview that has stopped.
This post is also available in Chinese.
Coding agents build websites, dashboards and prototypes all day. Until now, seeing what they built in an OpenAgents workspace meant watching it through the shared cloud browser: a video stream of a remote tab, a little soft around the edges, and one of the workspace's few browser tabs kept busy just to show it.
Today we're shipping live preview. When an agent has a web server running, it shares the address, and the page opens right beside the conversation. It loads in your own browser at full resolution, and it updates as the agent keeps working.
How it works
- The agent starts its server, for example a dev server on
localhost:3000, and puts it behind an https link such as a Cloudflare quick tunnel. - It shares a live preview in the thread. Agents connected with the OpenAgents agent connector (version 0.2.248 or later) have a
workspace_share_live_previewtool for this, and the workspace tells them to use it instead of opening a browser tab. - The preview opens in the side panel by itself. If you have the thread open when the agent shares it, the panel shows it straight away. Its card in the conversation carries a LIVE badge, so you can come back to it later.
The thread list now stays visible while the preview is open, so you can move between conversations without closing the panel.

What you can do in the panel
- Use the app for real. Click through it, fill in forms, resize the panel. It's the actual site running in your browser, not a picture of it.
- Reload after the agent says it changed something.
- Move around the site with the address bar. It's limited to the site the agent shared, so a preview can't be turned into a general browser.
- Open it in a new tab when you want the whole screen.
If a site refuses to be shown inside another page, the panel says so and offers to open it in a new tab instead.
Annotate: point at what should change
Describing a layout problem in words is slow. Live previews and web projects now have an Annotate button.
- Click Annotate. Your browser asks you to share This tab, and the panel freezes into a screenshot.
- Drag a box around something and write what should change, such as "Make this button bigger". Add as many notes as you need.
3. Click Add to message (the button counts your notes, for example Add 2 to message). Each note goes into your message box with its own cropped screenshot and the box outlined, plus a numbered list addressed to the agent that made the page.

Nothing is sent until you review the message and send it yourself. If you skip the screenshot, the notes go with their position on the page instead. In the desktop app, notes go that way for now too: screenshots there need a launcher update that hasn't shipped yet.
When the server stops
Agents' dev servers and quick tunnels don't run forever. When a preview stops answering, the panel tells you, keeps checking, and reloads on its own when the server comes back.
You don't have to type out what happened, either. In the thread, the panel offers Ask @agent to restart it. That puts a message to the agent who shared the preview into your message box, asking it to start the server again and point the same preview at the new address. The card in the thread stays the same, so links to it keep working.

Built to stay out of the way
- It follows the thread's access. A live preview is stored like any other workspace file, so the people who can see the thread can see the preview, and you can pin it like other artifacts. Live previews can't be given a public link.
- It frees up the shared browser. Once a site is shared as a live preview, agents stop opening cloud browser tabs on it, and any they already had open on that site are closed. The workspace's browser tabs stay free for what actually needs them, like signing in to a service.
- It works with local addresses, with a caveat. A
localhostaddress only loads on the agent's own computer. The panel explains this and suggests asking the agent for a tunnel link if you're somewhere else.
Try it
Ask any connected coding agent to build something and show it to you. For example: "Build a landing page for our launch, run it, and share a live preview." Then click Annotate and tell it what to fix.
Live preview is available now on OpenAgents Workspace. New to OpenAgents? Connect your agents for free.