Quick answer: To preview AI agent changes on your phone in Sharkly, ask the Agent to start the dev server on its task’s Computer bound to 0.0.0.0 and post the local network link in the Task. Any phone, tablet or laptop on the same Wi-Fi opens that link, and the page updates when the Agent edits it again.
An Agent says the page is done. The diff looks fine. Then a teammate opens it on a phone and the sign-in form is unreadable.
If you don’t have an organization yet, Sharkly is free to start, and the getting started guide takes you to a first run.
Before you start
You need three things in place:
- A Computer with a Runtime. Ours is a Mac running Claude Code, connected to Sharkly with an install token. The preview runs on this Computer, so it must be on the same network as your phone. See how Computers work if yours isn’t connected.
- A web page the Agent can serve. Cancel Anything ships a fake streaming site called StreamBox for demos, started with
npm run demo:siteon port 4173. - An Agent that works in that folder. We used Juno, the team’s PM Agent (Claude Code, Sonnet 5.5), set to run directly in the project folder.

Look at the status badge: the Computer must show Available, because the preview server runs on it, not in the cloud.
How previewing an Agent’s work on a phone works
The 2026-10-07 changelog describes the behavior: when an Agent runs front-end changes in a task’s local environment on your computer, a phone, tablet or another computer on the same local network can open the preview address, and you can ask the Agent to post the link in the task comments. The same release made running tasks outlive the terminal that started them, so the preview stays up after the Agent’s run ends.
In practice that’s a loop of four moves: assign, serve, open, send back.

One detail decides whether this works: the bind address. A server listening on 127.0.0.1 (loopback) only answers the computer it runs on. A server listening on 0.0.0.0 answers every network interface, including the Wi-Fi address your phone can reach. The Node.js server.listen docs cover the host argument.
Preview AI agent changes on your phone in Sharkly, step by step
Step 1: Write the Task so it asks for the link
Create a Task in your Space (we used type Build) and put the preview request in the body. Ours, CAAN-69, asked for four things: a viewport tag on every StreamBox page, a HOST setting on the demo server with 127.0.0.1 as the default, the server started with HOST=0.0.0.0, and the link posted as a comment.

Step 4 in the body is the part that matters: name the port and path, and say where the link goes.
Why the viewport tag? Without <meta name="viewport">, a phone browser lays the page out at a desktop width of about 980px and shrinks it. MDN’s viewport guide explains the default.
Step 2: Assign the Agent and start the run
Set the Agent in the Task’s assignee field (Juno, in our case). The run appears in the Task’s conversation panel. If the Agent has working hours, the run waits in Queued with a start time; click Run now in the banner to start it at once.
Step 3: Get the preview link in the Task
When the run finishes, the Agent’s reply carries the link. Juno posted the StreamBox address on the Computer’s Wi-Fi IP, port 4173, plus the log path and the exact command to stop the server.

Ask for the stop command every time. The server keeps listening after the run ends, and anyone on that network can open it.
Juno also reported 11 of 11 tests passing, a clean typecheck and an HTTP 200 from the link, and said it had not opened the page on a real phone. That honesty is useful: the Agent checked reachability, not how the page feels in your hand.
Step 4: Open the link on a second device
Type or tap the link on any device on the same network. On StreamBox, tap Sign in with both fields empty to reach the account page.
Which device we used: no second phone was on that Wi-Fi during our session, so we opened the LAN address in Chrome emulating an iPhone 13 screen (390px wide) on the hosting Mac. It’s the same address a phone uses; the network rules in the limits section below decide whether your phone gets through.
The account page looked right. The sign-in card did not: the Email and Password fields sat side by side, about 20px tall, with text under 16px, which makes iOS Safari zoom in when you tap a field.
Step 5: Send one change back from what you saw
Reply in the same conversation with what you saw and what you want. We wrote that the fields were too small to tap and asked for them stacked, full width, at least 44px tall with 16px text, keeping the same ids and labels. The 44px figure comes from Apple’s touch target guidance.
Your reply starts a new run in the same conversation. Juno added one CSS rule to the sign-in inputs and left the server alone, because the demo server reads each file from disk on every request.

Same process ID, same log, same address. A reload on the phone shows the change.
Juno flagged one more detail: the page remembers that you signed in, so a normal reload skips the sign-in card. Open the link in a private tab to see it again.
Step 6: Review the result
The Agent hands the conversation back to you. The Task’s Conversations tab shows the chat flagged Needs your review.

Review the diff only after the page passes on the phone; the code review then covers code, not layout.
The real result
Three phone-width captures of the same sign-in card tell the story of the Task:

Left: the original page. Middle: after Juno’s first build run. Right: after the change sent back from the phone.
The final diff touched six files: the viewport tag on five StreamBox pages, one CSS rule on the sign-in inputs, side padding on the upgrade page, and one line in src/demo-server.ts reading the bind address from HOST. Nothing was committed; the edits wait for review in the working tree.
What went wrong for us
The PM Agent refused the job. Juno’s instructions say a PM doesn’t write code, so the first run ended with a handoff note and a question: assign an engineer, or approve an exception. We approved it as a one-off. For your team, assign front-end Tasks to an Agent whose instructions allow code changes, and skip a wasted run.
The run queued until 22:00. Juno has working hours, so the assignment showed Queued with a start time hours away. Run now in the conversation banner started it.
The server log printed the wrong address. With HOST=0.0.0.0, the log still said http://127.0.0.1:4173, because the printed origin was hardcoded. That address only works on the hosting Computer. Use the LAN address the Agent posts, not the one in the log.
Limits: same network only
The preview is local. Your phone and the Computer must share a network, and nothing on the way may block the port.

When the link won’t open, check these in order:
- Same network? A phone on mobile data, or on a guest Wi-Fi that isolates clients, can’t reach the Computer.
- Bind address. The server must listen on
0.0.0.0. For Vite that’sserver.hostor--host. - Firewall. A desktop firewall can block incoming connections on the port. Ours was off.
- Server still running. The Agent’s log path shows whether it stopped.
- No address at all. Per the changelog, no preview address is produced when the Computer has none, for example when it isn’t on a network.
Variations
A design-heavy product team asks the Agent to post two links per Task, before and after, from two ports, so a designer compares both on the same phone in under a minute.
A support team with an internal help center has the Agent serve the draft article locally and posts the link to the person who reported the confusing page, who checks it on a tablet before the Task moves to review. Pair it with handoffs between Agents and people so the reply lands in the right conversation.
Recap checklist
- The Computer is Available and on the same Wi-Fi as your phone.
- The Task body asks for the server on
0.0.0.0, the port, the path and the link as a comment. - The page has a viewport tag.
- The assigned Agent is allowed to change code, and its working hours won’t hold the run.
- You open the LAN link from the Agent, not the address in the server log.
- You send one concrete change back and reload in a private tab.
- You stop the server with the command the Agent posted when review is done.
For how runs start, wait and finish, see the Agent run lifecycle, and the Agent task execution docs for errors a run can hit. Then pick one page in your repo and write the Task that asks for its preview link.



