# Let your AI agent use Android apps for you: tested recipes

Recipes from real runs: an AI agent installs an open-source Android app on a cloud phone and does a task in it, with the calls, screenshots, failures, time and cost of each run, which apps you may automate, and the prompt pattern.

By [Mustafa Yenler](https://mobilebox.dev/about?via=md#mustafa) [LinkedIn](https://www.linkedin.com/in/mustafa-yenler) Updated 22 November 2026

Guides5 min read

In this article

Your AI agent can use Android apps for you on a Mobilebox phone: it installs the app, reads the screen, taps and types through the task and tells you what it found. Each recipe below is a run we did on November 22, 2026 on a cloud Android 14 phone, with the calls the agent made, screenshots, what went wrong, and what it cost at $0.01 a minute.

Every recipe uses an open-source app from F-Droid, so you can repeat it with no account and no app store.

## Tested recipes

| Recipe | App | Tested | act calls (missed) | Billed time | Cost |
| --- | --- | --- | --- | --- | --- |
| Look up a fact | Wikipedia | Nov 22, 2026 | 9 (3) | 113 s | $0.02 |
| Fill in a web form | Firefox (Fennec) | Nov 22, 2026 | 10 (2) | 86 s | $0.014 |
| Create an appointment | Fossify Calendar | Nov 22, 2026 | 13 (1) | 89 s | $0.015 |
| Add a loyalty card | Catima | Nov 22, 2026 | 11 (0) | 79 s | $0.013 |
| Check a route time | Organic Maps | Nov 22, 2026 | 14 (2) | 146 s | $0.024 |

Each run used one fresh phone, deleted at the end. Billed time runs from the phone being ready to its deletion and includes the agent’s thinking between calls.

### What didn’t work

Open Food Facts 4.23.0, the food-label app, was next on our list: look up a product’s ingredients. It opens its live barcode scanner at start, and on our phone it stopped with a camera error before showing any other screen; closing and reopening it gave the same error. We left it out. Catima, by contrast, said it couldn’t reach the camera and offered to type the number in.

## Which apps you may automate

An app’s license or terms decide whether your agent may use it, not whether the agent can. Open-source licenses such as Apache 2.0, the GPL and the MPL let anyone run the program for any purpose; that’s why every recipe here uses one, and each page links its license.

Services are different: their terms of service bind your account, and many forbid bots, scripts or automated access. Read the terms before you point an agent at a messaging, social, dating, delivery, banking or travel-booking app such as WhatsApp, Instagram, TikTok or Booking.com; if they forbid automation, don’t. Our own [terms](https://mobilebox.dev/terms?via=md#use) rule out fake accounts, spam and getting around a platform’s protections, whatever the app.

## Connect your agent once

Add `https://mobilebox.dev/mcp` as a remote MCP server. Claude, ChatGPT, Cursor and Claude Code take it as a connector with no key: the client signs you in over MCP OAuth. Other clients send an API key in the `Authorization: Bearer` header; per-tool setup is on the [Android MCP server](https://mobilebox.dev/android-mcp-server?via=md) page, and the Claude and ChatGPT connector steps, with the calls a chat makes, are in [run an Android app from ChatGPT or Claude](https://mobilebox.dev/blog/android-app-in-chatgpt-claude?via=md). New workspaces get free credit.

The agent then has the phone tools. A recipe needs five of them: `create_phone`, `install_app`, `act` (up to 20 taps, typing, swipes and waits per call), `screenshot` and `delete_phone`. `act` and `create_phone` return the new screen as a numbered element list, so the agent reads what is there before it chooses the next step.

## The prompt pattern

Every recipe prompt has the same five parts:

1. **A phone with a name:** “Create a phone named wiki-lookup.” One phone per task keeps runs apart.

2. **The app by URL:** “Install … from https://f-droid.org/repo/….apk.” Google Play isn’t on the phone; F-Droid’s APK links are direct downloads.

3. **The task as an outcome:** what to find or create, and the exact values to use.

4. **The proof:** “Answer with the text you read” and “take one screenshot”. A fact comes from the element list, and the screenshot lets you check it.

5. **The cleanup:** “Delete the phone at the end, even if a step fails.” A forgotten phone parks itself after 5 idle minutes and stops billing, but deleting is cleaner.

Tell the agent to observe before it acts and to use the element’s ref after a miss. Across the five runs, 8 of 57 `act` calls missed: a label guessed before it was on screen, a ref that moved, a dialog that appeared mid-batch. Every miss came back with the current screen, and the next call got past it.

## What every app throws at a fresh phone

- **First-run screens.** Intros, “set as default” offers, disclaimers and download prompts come before the task. Each recipe page lists the ones its app showed.

- **Permission dialogs.** Location, camera and notifications, often only when a feature is first used. Deny what the task doesn’t need; [Android permission dialogs](https://mobilebox.dev/blog/android-permission-dialogs?via=md) covers the choice.

- **Things drawn as pixels.** Maps, barcodes and calendar grids aren’t on the element list; a list view or a text panel usually is, and the screenshot is for you to check.

## When the app needs you

A recipe that needs your sign-in can still run: the agent calls `watch_phone`, you open the [live view](https://mobilebox.dev/live-view?via=md), press Take control, type the password yourself and hand the phone back. Never give the agent the password. To keep the login for the next run, park the phone instead of deleting it; see [park and resume](https://mobilebox.dev/blog/park-resume-android?via=md).

Some apps won’t run on a cloud phone at all: apps that check Play Integrity, need Google Play, or text a code to a real number. [Will this app work on a cloud phone?](https://mobilebox.dev/blog/android-app-compatibility?via=md) covers what to check first.

[Mustafa Yenler](https://mobilebox.dev/about?via=md#mustafa) is the founder of fifteenA and builds Mobilebox, from Berlin and San Francisco. [LinkedIn](https://www.linkedin.com/in/mustafa-yenler)

## 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=ai-agent-android-app-recipes and follow it.
```

[What your agent reads](https://mobilebox.dev/setup.md?via=ai-agent-android-app-recipes)

In this article

[All articles](https://mobilebox.dev/blog?via=md)

## Next question

- [Can I watch my agent work live?](https://mobilebox.dev/live-view?via=next-live)
