Live Previews and Feedback for AI Coding Agents
Updated November 12, 2026 · first published July 22, 2026 · by the AQ team
Use a live preview when you need to see and click an AI coding agent's current changes before accepting them. Move to a published internal app when people will rely on the result as an ongoing tool with sign-in, persistent data, an owner, and a lifecycle. AQ gives product managers and designers a live app preview to click, screenshot comments pinned to the result, and a way to send each comment to the coding agent as its next prompt.
Why the diff is not enough
A diff tells you what changed in the code. It does not tell you whether the modal opens centered, whether the empty state reads sensibly, or whether the layout survives a narrow viewport. Agents are fast at producing plausible-looking frontend code, which makes visual review more important, not less: the failure mode is code that reads fine and renders wrong.
There is also a people problem. The person best placed to judge an agent's UI work is often a designer or product manager who is never going to read a unified diff. If your review process for agent output is "open the pull request," you have excluded the reviewers with the strongest opinions about the result. Agents are starting to check their own work (OpenAI's Codex, for example, can drive an embedded browser, take screenshots of what it built, and attach them to the task and pull request, as of July 2026), but a screenshot from the agent is evidence, not review. Someone still has to click around.
When is a live preview enough, and when do I need a published internal app?
Stay with a development preview while the question is whether a change works: the flow renders, data appears as expected, and a reviewer can respond before merge. Choose a published internal app when the result itself becomes part of someone's job. At that point the system needs controlled access, persistent data, a known identity model, an owner who can change or retire it, and a recovery path. A successful preview answers the first question; it supplies no evidence for the second set.
| Agent output | Question it answers | What to decide before relying on it |
|---|---|---|
| Attached evidence: screenshots, videos, logs, or test output | What did the agent exercise, and what did it record? | Which claims the evidence supports, which paths still need a human click-through, and where the evidence is retained |
| Development preview: a running dev server | Does this change work for the intended user, data, and viewport? | Who can open it, which data it can reach, when it stops, and how comments return to the agent |
| Stable document or page: a report, dashboard, or chart at a durable address | Can stakeholders revisit the same analysis or artifact? | Its owner, refresh cadence, guest access, source freshness, and retention |
| Draft or reviewed pull request: proposed repository changes | Is the implementation ready to merge into the shared codebase? | Reviewers, checks, preview evidence, merge authority, and rollback |
| Deployed internal app: a durable tool people use in their work | Can the intended people rely on this tool over time? | Authentication, authorization, persistent data, secrets, publishing authority, audit evidence, recovery, and lifecycle ownership |
An AQ Page belongs in the stable document or page row. AQ's public product summary says an agent can publish a report, dashboard, or chart at a stable address, with an optional guest link for people outside the team. That gives information a durable home; it does not establish a production application lifecycle.
Pre-publish checklist for an internal app
Start with a threat model. Untrusted visitors or invited users may probe authorization, agent-generated code may expose secrets or broaden queries, connected services may fail, and the publisher may leave the team. The security boundary includes the app's UI, server routes, database, secrets store, identity provider, API keys, and hosting account. Write down assumptions about login, network privacy, and agent behavior, then assign each one a test and an owner. Publish checks can catch defined problems; they cannot prove an app is safe.
- Secret handling. Keep values out of source files, client bundles,
.envfiles, source maps, logs, screenshots, and prompts. Use least-privilege credentials, record who can read or rotate them, and test revocation. A value hidden from the agent transcript may still be usable by code running in the app's environment. - Authentication and authorization. Enumerate anonymous, invited, team, public, and API-key access. Test every server route and object-level action with permitted and denied users. Decide what attribution means when an automated request identifies a key rather than a person.
- Data access and retention. Classify the data, constrain queries to the intended tenant and purpose, and test changed object identifiers and filtered responses. Set retention and deletion rules, document exports and backups, and restore a copy before relying on them.
- Review rules. Give someone other than the agent a chance to inspect the code, configuration, migrations, and access rules. Record custom review instructions and the reason for any blocked-publish exception, then repeat the checks after fixes. An administrator override accepts a specific risk and leaves the underlying finding unresolved.
- Audit evidence. Preserve the publisher, publish time, source version, settings changes, access changes, secret and API-key inventory, and review evidence. Decide where those records live, who can read them, and how long they remain available.
- Export and recovery. Verify access to the source repository, database exports, dependency locks, and deployment configuration. Practice restoration, rollback, and unpublishing, and record how long recovery should take and which connected systems can fail during it.
- Publish and unpublish authority. Name who can publish, approve a blocked publish, change public sharing, create API keys, and unpublish. Remove those powers when roles change, and make the emergency unpublish path known to the app's owner.
- Ownership changes. Document how to transfer the repository, hosting account, secrets, data, API keys, domain, and lifecycle ownership. Test what happens to the app and its data when the owner leaves, team membership changes, or a hosting provider suspends an account.
The coding agents for product managers guide covers the review roles around a live preview. The secure cloud workspace guide covers the isolation, credential custody, egress, and audit boundaries beneath the agent's environment.
Route 1: run the dev server in the agent's checkout
The baseline is to start the app yourself from wherever the agent worked. If each agent task runs in its own git worktree (the common isolation pattern for parallel agents), each worktree is a full working directory, so each one can host its own dev server. The one operational detail that bites people is ports: two dev servers cannot share port 3000, so give each checkout its own.
# Each agent task in its own worktree, each preview on its own port
cd .worktrees/task-42
npm install
PORT=4001 npm run dev
cd ../task-43
PORT=4002 npm run dev
This is free and immediate, and for a solo developer reviewing their own agents it is usually enough. Its limits are social: the preview lives on your machine, dies when your laptop sleeps, and nobody else can open it. It also means dependency installs and env files per worktree, worth scripting once tasks run in parallel.
Route 2: tunnel the local server to a shareable URL
When someone else needs to look, the quickest path is a tunnel: a small client on your machine connects out to a relay and hands you a public HTTPS URL that forwards to your local port. No firewall changes, no deploy. The mainstream options, as of July 2026:
- Cloudflare quick tunnels. One command (
cloudflared tunnel --url http://localhost:4001), no account required, and you get a random URL on trycloudflare.com. Cloudflare caps quick tunnels at 200 in-flight requests and positions them for testing and demos only; named tunnels on a real domain are the production path. - ngrok. An established tunnel. The free plan includes one automatically assigned dev domain, up to 3 concurrent endpoints, and monthly caps (1 GB of bandwidth, 20k HTTP requests); custom domain names require a paid plan.
- Tailscale Funnel. If your team already runs a tailnet, Funnel exposes a local service on your tailnet domain to the public internet. It is deliberately double opt-in (a tailnet admin enables it, then the device enables it), limited to ports 443, 8443, and 10000, and bandwidth-limited. For a reviewer who is already inside your tailnet you do not need Funnel at all: plain Tailscale Serve shares the port privately.
- VS Code port forwarding. Built into the editor via Microsoft dev tunnels. Forwarded ports are private by default (the visitor signs in with the same GitHub account), and can be flipped to public. Usage is subject to bandwidth and tunnel limits.
| Tunnel | Account needed | Best for | Main constraint (as of July 2026) |
|---|---|---|---|
| Cloudflare quick tunnel | No | Instant one-off demos | Random URL, 200 in-flight requests, testing only |
| ngrok free | Yes | A stable dev URL you reuse | 3 endpoints, 1 GB/month bandwidth |
| Tailscale Funnel | Yes (tailnet) | Teams already on Tailscale | Ports 443/8443/10000, admin opt-in |
| VS Code ports | Yes (GitHub) | Sharing from inside the editor | Private by default, tunnel limits |
All tunnels share two caveats. The preview still depends on your machine staying awake with the dev server running, and a public tunnel URL is a real door into a dev build: anyone holding the link can reach whatever the app can reach, so treat public tunnels to apps with real data as an incident waiting to happen.
Route 3: preview deployments with built-in comments
For web frontends, preview deployment platforms solve both hosting and feedback at once. Vercel builds every pull request into its own preview URL, and comments are enabled by default on preview deployments on all plans: reviewers comment on the page itself through the Vercel Toolbar, attach screenshots by dragging over a region, and threads can sync to Slack. By default commenting is limited to members of your Vercel team. Netlify's equivalent is Deploy Previews with the Netlify Drawer: reviewers take and annotate screenshots, record videos, and file the feedback as issues that sync to GitHub, GitLab, Jira, Linear and others, with a free Reviewer role for stakeholders, as of July 2026.
This gives reviewers a polished experience, and if your app already deploys on one of these platforms it is a practical answer. The constraints are structural: the app has to build and run on the platform (backends with private dependencies, internal services, and heavyweight monorepos often do not), the agent has to commit and push before anyone can look (so you review after the fact, not while it works), and every review cycle costs a build.
Closing the loop: feedback has to reach the agent
Whichever route produces the preview, the feedback it generates is for the agent, not just the author. Today the loop usually closes by hand: a reviewer leaves a comment on a preview or drops a screenshot in chat, and a human copies it into the agent's prompt with enough context (which page, which element, which viewport) for the agent to act. It works, and screenshots pasted into a CLI agent are genuinely effective because the agent sees exactly what the reviewer saw. But every hop a comment makes before reaching the agent costs time and detail, and platform comment threads are built to end in a human assignee, not an agent's next turn. Users are asking vendors to bridge exactly this gap: there are open requests to sync Vercel preview comments into GitHub pull requests specifically so coding agents can consume them, as of July 2026. The direction of travel is clear: the comment on the preview should become the agent's next prompt, with the screenshot and page context attached.
Where AQ fits
AQ is the multiplayer coding harness where engineering teams run AI coding agents like Claude Code and Codex together: shared live terminals, a code editor, and app previews, in your own cloud. In this page's terms, AQ builds route 1 and the feedback loop into the product so you do not assemble them from parts. Every workspace gets its own isolated git worktree with dependencies installed automatically, and each workspace can run a live dev-server preview. On Pro, agents run in persistent sessions on a team-controlled or AQ-managed machine, so the preview does not depend on your laptop staying awake, and it works for anything that can run a dev server there.
On Pro, sharing is built in rather than tunneled by hand: a workspace's preview has shareable preview links, plus guest links for people outside the workspace. Feedback closes the loop directly: comments are pinned on the preview itself, screenshots are supported, and a pinned comment can be sent to the agent as a prompt, so a designer's "this button is misaligned" becomes the agent's next instruction without a human courier. Reviewers who want to go deeper can open the same workspace in the browser (on macOS, Windows, Linux, or a phone) and watch the live agent session. Terminal control stays delegated: a teammate requests control and the owner approves it.
AQ previews are development servers used for review. AQ does not provide production deployment, managed app hosting, Postgres provisioning, SSO, a publish security gate, or an admin publish-approval system for them. For code review, the Changes panel carries the diff, line comments, review threads, and pull request state. For a stable information artifact, an agent can publish a report, dashboard, or chart as an AQ Page with a stable address and an optional guest link.
Plainly: for a solo developer, a worktree, a port, and an occasional quick tunnel are enough, and this page tells you how. AQ earns its place when previews and the comments on them need to be a team loop: agents working on a shared machine, a preview per workspace, and feedback that lands back in the agent's session. The current pricing page describes Free as one person's own Mac with the AQ Mac app and no included AQ credits. AQ Pro is $50 per user per month (promotional; standard $200, billed monthly) with team sharing, customer-owned VMs or a dedicated always-on AQ-managed machine, and $10 of AQ credits per seat each month, with the rate locked for the first 12 months.
Frequently asked questions
How do I see what an AI coding agent built before merging?
Run the application from the agent's checkout. If the agent worked in a git worktree, start the dev server there on its own port and click through the change. A diff review alone misses rendering, layout, and interaction problems, which is exactly where agent-written frontend code tends to fail.
When is a live preview enough instead of a published internal app?
A live preview is enough while you are deciding whether a change works and collecting feedback before merge. A published internal app becomes relevant when people will use the result repeatedly in their work. That adds requirements for identity, authorization, persistent data, secrets, audit evidence, recovery, and a lifecycle owner.
What is the fastest way to share a localhost dev server with a teammate?
A Cloudflare quick tunnel: run cloudflared with your local URL and you get a public HTTPS address on trycloudflare.com with no account, as of July 2026. It is capped at 200 in-flight requests and meant for demos. For a URL you reuse daily, ngrok's free dev domain or VS Code's built-in port forwarding are the usual next steps.
Can non-engineers review an AI coding agent's work?
Yes, if you give them a URL instead of a diff. Preview deployments with commenting (Vercel comments, Netlify's Drawer) let designers and product managers click the actual app and leave feedback in place. AQ does the same without a deployment platform: on Pro, each workspace's live preview has shareable and guest links, and comments pinned on the preview (with screenshots) can be sent to the agent as prompts.
How does preview feedback get back to the coding agent?
In most setups, by hand: someone copies the comment or screenshot into the agent's prompt with page and element context. Platform comment threads generally end at a human assignee. In AQ the pinned comment itself can be sent to the agent as its next prompt, screenshot included.
Do I need Vercel or Netlify for AQ's previews to work?
No. An AQ preview is the dev server running inside the workspace's own git worktree on your team's VM, so it works for anything that can run a dev server there, including apps that would never build on a hosting platform. Nothing has to be pushed or deployed before someone can look.