Tondavo

Let your AI coding agent see bugs on your real phone

Updated

Coding agents that check their work usually do it in a desktop browser such as Chrome. Bugs that exist only on a phone never show up there, so the agent reports a fix that isn't one. To catch them, the agent needs the phone itself: its errors, its screen and a way to tap. For a mobile website or web app, Tondavo opens your localhost on the phone and gives the agent those as MCP tools.

Why desktop checks miss phone bugs

Chrome's device mode, Playwright's mobile presets and Chrome DevTools MCP all run Chromium with a small window and a phone's user agent. Every browser on an iPhone runs Apple's WebKit, including Chrome for iOS. So the engine, the APIs and the touch and keyboard behaviour all differ from what the agent tested. Some real examples:

  • Missing APIs. A page that reads Notification.permission works in desktop Chrome. In an iPhone Safari tab, Notification doesn't exist, the script stops, and the page never finishes loading.
  • Secure-context features. The camera, microphone and crypto.subtle work at localhost on the computer. On the phone, at a Wi-Fi address, they're undefined.
  • Gestures. iOS starts audio and opens the keyboard only after a real tap, and a person has to answer permission prompts. Code that works when clicked in a desktop browser can fail silently on the phone.
  • Layout. The on-screen keyboard, the address bar that resizes the viewport, and invisible overlays that swallow taps.

The agent can't see any of this. It changes the code, reloads desktop Chrome, sees a working page and says "fixed".

Your options

OptionReal phone engineAgent can use itCatchBetter choice when
Chrome device mode, Playwright, Chrome DevTools MCPNo (Chromium on desktop)YesMisses WebKit and iOS-only bugsThe bug is in layout or shared code: nothing to set up, and it runs anywhere
Playwright's WebKitClose, but a desktop buildYesNot iOS Safari: no iOS keyboard, gestures or permissionsYou want repeatable tests in CI, with no phone
iOS SimulatorYesHardMac and Xcode only, and you still relay what you seeYou need many iOS versions or screen sizes you don't own
Cloud device farmsYesPartlyPaid, remote devices, and your localhost needs a tunnelYou need many real devices, or Android models you don't have
Native-app agent toolsYesYesFor iOS and Android apps, usually via an SDK in the app or a cable and a Mac; not for websitesYou build a native app
TondavoYes, your own phoneYes, MCP or commandsMobile web only; some iOS actions need your finger. Tested with Claude Code on iPhone Safari; Android and other agents untestedYou build a website or web app and have the phone with you

Set it up with Tondavo

  1. Start your dev server, then run npx tondavo in the same project.
  2. Point your phone's camera at the QR code in the terminal. Your app opens over HTTPS.
  3. Give your agent the tools. In Claude Code: claude mcp add tondavo -- npx tondavo mcp, started in the folder where Tondavo runs. Other agents can run the same tools as commands, such as npx tondavo logs.
  4. Tell the agent what's wrong, for example: "The meetups page is broken on my phone. Fix it."

A headless run on that example, with a simulated iPhone, went like this. Claude Code read the phone's logs and found ReferenceError: Can't find variable: Notification at line 18. It checked on the phone that Notification is undefined and that the dates parse. It guarded the line, waited for the phone to reload after the save, and checked again: four events, no new errors. The whole run took 11 steps and 40 seconds.

What the agent gets

  • logs: errors, failed or stalled fetch requests, console output, taps that hit nothing, and elements wider than the screen, as they happen on the phone.
  • screen and screenshot: the visible page as text, or as an image.
  • tap, type, swipe: act on the page. A tap lands on whatever a finger would hit, including an invisible overlay.
  • eval: run JavaScript on the phone to test a theory.
  • reload, wait_for and status: reload the phone, wait for something to happen, and see whether the phone is reachable and why not.

Limits

iOS keeps a few things for a real finger: opening the keyboard, answering camera, microphone and location prompts, and starting sound. The agent's tools tell it about these limits, so it can ask you to tap. A phone in your pocket or a tab in the background is frozen by iOS; after a few seconds without an answer, the agent is told why. Tondavo is for websites and web apps, not native iOS or Android apps.

To try it: npx tondavo. See Getting started.

Sources