# Maestro flows in the cloud, billed per minute.

Send your Maestro flow to a Mobilebox cloud Android phone with one API or MCP call and get pass or fail per step, the screenshots, Maestro’s log and a screen recording, with no CLI, emulator or ADB on your side. You pay only the phone’s minutes, $0.01 a minute, billed per second.

[Run a flow](https://mobilebox.dev/signup?device=android_cloud&amp;via=need-maestro-cloud&via=md) [Maestro guide](https://mobilebox.dev/docs/maestro?via=md)

Sign up with GitHub, Google or email. New workspaces get free credit, no card.

## Your flow, a phone, a result.

This run searches Wikipedia for the Matterhorn and checks the article mentions the Alps, as in our verifier’s Maestro scenario on Android 14.

[The whole flow and the response](https://mobilebox.dev/docs/maestro?via=md)

```
# A phone, the app, the flow, the result
auth=(-H "Authorization: Bearer $MOBILESANDBOX_API_KEY")
phone=$(curl -s "${auth[@]}" -H 'content-type: application/json' -d '{"name":"maestro"}' "https://mobilebox.dev/v1/phones?wait=ready" | jq -r .id)
curl -s "${auth[@]}" -H 'content-type: application/json' \
  -d '{"url":"https://f-droid.org/repo/org.wikipedia_50614.apk"}' "https://mobilebox.dev/v1/phones/$phone/apps"
run=$(curl -s "${auth[@]}" -H 'content-type: text/yaml' --data-binary @wikipedia.yaml "https://mobilebox.dev/v1/phones/$phone/maestro" | jq -r .id)
curl -s "${auth[@]}" "https://mobilebox.dev/v1/phones/$phone/maestro/$run?wait=done" | jq '{status, steps}'
```

## What a run gives you

From the [Maestro guide](https://mobilebox.dev/docs/maestro?via=md).

| You send | You get back |
| --- | --- |
| A YAML flow, up to 256 KB | Every step in order with passed, failed or skipped, its time and Maestro’s error on a failed step |
| A zip of a flows folder, up to 20 MB | Scripts, sub-flows and config.yaml run beside the flow, as in a local maestro test . |
| takeScreenshot steps | The PNGs, plus Maestro’s own screenshot of a failed step |
| Any run | Maestro’s log and a screen recording of the first 180 s; publish_proof turns it into a pull-request comment |
| Cost | Only the phone’s minutes, $0.01 a minute; a full server answers 503 box_full with retry_after and charges nothing |

## Questions

Maestro on cloud phones.

Can I run Maestro flows in the cloud?

Yes. Send the flow to a Mobilebox cloud Android phone with `POST /v1/phones/{id}/maestro` (or `run_maestro_flow` over MCP) and get pass or fail per step, screenshots, the log and a recording. You pay only the phone’s minutes, $0.01 a minute.

Do I install the Maestro CLI or an emulator?

No. The run happens beside the phone in its own sandbox; you send YAML or a zip over HTTPS, from your laptop, CI or an agent.

Can my AI agent fix a failing flow?

Yes. The agent keeps the same phone between runs: it reads the screen at the failed step, fixes the flow or the app, and runs the flow again with `run_maestro_flow`.

How long can a run take?

30 to 1,800 seconds, 600 by default (`timeout_s`). A run keeps its phone from idling out; parking or deleting the phone stops it.

Can I run flows on every pull request?

Yes. Call the API from any CI job and post the result with `publish_proof`: steps, screenshots, time and cost as a PR comment. See [proof in every pull request](https://mobilebox.dev/blog/screenshots-in-every-pull-request?via=md).

And iPhone?

Your agent drives an iPhone simulator with `observe` and `act` on the same API; a Maestro run on an iPhone is counted toward bringing Maestro to iOS. See [iPhone and iPad](https://mobilebox.dev/ios?via=md).

## Read more

[Turn an AI agent’s app test into a replayable Maestro flow Let the agent explore the app, write its path as a Maestro flow and replay it on the same cloud Android phone with run_maestro_flow: 14 steps passed in 67 s in our 27 Nov 2026 run, $0.03 of phone time. What to tell the agent, and the CI call. Guides4 min read](https://mobilebox.dev/blog/agent-run-to-maestro-flow?via=md) [Maestro MCP vs mobile-mcp vs Appium MCP vs cloud phones Three free local MCP servers for mobile testing and a hosted cloud phone, side by side: what each needs installed, which devices, how the agent sees the screen, and what its work turns into. Comparisons6 min read](https://mobilebox.dev/blog/maestro-mcp-vs-mobile-mcp-vs-appium-mcp?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=maestro-cloud and follow it.
```

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

## Next questions

- [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)

- [Does my agent need a real device?](https://mobilebox.dev/blog/real-android-devices-vs-cloud-phones?via=next-real-device)

- [Can my agent automate tasks in my apps?](https://mobilebox.dev/app-automation?via=next-automation)

- [What replaces Firebase Test Lab?](https://mobilebox.dev/blog/mobilebox-vs-firebase-test-lab?via=next-firebase)

- [Mobilebox or BrowserStack?](https://mobilebox.dev/blog/mobilebox-vs-browserstack?via=next-browserstack)

- [Cloud phone or a local emulator?](https://mobilebox.dev/blog/mobilebox-vs-local-emulator?via=next-emulator)
