Yes: Mobilebox, which runs cloud Android phones for AI agents at $0.01 a minute, lets your agent make one phone’s connection slow, lossy or offline while it runs, then check how your app copes: retries, timeouts, spinners, offline screens. It is one setting, network_conditions, on the set_device MCP tool or PATCH /v1/phones/{id}/device, and the agent keeps full control of the phone the whole time.

Why test it on the phone

Most teams fake a bad network on the server: a sleep in a handler, a mock that throws. That tests the code path you thought of. It does not test what the app does when a reply is lost halfway, when DNS fails, or when every request takes two seconds. On the phone, the app’s real HTTP client, its real timeouts and its real retry logic meet the slow network, so you see the screen your user would see.

Set it

bash
curl -sS -X PATCH "https://mobilebox.dev/v1/phones/$ID/device" -H "Authorization: Bearer $MOBILESANDBOX_API_KEY" \
  -H 'content-type: application/json' -d '{"network_conditions":"3g"}'

Over MCP the agent calls set_device with {"phone_id": "…", "network_conditions": "3g"}. Send null to go back to normal.

PresetAdded per round tripDownloadLoss
offlinenonenothing100 %, both ways
2g650 ms ±100250 kbit/s0
3g300 ms ±50750 kbit/s0
slow_4g150 ms ±201.6 Mbit/s0
lossy100 ms ±50no cap10 %

Or send your own values: {"latency_ms": 2000, "jitter_ms": 200, "loss_percent": 5, "bandwidth_kbps": 500}. Any field you leave out means none.

What we measured

We ran this on production on November 22, 2026, from our own workspace, over MCP, and measured from inside the phone: ping to 1.1.1.1 and a 300 KB HTTP download.

SettingRound tripDownloadPackets lostAgent’s observe
normal14.5 ms240 Mbit/s0 %72 ms
3g318 ms565 kbit/s0 %20 ms
custom 2,000 ms ±2002,009 ms0 %
custom 30 % loss14 ms31 % of 100
offlinenone, and DNS fails100 %19 ms
null, and after park14.5 ms0 %

The download comes in under the 750 kbit/s cap because TCP is still ramping up over the extra 300 ms on a short transfer, as it would on a real 3G link. The last column is the point: the slow network applies to the app’s traffic, not to the agent’s control of the phone. Screens, taps and screenshots stay fast even when the phone is offline.

What an app did

Ping times say little about what your user sees. So on November 23, 2026 we installed the Wikipedia app from F-Droid on a production phone, opened its search and timed 33 searches over the API, each a new query: from typing the query to the first matching result on screen. The times include typing and our API’s own round trip, so the normal network is the floor, not zero.

SettingSearchesMedianSlowestWhat the app showed
normal81.3 s1.4 sresults
slow_4g41.4 s2.6 sresults
3g41.8 s5.6 sresults
2g44.1 s10.8 s3 results; once "Cannot connect to Wikipedia. Check your network connection, or try again later", timeout, and a Retry button
lossy, 10 % loss41.4 s2.9 sresults
custom 30 % loss41.4 s1.5 sresults
offline54 times the same "Cannot connect" message with Retry, 20.5 s after typing when timed; once no message and no results for 30 s

Three things a test on the phone found that a mocked server wouldn’t:

  • Latency hurts, loss barely did. Small search requests got through 10 % and 30 % packet loss almost as fast as on the normal network, because the connection resends lost packets. On 3g the slowest search took 5.6 s, four times the normal one; on 2g one search in four failed.
  • Offline, the user waits 20 s for the message. The app keeps trying before it says anything; once it reported its own 10-second connect timeout in the message. That is the screen to check in your own app: does it tell the user sooner?
  • Recovery worked. After the agent sent null, which took 0.33 s, tapping Retry showed results in 0.8 to 1.3 s. In the run that never showed a message, the results arrived on their own once the network was back.

A test your agent can run

  1. Install the build with install_app and open it.
  2. set_device with "offline", then do the action that needs the server, such as "Sync" or "Submit order".
  3. observe: is there an offline message, or a spinner that never ends? While a condition is set, observe starts with a Network: line, so the agent knows why things are slow.
  4. set_device with null, and check that the app recovers by itself, without a duplicate order.
  5. Repeat with "lossy" or {"latency_ms": 8000} to find the timeout that fires first.

What to know

  • It lasts for the phone’s session: parking, deleting or a failed session resets it, so a parked phone always starts on a normal network.
  • Apps still see a network connection, as on a Wi-Fi with no internet, so this tests what happens when requests fail, not airplane mode.
  • The download cap applies to what the phone receives; uploads are not capped.
  • iPhone and iPad simulators answer not_on_ios; use an Android phone for these tests.

All fields are in the API reference.