naïve
← Blog
GuideDevelopersNovember 26, 2026·13 min read

Android Emulator for AI Agents: A Cloud Phone Your Agent Drives, No Local Setup

An Android emulator for AI agents without the SDK or AVD: a cloud Android phone or iPhone your agent taps through while you watch. $0.05/min Android, $0.08 iPhone.

Guide/mobile

TL;DR

  • Yes, an AI agent can use a phone. A Naive mobile sandbox is a cloud Android phone (13, 14 or 15) or iPhone that the agent drives by taking screenshots and tapping, typing and scrolling, the way a person does.
  • Start one with naive.mobileDevices.create({ name: 'qa', platform: 'android' }) or naive mobile create --name qa --platform android. It is usually ready in about a minute; an iPhone can take up to three.
  • Apps install from a hosted app store by id (com.spotify.music on Android, a bundle id on iPhone), with no store account. You cannot upload your own build yet.
  • Android costs $0.05 a minute and an iPhone $0.08, network included, billed in whole minutes when the phone ends. It ends itself after 10 idle minutes by default, and cloud phones need the first $10 top-up.
  • Pair the phone with the agent's own inbox and number to QA a sign-up flow end to end, and watch the screen live from the dashboard.

Tools used in this post

Yes, there is an Android emulator for AI agents that needs no local setup: a cloud mobile sandbox the agent drives by looking at screenshots and tapping, typing and scrolling, like a person. There is no Android SDK, no AVD image and no 4 GB of RAM on your laptop. On Naive you start one with a single API call, install an app from a hosted store by its package name, and watch the screen live while the agent works. Android costs $0.05 a minute and an iPhone $0.08 (prices as of November 2026), and the phone ends itself after 10 idle minutes by default.

Definitions: Naive is a developer platform that gives AI agents real-world resources (a computer, a browser, a phone, an inbox, a phone number) through one API, SDK, CLI and MCP server. A mobile sandbox is a disposable cloud phone, a mobile_device on the wire with an id that starts mob_. An action is one thing done to the screen: screenshot, tap, type, scroll and so on. An identity is who your agent is to the outside world; its inbox and phone number hang off it.

This guide shows how to start an Android phone or iPhone, install and drive an app in plain language or from code, watch it live, run a sign-up QA test with the agent's own inbox, and what each run costs.

What is a mobile sandbox for AI agents, and can an agent use a phone?

Yes. Some work only happens on a phone: a mobile build needs a smoke test before release, a supplier's app has no web version, or a crash report says "Android 13 only" and nobody has that phone. An agent with a browser cannot reach any of these. An agent with a cloud phone can.

The loop is the one a person uses. The agent takes a screenshot, reads it, decides where to tap, acts, and takes the next screenshot to see what happened. Screenshot pixels map one to one onto tap coordinates, so "tap the blue button" needs no scaling math. On Android the agent can also read the UI tree and tap an element by its visible text, id or accessibility label, which holds up better than a fixed point when a layout shifts.

AndroidiPhone
platformandroid (the default)ios
VersionsAndroid 13, 14 or 15 (default 15)None to choose
Ready inAbout a minuteAbout a minute, up to three
Tap by element textYes, via the UI treeNo: tap by point from a screenshot
AppsPackage names, e.g. com.spotify.musicApp Store bundle ids, e.g. com.burbn.instagram
Price$0.05 per minute$0.08 per minute

Each phone runs in a jurisdiction you choose (us, eu or as, US by default), and its traffic leaves from a residential IP in that country (the United States, Germany or Singapore) with GPS, timezone, locale and carrier set to match. An app that checks where it is sees one consistent answer.

Cloud phone vs a local Android emulator: which should an agent use?

A local emulator works well for one developer at a desk. It is a poor fit for an agent that runs in the cloud, runs many sessions at once, or has to be watched by someone else.

Local emulator (SDK + AVD)Emulator in your own containerDevice farm for test suitesNaive mobile sandbox
SetupSDK, system image, about 4 GB RAM per phoneImage, hardware virtualization on the hostAccount, test framework, uploaded buildOne API call
iPhoneNo (needs a Mac and a simulator)NoYesYes, platform: "ios"
Agent accessYour own ADB glueYour own ADB glueFramework scriptsSDK, CLI, REST and MCP
Watch liveOn your screen onlyExtra toolingRecordingsDashboard live stream
Install appsYour own buildYour own buildYour own buildHosted store by id; no uploads yet
CostYour hardwareYour serversPlans or per-minute$0.05/min Android, $0.08/min iPhone

Keep a local emulator or a device farm when you test your own unreleased build. Use a cloud phone when an agent needs a phone on demand, with no machine to look after.

How do I start an Android phone or iPhone?

Cloud phones need the first $10 top-up, and a create is accepted when the balance covers 10 minutes for every running phone plus the new one. Then it is one call.

With the SDK (npm i @usenaive-sdk/naive):

import { createNaive } from "@usenaive-sdk/naive";
 
const naive = createNaive(); // reads NAIVE_API_KEY
 
let phone = await naive.mobileDevices.create({ name: "qa", platform: "android" });
while (phone.status === "creating") {
  await new Promise((r) => setTimeout(r, 5000)); // usually about a minute
  phone = await naive.mobileDevices.get(phone.id);
}
if (phone.status !== "ready") throw new Error(phone.error ?? phone.status);
console.log(phone.id, phone.status); // mob_..., ready

create answers 202 with the phone in creating. If the start fails, the status is failed with a reason in error, and a failed start bills nothing.

With the CLI (npm i -g @usenaive-sdk/cli):

naive mobile create --name qa --platform android
naive mobile show mob_...

For an iPhone, pass platform: "ios" (--platform ios). For a specific Android version, pass os_version: "13" (--os-version 13). To place the phone in Germany, add jurisdiction: "eu". The timers go on the same call: idle_timeout_minutes and max_duration_minutes (--idle-timeout-minutes, --max-duration-minutes).

From Claude or ChatGPT, add the remote MCP server and ask in plain language:

https://mcp.usenaive.ai/v1/mcp

In Claude Code:

claude mcp add --transport http naive https://mcp.usenaive.ai/v1/mcp

Then: "start an Android phone, install my app from the store and screenshot the sign-up screen". The model finds the mobile actions in the catalog and runs them.

How do I install and drive an app in plain language?

Name the app by its id. On Android that is the package name from the Play Store URL (id=…). On an iPhone it is the App Store bundle id. List up to 10 ids in apps when you create the phone, or install onto a running phone:

await naive.mobileDevices.act(phone.id, { type: "install_app", app: "com.spotify.music" });
naive mobile install mob_... com.spotify.music

The answer is installed, failed with a reason, or installing for a large app still on its way; call it again with the same app to check. No store account is needed. Before installing, an agent can confirm the package exists and check its rating and installs with the Google Play tool play.app ($0.00015 per call, takes the package name), or look up an iPhone app's listing with the App Store tools.

Then the agent drives it. Every interaction is one action sent to the device's act route:

ActionWhat it doesAndroidiPhone
screenshotReturns the screen as a JPEGYesYes
element_treeReturns the named elements with their boundsYesMostly no
tapTaps a point, or an element by text, id or labelPoint or elementPoint
typeTypes into the focused fieldYesYes
press_keyHome, Enter; Back and Recents on AndroidYesHome, Enter
scrollScrolls up, down, left or rightYesYes
open_urlOpens a URL or deep linkYesNo: tap instead
launch_appOpens an installed app by package nameYesNo: tap instead
install_appInstalls from the hosted storeYesYes

A short scripted flow on Android:

const look = await naive.mobileDevices.act(phone.id, { type: "screenshot" });
// look.image.data is the screen as base64; hand it to your model
 
await naive.mobileDevices.act(phone.id, { type: "launch_app", package: "com.spotify.music" });
await naive.mobileDevices.act(phone.id, { type: "tap", selector: { text: "Sign up free" } });
await naive.mobileDevices.act(phone.id, { type: "type", text: "qa-run-42" });
await naive.mobileDevices.act(phone.id, { type: "scroll", direction: "down" });
naive mobile screenshot mob_... --out shot.jpg
naive mobile act mob_... --type tap --text "Sign up free"
naive mobile act mob_... --type type --text "qa-run-42"
naive mobile act mob_... --type scroll --direction down

"Plain language" means you do not write that script. An agent on the default harness has a built-in mobile tool: it opens a phone on first use, sees each screenshot, installs an app when a task needs one, and asks for approval before its first call. You give it the goal ("sign up for the app and tell me which screen asks for a phone number") and it plans the taps. The same holds for Claude or ChatGPT over MCP.

Can I watch the agent use the phone live?

Yes. In the dashboard, under Computers → Mobile, every device has a page with its screen, the hardware keys and controls to type, scroll and open a URL. A Live toggle swaps the screenshot for a realtime stream of the screen at the same size. You can watch a test run, step in to dismiss a dialog the agent did not expect, and hand control back. A phone an agent opens also shows in the chat's Computer panel.

From code, naive.mobileDevices.liveView(phone.id) returns the device's dashboard link (naive mobile live-view mob_... in the CLI). The stream itself sits behind a credential that anyone holding it could use to drive the phone, so it is only given to a signed-in person on that page, never to an API key, and every opening is written to the audit log.

How can an AI agent test a mobile app's sign-up flow?

The hard part of testing a mobile sign-up is the verification step. A shared test mailbox fills up and leaks between runs, and using your own address is worse. Give the agent an identity with its own inbox instead, so every confirmation email lands where the agent can read it.

import { createNaive } from "@usenaive-sdk/naive";
 
const naive = createNaive();
 
// 1. Who the tester is: an identity with its own inbox
const tester = await naive.identities.create({ name: "signup-qa" });
const inbox = await naive.emails.create(tester.id, {});
 
// 2. A fresh phone with the app already installed
let phone = await naive.mobileDevices.create({
  name: "signup-qa",
  platform: "android",
  apps: ["com.example.yourapp"],
  idle_timeout_minutes: 5,
  max_duration_minutes: 20,
});
while (phone.status === "creating") {
  await new Promise((r) => setTimeout(r, 5000));
  phone = await naive.mobileDevices.get(phone.id);
}
if (phone.status !== "ready") throw new Error(phone.error ?? phone.status);
 
// 3. Drive the sign-up (or let your agent do it from screenshots)
await naive.mobileDevices.act(phone.id, { type: "launch_app", package: "com.example.yourapp" });
await naive.mobileDevices.act(phone.id, { type: "tap", selector: { text: "Create account" } });
await naive.mobileDevices.act(phone.id, { type: "type", text: inbox.address });
await naive.mobileDevices.act(phone.id, { type: "tap", selector: { text: "Continue" } });
 
// 4. Wait for the confirmation email (every 5 s, up to about 60 s)
let mail = await naive.emails.messages(tester.id, { channel: "email", limit: 5 });
for (let i = 0; i < 12 && mail.data.length === 0; i++) {
  await new Promise((r) => setTimeout(r, 5000));
  mail = await naive.emails.messages(tester.id, { channel: "email", limit: 5 });
}
const confirm = mail.data[0];
if (!confirm) throw new Error("no confirmation email arrived");
console.log(confirm.subject);
const code = confirm.text.match(/\b\d{6}\b/)?.[0]; // or a link: /https:\/\/\S+/
 
// 5. Evidence, then clean up
const proof = await naive.mobileDevices.act(phone.id, { type: "screenshot" });
await naive.mobileDevices.delete(phone.id);

Replace com.example.yourapp with your app's id; it has to be one the hosted store carries, and change the button text to match your screens. The email body is in text; the agent pulls the code or link from it, types or opens it, and takes a final screenshot as evidence. If your sign-up asks for a phone number, add a phone number to the same identity; texts reach it from the moment it is bought (see Give your AI agent a phone number). For more on the inbox side, read Give your AI agent an email inbox.

Use this for accounts the agent legitimately owns: your own app, a staging environment, or a service whose terms allow automated testing. Do not use it to get around another service's sign-up rules.

What does a test run cost?

There is no creation fee and no pause. A phone is billed from create to end, rounded up to whole minutes with a one-minute minimum, as one mobile line on your ledger when it ends. Actions and app installs cost nothing beyond the minutes they run in, and a phone that fails to start bills nothing.

RunAndroid ($0.05/min)iPhone ($0.08/min)
Smoke test, 3 minutes$0.15$0.24
Sign-up QA, 6 minutes$0.30$0.48
Exploratory session, 30 minutes$1.50$2.40
Forgotten phone, ends at the 10-minute idle timerMinutes used plus up to 10Minutes used plus up to 10
One hour$3.00$4.80

The network is included: $0.02 of each minute is the phone's residential connection. An inbox is included with an identity, and the identity is free. Phone minutes bill the organization's balance directly; they are not held against an agent's or a session's budget cap, so the timers and the funded-balance check are what bound them.

Verified run

We ran the package check against production on 2026-11-26 to show real numbers. No phone was created.

CallInputResultTimeCost
play.apppackage: com.duolingoListing for com.duolingo returned6.5 s$0.00015

What are the limits?

  • Phones only, in the cloud. Android 13 to 15 and iPhones. No tablets or watches, and nothing that depends on one handset's hardware.
  • No uploads yet. Apps come from the hosted store by id. You cannot install your own APK or IPA, and the store carries many but not all apps. An app it lacks fails within a second or two.
  • iPhones are point-and-tap. Most return no element tree, and open_url, launch_app and the Back key are not available there.
  • One driver at a time. Actions on one device run one after another, so have one script, agent or person drive it.
  • Timers, not pause. Idle timeout 1 to 180 minutes (default 10); maximum lifetime 1 to 1440 minutes (default 120, and 60 for a phone an agent opens).
  • Approvals. An agent's built-in mobile tool asks before its first call. open_url is not bound by a browser's allowed domains, so keep the tool on "ask" for an agent whose web reach you narrowed.

When should you not use a cloud phone for an agent?

  • You run thousands of deterministic UI tests on every commit. Keep your existing device farm and test framework. A cloud phone an agent looks at is best for exploratory runs, flows that change often, and checks that are hard to script.
  • You need your own unreleased build on the device. There is no upload route yet.
  • You need hardware behavior: a specific camera, sensor, radio or battery profile.
  • The task has a web or API version. A browser or a data tool is faster and cheaper than driving a phone screen.
  • You want to automate someone else's accounts or evade a service's rules. Use phones for apps and accounts the agent legitimately owns or you are allowed to test.

How do I start a cloud phone for my agent?

The phone is one resource on the Mobile sandbox page, which lists every action and price, beside the Mobile primitive. The launch post covers how the sandbox fits next to the Linux computer and browser, and the mobile docs, SDK reference and CLI reference have every field. For the whole platform, see Naive for developers.

  • Get a key: developers.usenaive.ai/signup. Phones open after your first $10 top-up (about 3 hours of Android).
  • Hand your agent: set up https://usenaive.ai/developers/skill.md

Then give your agent a phone.

FAQ

Is there an Android emulator for AI agents?
Yes. A Naive mobile sandbox is a cloud Android phone (Android 13, 14 or 15) or iPhone that an agent drives through an API: it takes a screenshot, decides where to tap, and acts. Claude and ChatGPT reach it through the MCP server at https://mcp.usenaive.ai/v1/mcp, and code reaches it through the SDK, CLI or REST.
Is it an emulator or a real device?
It does an emulator's job without running one on your machine: a standard cloud Android or iPhone you pick by platform and OS version, not a specific handset model you choose. Use it to test a build, drive an app with no web version, or reproduce a bug on Android 13, 14 or 15. Do not use it for one handset's hardware, such as its camera, sensors or radio. There are no tablets or watches yet.
Can I get a cloud iPhone for my agent?
Yes. Create the device with platform set to ios. It costs $0.08 a minute and is usually ready in about a minute, up to three. Most iPhones return no element tree, so the agent taps by point from a screenshot, and there is no Back key.
How much does a cloud phone cost per test run?
Android is $0.05 a minute and iPhone $0.08 a minute, network included, rounded up to whole minutes with a one-minute minimum and billed once when the phone ends. A 6-minute Android sign-up test costs $0.30. Actions and app installs are free beyond the minutes they run in.
Can I install my own APK or IPA?
Not yet. Apps come from a hosted app store by id: a package name on Android or an App Store bundle id on iPhone, at create or with install_app on a running phone. The store carries many but not all apps, and there is no upload route.
What stops a forgotten phone from running up a bill?
Two timers set at create: an idle timeout (10 minutes by default, 1 to 180) and a maximum lifetime (120 minutes by default, 1 to 1440; 60 for a phone an agent opens). A phone is also ended if the balance no longer covers it.