# phonedriver vs Maestro and Maestro MCP

> Maestro is an open-source YAML mobile UI testing framework with a built-in MCP server. phonedriver is built for AI agents exploring apps live on real phones and saving zero-model replay runs.

Web page: https://phonedriver.dev/compare/maestro/

## The short answer

**Maestro** (by Mobile.dev) is a widely adopted open-source mobile testing framework built around declarative YAML flows, with an MCP server (`maestro mcp`) built into its CLI so AI coding agents can inspect hierarchies and author or fix YAML tests. If your team wants checked-in YAML test suites, web testing, or managed cloud execution on Maestro Cloud, **use Maestro**.

**phonedriver** is built for an AI agent operating a phone live: short `@eN` text snapshots, automatic visual settling with line-by-line diffs after every tap, native physical iPhone support (from macOS or Windows), multi-agent hidden screens on Android 13+, and an approval guard before taps that spend money. Once an agent finishes a flow, `phonedriver save` and `replay` freeze it into a zero-model CI check without writing YAML by hand.

## Side by side

| | phonedriver | Maestro & Maestro MCP |
|---|---|---|
| Built for | Live AI agents operating Android and iOS screens, plus zero-model replay | Declarative YAML E2E test suites, plus `maestro mcp` for agent-assisted authoring |
| Platforms | Android phones and emulators, iOS Simulator, physical iPhones and iPads | Android phones and emulators, iOS Simulator, web (its docs and GitHub README) |
| Physical iPhones locally | Yes, from macOS with Xcode or from Windows with a free Apple ID ([iPhone guide](/docs/iphone/)) | Limited locally; Maestro MCP targets the iOS Simulator, while physical iOS runs typically use cloud device farms |
| How the agent works | Calls 19 MCP tools (`snapshot`, `tap`, `type`, `batch`, etc.) and gets settled `+`/`-`/`~` diffs | Inspects view hierarchies and writes, runs, or repairs YAML flow files via `maestro mcp` |
| CI & test format | `phonedriver save` writes `.steps` files replayed with no model via [GitHub Actions](/docs/replay-in-ci/) | Human-readable YAML flows run with `maestro test` locally or on Maestro Cloud |
| Approval before paying | Built-in via MCP elicitation ([approval guard](/docs/approval-guard/)) | Not built in |
| Several agents on one phone | Yes on Android 13+: hidden virtual displays (`emulator-5554+a`, `+b`) | Parallel scaling is handled across multiple emulators or Maestro Cloud |
| Requirements | Single Rust binary (`npx -y phonedriver`), adb for Android, Xcode for iOS Simulator | Maestro CLI and Java (`JAVA_HOME` required for `maestro mcp`) |
| Telemetry | None ([verified by sandbox test](/docs/no-telemetry/)) | Check Maestro's current CLI docs; Maestro Cloud is a hosted commercial service |
| License | AGPL-3.0-only | Apache-2.0 (core CLI and MCP server); commercial pricing for Maestro Cloud |

Sources checked on 29 November 2026: [mobile-dev-inc/Maestro](https://github.com/mobile-dev-inc/Maestro) and [Maestro MCP docs](https://docs.maestro.dev/getting-started/maestro-mcp).

## Where Maestro wins

- **Readable, reviewable YAML suites.** If engineers review and maintain E2E tests in Git pull requests, Maestro's YAML format and ecosystem are purpose-built for that workflow.
- **Web and cloud execution.** Maestro covers web flows and pairs directly with Maestro Cloud for parallel CI runs without managing local emulators.
- **Permissive license and maturity.** Maestro core is Apache-2.0 with a large QA community, tutorials, and CI integrations.

## Where phonedriver wins

- **Real iPhones and iPads locally.** phonedriver drives physical iPhones over USB or Wi-Fi from a Mac or from Windows, using the same commands as the Simulator.
- **Token-frugal live exploration.** Every tap waits for the screen to settle and returns only the lines that changed, rather than re-dumping the whole hierarchy.
- **Safety on real phones.** Payment and account-deletion taps pause for your confirmation in MCP, secrets typed with `--secret` never hit logs or saved `.steps` files, and `PHONEDRIVER_APP_SCOPE` keeps an agent inside one app.
- **Zero Java runtime on the host.** One Rust binary via `npx -y phonedriver init`, with no `JAVA_HOME` configuration.

## What I have not measured

I have **not** benchmarked `maestro mcp` against phonedriver on speed, token usage, or the nine real phone jobs yet, so this page compares architecture, platform coverage, and workflow only. If you want a head-to-head run on a specific benchmark, [open an issue](https://github.com/hridaya423/phonedriver/issues).

### How we compared
- **Author & disclosure:** Written by the author of phonedriver. No affiliate links or sponsorships.
- **Sources & date:** Public Maestro GitHub repository and Maestro MCP documentation checked on 29 November 2026; phonedriver `0.1.8`.
- **Scope:** Architecture and capability comparison only; no speed or token benchmarks have been run against Maestro yet.

## Use which

Choose **Maestro** if your main goal is a team-maintained YAML test suite across Android, iOS Simulator, and web, or hosted parallel runs on Maestro Cloud. Choose **phonedriver** if you want an AI agent like [Claude Code](/docs/claude-code/) or [Codex](/docs/codex/) to explore and control real Android phones and iPhones live with low token usage, payment approvals, and one-command replay in [GitHub Actions](/docs/replay-in-ci/).

## Questions

### Is phonedriver a Maestro alternative?

For letting an AI agent drive a phone live and turn a working run into a zero-model CI replay check, yes. For teams writing and maintaining declarative YAML test suites by hand across mobile and web, Maestro is built specifically for that job.

### Does Maestro MCP work on a physical iPhone?

Standard open-source Maestro and `maestro mcp` target iOS Simulators rather than local physical iPhones, with physical iOS testing usually routed through cloud device farms. phonedriver drives local physical iPhones and iPads over USB or Wi-Fi from macOS or Windows.

### Does phonedriver require YAML to run tests in CI?

No. After an agent walks a flow that works, `phonedriver save flow.steps` records the steps automatically, and `phonedriver replay flow.steps` runs them again with no model in [GitHub Actions](/docs/replay-in-ci/).
