# phonedriver vs agent-device

> Two CLIs with an MCP server that let an AI agent read and use a phone screen as text. On simulator-use's benchmark phonedriver's replies were shorter and its tool list 15 times smaller; agent-device reads about as fast, starts faster, and covers TVs, web, desktop and cloud devices, which phonedriver does not.

Web page: https://phonedriver.dev/compare/agent-device/

## The short answer

**On one iOS Simulator benchmark on 17 November 2026, phonedriver's replies were two to four times shorter than agent-device's, and its actions were faster.** A read took 29 ms and 59 tokens against 33 ms and 125 tokens. The step-by-step sign-in took 1.75 s and 173 tokens against 5.67 s and 762 tokens. agent-device's first call was faster: 1.39 s against 4.95 s. Every step of both tools passed.

The two tools are built the same way: a CLI and an MCP server over one runtime, refs like `@e2` from the accessibility tree, and an answer after each action that lists what changed. agent-device, by Callstack, reaches more places: TVs, web, macOS and Linux desktop apps, HarmonyOS and cloud device providers, with a typed Node.js API. phonedriver is smaller and does phones.

## Side by side

| | phonedriver | agent-device |
|---|---|---|
| Targets | Android phones and emulators, the iOS Simulator, iPhones and iPads | iOS, Android, HarmonyOS, TV, web, macOS and Linux apps; local or cloud devices (its README) |
| Ways in | CLI and MCP server | CLI, MCP server and a typed Node.js API (its README) |
| How it reads the screen | Pruned text tree with `@eN` refs; OCR when the tree is empty | Accessibility snapshots with refs and selectors (its README) |
| Reply after an action | The lines that changed, after the screen settles | With `--settle`, a diff of what changed (its README) |
| Replay | `save` and `replay` with no model; a GitHub Action replays on every commit | `.ad` scripts for local runs and CI; export to Maestro YAML (its README) |
| Profiling and debugging | App logs and the last crash on Android | Logs, network data, traces, performance samples, crash details, React Native render profiles (its README) |
| Several agents on one phone | Yes on Android 13+: each agent gets a hidden screen of its own | Sessions and device ownership (its README); I have not tested it with several agents on one device |
| Approval before spending money | Yes, through MCP elicitation | Not documented |
| MCP tools | 17, 1,849 tokens (in the benchmark, 0.1.5; 19 since 0.1.8) | 63, 27,918 tokens (in the benchmark, 0.21.39) |
| Telemetry | None | Its README does not mention any. I have not checked what it sends |
| Install | `npx -y phonedriver init`, or `claude mcp add phonedriver -- npx -y phonedriver mcp` ([install](/docs/install/)) | `npm install -g agent-device@latest`, Node.js 22.12 or newer (its README) |
| License | AGPL-3.0-only | MIT |
| Adoption | New: first released on 10 November 2026 | About 5.5k GitHub stars, checked on 2026-11-28; it powers the mobile automation of e2e and T3 Code (its README) |

I read its README and `package.json` on 2026-11-28. The repository is [callstack/agent-device](https://github.com/callstack/agent-device).

## Measured

Median time, then median tokens of the replies. The benchmark is simulator-use's own: its harness, its demo app, its five steps on the app's sign-in screen and its scoring script. phonedriver 0.1.5 against agent-device 0.21.39, each through its own MCP server, on a Mac mini (Apple M4, 16 GB) with an iPhone 17 Simulator on iOS 26.5, 17 November 2026. Source: [simulator-2026-11-17](https://github.com/hridaya423/phonedriver/blob/main/docs/bench/simulator.md), and the charts are on the [benchmarks page](/benchmarks/#simulator).

| Step | phonedriver | agent-device |
|---|---|---|
| Read the sign-in screen | 29 ms, 59 tokens | 33 ms, 125 tokens |
| Tap Sign In | 316 ms, 20 tokens | 872 ms, 38 tokens |
| Type an email | 848 ms, 13 tokens | 2.43 s, 47 tokens |
| Sign-in, step by step | 1.75 s, 173 tokens | 5.67 s, 762 tokens |
| Sign-in, one batch | 1.78 s, 177 tokens | 4.78 s, 546 tokens |
| Tool list | 17 tools, 1,849 tokens | 63 tools, 27,918 tokens |
| First call | 4.95 s | 1.39 s |

Three things about these numbers:

- **The read is close.** 29 ms against 33 ms is within what one run on one machine can tell apart. The difference is in the replies after an action and in the tool list.
- **The tool list stays in the agent's context for the whole session.** 63 tools cover agent-device's targets, evidence and profiling; an agent that only taps and types carries 26,000 more tokens for them. agent-device's README says when to prefer its plain CLI over MCP, which avoids that cost.
- **The harness's adapter had to be changed.** With simulator-use's agent-device adapter as published, every tap and type failed with "target was removed; pass the UI target at the top level". The run passes the selector at the top level, the form agent-device 0.21.38 and later take.

Tokens are the replies' characters divided by 4, the harness's count when no API key is set.

## What agent-device has that phonedriver does not

From its README, read on 2026-11-28:

- **More targets**: TV, web (through Vercel's agent-browser), macOS and Linux apps, HarmonyOS and Vega OS (a subset of commands), and cloud device providers.
- **A typed Node.js API** for building an agent or a QA product on the same runtime, with AI SDK and Eve guides.
- **Evidence and profiling**: video, logs, traces, network data, performance samples, crash details and React Native render profiles.
- **Maestro export**: a saved run can be written as strict Maestro YAML.
- **A company and users behind it**: Callstack, about 5.5k stars, used by e2e and T3 Code.

## What phonedriver does differently

- **Shorter replies and a shorter tool list**, measured above.
- **Several agents on one Android phone**, each on a hidden screen of its own, while the phone's own screen stays free. See [several agents on one phone](/docs/android-phone/#several-agents-on-one-phone).
- **The approval guard.** phonedriver asks the human before a tap that spends money or deletes an account. See [the guard](/docs/approval-guard/).
- **No telemetry**, with a test that fails if the process opens a socket to anything but the device. See [no telemetry](/docs/no-telemetry/).
- **Setup for every agent at once.** `npx -y phonedriver init` adds the server to Claude Code, Codex, Cursor, VS Code and Gemini CLI where it finds them, then checks the devices.

## What I have not measured

- This is one run on one Mac, with 10 or 20 samples a step. The medians describe this run and are not rates.
- The app, the steps and the scoring come from simulator-use, a third tool, on one SwiftUI sign-in screen.
- I have not compared the two on Android, on a real phone, or with agent-device's plain CLI instead of its MCP server.
- I have not run an agent on whole jobs with agent-device, so I have no pass rates or job token totals.
- The run used agent-device 0.21.39. It releases often and may have changed since.

If you maintain agent-device and think it was set up wrong, open an issue and I will rerun it.

## Use which

Choose agent-device if you want one tool for phones, TVs, web and desktop apps, a Node.js API to build on, React Native profiling, or Maestro export. Choose phonedriver if the agent's job is to read and use a phone screen with few tokens, if several agents share one Android phone, if you want the approval prompt before it spends money, or if you want no telemetry.

## Questions

### Is phonedriver an agent-device alternative?

For an agent that reads and uses Android and iOS screens, yes. For TVs, web, desktop apps, cloud devices or a Node.js API, no: phonedriver has none of those.

### How many tokens does agent-device use compared with phonedriver?

On simulator-use's benchmark on 17 November 2026, a read was 125 tokens for agent-device and 59 for phonedriver, and the step-by-step sign-in was 762 against 173. The MCP tool lists were 27,918 tokens for 63 tools and 1,849 for 17. It was one run on one sign-in screen.

### Who makes agent-device?

Callstack. The repository is [callstack/agent-device](https://github.com/callstack/agent-device), under the MIT license.
