# Mobile sandbox for AI agents.

A mobile sandbox is a phone in the cloud that your AI agent can use and you can reset: its own apps, data and settings, created on demand and parked or deleted when the task is done. With Mobilebox it is a cloud Android phone for $0.01 a minute, ready for a first screenshot in 1.35 s in our 22 November 2026 benchmark, that your agent drives over a REST API or MCP.

[Get started](https://mobilebox.dev/docs?via=md) [Pricing](https://mobilebox.dev/pricing?via=md)

Sign up with GitHub or your email. New workspaces get free credit.

## How it works.

Your agent supplies the reasoning. Mobilebox supplies the phone.

[The agent guide](https://mobilebox.dev/docs/agents?via=md)

1. Create a phone
   One call over REST or the hosted MCP server. Boot time is free.

2. Read the screen, then act
   `observe` returns the screen as numbered elements. `act` runs up to 20 taps, typing and swipes, then returns the new screen.

3. Park or delete
   Parking stops billing and keeps apps, data and logins for the next run. Delete when you want a clean phone.

## What makes it a sandbox.

Your agent can try anything on it, because nothing it does reaches your own phone, your machine or another run.

- **Isolated.** Every phone has its own network and its own disk. No phone can reach another phone or the host.

- **Disposable.** Give every task, eval or CI run a fresh phone, and delete it in `finally`. See [fresh or persistent sandboxes](https://mobilebox.dev/blog/park-resume-android?via=md#choose-the-right-reset).

- **Kept when you want it.** Park a phone and its apps, data and logins wait for the next run, free. See [park and resume](https://mobilebox.dev/blog/park-resume-android?via=md).

- **Made for agents.** The screen comes back as numbered elements an agent can read, not pixels it has to guess at. See [screenshot or accessibility tree](https://mobilebox.dev/blog/screenshot-vs-accessibility-tree?via=md).

- **Watchable.** Open a [live view](https://mobilebox.dev/live-view?via=md) and see every tap, swipe and keystroke as it happens.

## Android sandbox, iPhone sandbox or a real device.

The same calls on each, so your agent's code doesn't change.

### Android sandbox

- Cloud Android 14 phones (arm64)

- $0.01 per phone-minute, parked phones free

- Free credit for new workspaces

- [Use Android online](https://mobilebox.dev/android-emulator-online?via=md) in your browser, or [run an APK online](https://mobilebox.dev/run-apk-online?via=md)

### iPhone and iPad sandbox

- $0.03 per phone-minute

- The same observe and act calls

- [iPhone and iPad](https://mobilebox.dev/ios?via=md) · [iOS simulator online](https://mobilebox.dev/ios-simulator-windows-linux?via=md) · [build without a Mac](https://mobilebox.dev/build-ios-app-without-mac?via=md)

### Real Android devices

- For apps that check the device

- $0.01 per phone-minute

- [Real devices](https://mobilebox.dev/real-devices?via=md) · [which one you need](https://mobilebox.dev/blog/real-android-devices-vs-cloud-phones?via=md)

## Mobile sandbox, emulator, device farm or code sandbox?

Four places an agent can run something. Pick by what the task has to touch.

| Option | What runs there | How your agent uses it | Fits when |
| --- | --- | --- | --- |
| Mobile sandbox (Mobilebox) | Android and iPhone apps, in the cloud | REST or a hosted MCP server: read the screen, act by number | An agent uses apps (app automation), or tests the app it built, from anywhere, including CI and cloud agents |
| Local Android emulator | Android on your own machine | A local MCP server over ADB | One developer with hardware acceleration and a screen. Cloud phone or local emulator? |
| Device farm | Test suites across many real devices | Appium or a test framework, run by run | A fixed test suite has to pass on a device matrix. What replaces Firebase Test Lab? |
| Code or browser sandbox | Commands and files, or web pages | A shell, or a headless browser | The task never leaves the terminal or the web. Which AI sandbox? |

## A mobile sandbox for every need

One platform for Android, iPhone and iPad. What each need gets on Mobilebox:

- [Android emulator online](https://mobilebox.dev/android-emulator-online?via=md)

- [Run an APK online](https://mobilebox.dev/run-apk-online?via=md)

- [Play Store apps](https://mobilebox.dev/android-emulator-play-store?via=md)

- [iPad simulator online](https://mobilebox.dev/ipad-simulator-online?via=md)

- [Android 16 and 15](https://mobilebox.dev/android-16-emulator-online?via=md)

- [iOS simulator on Windows or Linux](https://mobilebox.dev/ios-simulator-windows-linux?via=md)

- [Appetize alternative](https://mobilebox.dev/appetize-alternative?via=md)

- [Android tablet emulator online](https://mobilebox.dev/android-tablet-emulator-online?via=md)

- [Maestro flows in the cloud](https://mobilebox.dev/maestro-cloud?via=md)

- [Build an iOS app without a Mac](https://mobilebox.dev/build-ios-app-without-mac?via=md)

- [Google sign-in on a cloud phone](https://mobilebox.dev/google-sign-in-cloud-phone?via=md)

- [Firebase Test Lab alternative](https://mobilebox.dev/firebase-test-lab-alternative?via=md)

- [GPS location testing](https://mobilebox.dev/android-gps-location-testing?via=md)

- [Cloud Android phone](https://mobilebox.dev/cloud-android-phone?via=md)

- [Android performance testing](https://mobilebox.dev/android-performance-testing?via=md)

- [Appium cloud](https://mobilebox.dev/appium-cloud?via=md)

- [Stay logged in between runs](https://mobilebox.dev/cloud-phone-stay-logged-in?via=md)

- [BrowserStack alternative](https://mobilebox.dev/browserstack-alternative?via=md)

- [Residential IP per phone](https://mobilebox.dev/residential-ip-cloud-phone?via=md)

- [Android games on a cloud phone](https://mobilebox.dev/android-games-cloud-phone?via=md)

- [Read an app's databases and files](https://mobilebox.dev/read-app-data-android?via=md)

## Questions

What a mobile sandbox is, and what this one does.

What is a mobile sandbox?

A phone your agent can use without touching yours: its own apps, data and settings, created on demand and reset or deleted when the task is done. People also call it a phone sandbox, an Android sandbox or a cloud phone.

Is this a malware analysis sandbox?

Not an instrumented one: it doesn't trace system calls or score a sample. In security, a mobile sandbox runs a suspicious app to watch what it does. On a Mobilebox phone you can install a suspicious APK, watch its screens, capture which servers it contacts with PCAPdroid and delete the phone: see the [Android sandbox for APK analysis](https://mobilebox.dev/blog/android-sandbox-apk-analysis?via=md). Android also sandboxes every app from the others; that is a different thing again.

Is it the same as a code sandbox like E2B?

No. A code sandbox runs commands and files on Linux. A mobile sandbox runs phone apps, and your agent works through the screen. Many agents use both: see [which AI sandbox a task needs](https://mobilebox.dev/ai-sandbox?via=md).

Is there an API for cloud Android phones?

Yes. A REST API described in [OpenAPI](https://mobilebox.dev/openapi.json?via=md), and a hosted [Android MCP server](https://mobilebox.dev/android-mcp-server?via=md) with 25 tools for Claude Code, Cursor, Codex and other clients. Both use the same API key. See the [API reference](https://mobilebox.dev/docs/reference?via=md).

How fast does a mobile sandbox start?

A cloud Android phone took 1.35 seconds from create to its first screenshot at the median in our 22 November 2026 benchmark, handed over pre-booted; a large phone boots fresh in about 20 seconds. Boot time is free. See the [benchmarks](https://mobilebox.dev/benchmarks?via=md).

Can my agent test mobile web pages?

Yes. Install a mobile browser and open the page. Firefox, Brave and DuckDuckGo installed and opened on a Mobilebox phone in our 4 November 2026 app check.

Can it use apps on a phone for me?

That's a [phone agent](https://mobilebox.dev/phone-agent?via=md): your agent operates apps on the phone the way you would. Keep it to your own app or your own accounts: [app automation](https://mobilebox.dev/app-automation?via=md).

What does it cost?

$0.01 per ready phone-minute, billed per second with a one-minute minimum. Boot time and parked phones are free. Google Play, SMS and a public ADB or shell are not included. See [pricing](https://mobilebox.dev/pricing?via=md).

## Read more

[Cloud Android phones for AI agents, compared Mobilebox, Mobilerun, Limrun, phonebox.dev, Clousd and Ramus side by side: phone type, MCP endpoint, sign-in, published price and what a stopped phone keeps. Comparisons5 min read](https://mobilebox.dev/blog/cloud-android-for-ai-agents-compared?via=md) [Android, E2B, Browserbase: which sandbox fits? Is there an E2B-style sandbox for Android apps? Yes: compare Linux, browser and Android sandboxes, and plain APIs, by the surface your agent controls and the state each keeps. Comparisons4 min read](https://mobilebox.dev/blog/android-vs-agent-sandboxes?via=md) [Agent sandboxes compared: start time and price Code and browser sandboxes start in about a second or less, cloud Android phones in 1 to 23 seconds. Published and measured start times with per-minute prices. Comparisons4 min read](https://mobilebox.dev/blog/agent-sandbox-start-times?via=md) [Test your app on a bad network with an AI agent Make a cloud Android phone slow, lossy or offline with one setting, and let your agent check retries, timeouts and offline screens: presets, custom values, and what we measured on production, from ping times to the Wikipedia app’s searches on 2g and offline. Guides5 min read](https://mobilebox.dev/blog/test-app-bad-network-ai-agent?via=md) [Can my AI agent use an Android tablet in the cloud? Create a cloud Android phone with model tablet: a 1600×2560 screen at 800 dp, so apps load their tablet layouts. AnkiDroid on a tablet and a phone side by side, what changed, and a phone-vs-tablet test for your agent. Guides4 min read](https://mobilebox.dev/blog/android-tablet-cloud-ai-agent?via=md) [Why is my AI agent’s Android screenshot black? Password managers, 2FA, banking apps and private browsers set FLAG_SECURE, so screenshots come out black or empty. Seven apps that did it in our test, the 409 screen_protected answer, and how the agent keeps working with observe. Engineering4 min read](https://mobilebox.dev/blog/agent-screenshot-black-flag-secure?via=md)

## Try it in your agent in 60 seconds

Paste this into Claude Code, Cursor, Codex or any agent that can read a web page. It asks for your email, gets its own key at once and adds the phone tools; the 6-digit code from your inbox keeps the workspace.

```
Set up Mobilebox for me: read https://mobilebox.dev/setup.md?via=mobile-sandbox and follow it.
```

[What your agent reads](https://mobilebox.dev/setup.md?via=mobile-sandbox)

## Next questions

- [Can my agent run 50 phones in parallel?](https://mobilebox.dev/blog/run-android-phones-in-parallel?via=next-parallel)

- [Can my agent use an iPhone?](https://mobilebox.dev/ios?via=next-iphone)

- [Can each phone get a residential IP?](https://mobilebox.dev/blog/residential-ip-per-phone?via=next-residential-ip)

- [Does my agent stay logged in between runs?](https://mobilebox.dev/blog/park-resume-android?via=next-logins)

- [Can I watch my agent work live?](https://mobilebox.dev/live-view?via=next-live)

- [What does it cost for a team?](https://mobilebox.dev/blog/mobilebox-pricing-for-teams?via=next-team)

- [How fast do cloud phones start, measured?](https://mobilebox.dev/benchmarks?via=next-benchmarks)

- [Is there a Python package?](https://mobilebox.dev/blog/android-phone-for-python-ai-agent?via=next-python)
