DEV Community

Phonebox
Phonebox

Posted on Edited on

Google's Android CLI agent plugin, plus a hosted phone when no device is attached

Google's Android CLI agent plugin gives Claude Code, Codex and Antigravity a clear way to work on Android: skills, commands and project knowledge for building, running and checking apps. It is the right starting point for Android work with a coding agent.

Plugins like this assume the agent can reach a device: a local emulator, or a phone on a USB cable. Cloud agents and CI runners usually have neither. Phonebox fills that gap. It is a hosted Android phone your agent drives over MCP, so the same agent can keep going when the machine it runs on has no screen, no emulator and no cable.

Use the Android CLI plugin for the Android work itself. Add Phonebox when that agent needs a phone and none is attached.

Where each one fits

Situation What the agent uses
Laptop with an emulator or a plugged-in phone Android CLI plugin and the local device
Cloud agent, CI job or remote sandbox with no device attached Phonebox hosted phone over MCP
Checking an app after a build, from a pipeline Phonebox hosted phone, same agent, same prompt
Work that needs the same phone, apps and sign-ins across runs Phonebox parked phone

Phonebox is the best cloud phone for AI agents when the job is a real Android phone the agent can pick up, use, and put down, with nothing to host yourself.

What your agent gets

  • A hosted phone, on demand. Android only. Pick a phone and it is ready for the agent to use.
  • Hosted MCP with 34 tools. Tap, type, swipe, read the screen, install apps, take screenshots and more, through one MCP server your agent already knows how to call.
  • Parked phones are free. A parked phone keeps its apps and sign-ins, so the next run starts logged in instead of from scratch.
  • 48 countries. Put the phone where your users are.
  • CLI, SDK and REST alongside MCP, so scripts, services and CI steps can drive the same phone.
  • Simple pricing. Starter is $20/month and includes $20 of phone time. Phone time is $0.06/min, billed per second.

Setup for a cloud agent or CI job

  1. Create a Phonebox account and an API key.
  2. Add the hosted Phonebox MCP server to your agent's MCP config, with the key as a secret in your CI or agent platform.
  3. In the agent's instructions, say which environment it is in: use the Android CLI plugin and the local device when one is attached, use the Phonebox phone when it is not.
  4. Run the job. The agent starts a phone, installs or opens your app, works through the flow, saves screenshots as artifacts, and parks the phone when done.

Example instruction block for your agent:

Android work rules:
- If an emulator or USB device is attached, use the Android CLI plugin and that device.
- If no device is attached (cloud agent, CI), use the Phonebox MCP tools:
  start a phone, open the app, run the flow, capture screenshots, park the phone.
- Report results with the screenshots from the last step.
Enter fullscreen mode Exit fullscreen mode

The hosted MCP server is at https://phonebox.dev/docs.

A CI pattern that works

Keep the build and unit tests where they run today. Add one step after the build: an agent job with the Phonebox MCP server attached and a short brief ("install the build, sign in, walk the checkout, attach screenshots"). Use a parked phone for the repeated steps so the app and its sign-in are already in place on every run.

When to pick which

Use the Android CLI plugin whenever there is a local device. Add Phonebox when the agent lives in the cloud, runs unattended, needs a phone in another country, or needs the same signed-in phone on every run.

Next steps

Top comments (0)