# Free cloud Android emulator for AI agents

Emuly is a free cloud Android emulator that Claude Code, Codex, Cursor and other AI coding agents control through an HTTP API. There is nothing to install and no card. The phone runs in your own GitHub Codespace, on the hours your GitHub plan includes.

Updated November 2026.

## How to start

1. Open [emuly.xyz](https://emuly.xyz/index.md) and click **Copy prompt**.
2. Paste the prompt into your coding agent.
3. Sign in to GitHub once when the agent asks. The agent does every other step.

The agent installs a small skill that tells it how to use the API. Then it starts a phone, waits for Android, and gives you a link to see the screen in your browser.

- **Price:** Free. It uses the Codespaces hours in your GitHub plan.
- **Free time:** About 30 hours a month on GitHub Free, about 45 on GitHub Pro
- **Platform:** Android 16 emulator with hardware acceleration (KVM). No iOS.
- **Install:** Nothing on your computer. No Android SDK.
- **Control:** Browser, HTTP API, CLI, adb and scrcpy
- **Agents:** Claude Code, Codex, Cursor, GitHub Copilot and any agent that can send HTTP requests
- **Source:** Open source, MIT license

## What your agent can do

- **Start and stop phones:** Create a phone, wait until Android is ready, and stop it when the task ends.
- **See the screen:** Take a screenshot, or read the screen as a text tree of buttons and labels.
- **Tap and type:** Send adb input commands: tap, swipe, type text and press keys.
- **Install apps:** Install an APK from your computer or from a URL, then open it by package name.
- **Move files:** Push files to the phone and pull files from it.
- **Record the screen:** Record an MP4 with captions for each step, for example for a pull request.

## Example API calls

Your agent usually makes these calls for you. They show how simple the API is. Every call uses one key in the `Authorization` header.

```sh
# Create a phone that stops after 30 idle minutes
curl -X POST "$base/v1/phones" -H "Authorization: Bearer $EMULY_KEY" \
  -H "Content-Type: application/json" -d '{"idle_timeout_min":30}'

# Wait until Android is ready (the server holds the request up to 60 s)
curl "$base/v1/phones/$id?wait_for=ready&timeout_s=60" -H "Authorization: Bearer $EMULY_KEY"

# Read the screen as text, then tap a point
curl "$base/v1/phones/$id/ui" -H "Authorization: Bearer $EMULY_KEY"
curl -X POST "$base/v1/phones/$id/adb" -H "Authorization: Bearer $EMULY_KEY" \
  -H "Content-Type: application/json" -d '{"args":["shell","input","tap","540","1200"]}'

# Take a screenshot
curl "$base/v1/phones/$id/screenshot" -H "Authorization: Bearer $EMULY_KEY" -o screen.png
```

## Other options

There are other ways to give an agent an Android phone. Most are a one-time trial, or they need the Android SDK on your computer.

| Option | Free | Notes |
|---|---|---|
| Emuly | About 30 h a month | Hosted in your own codespace. HTTP API and agent skill. Android only. |
| Local emulator | Free | Needs the Android SDK, about 8 GB of RAM and hardware virtualization on your computer. |
| Ramus | Free during alpha | Hosted cloud emulator for agents. Free while it is in alpha. |
| Phonebox | $2 credit, once | Hosted MCP server, then $0.06 per phone-minute. |
| TestingBot | 1.7 h, once | Browser and Appium testing. One-time trial. |

Checked November 2026. See the [full comparison of free cloud emulators](https://emuly.xyz/compare.md).

## Limits

Emuly runs Android only. It has no iOS and no real phones. A cold boot takes about 2 minutes. Running phones share your Codespaces hours, and GitHub stops an idle phone after 30 minutes or 4 hours, as you choose.

## Related

- [Run Android Studio's emulator in GitHub Codespaces](https://emuly.xyz/android-emulator-in-github-codespaces.md)
- [Install and test an APK online, without a phone](https://emuly.xyz/test-apk-online.md)
- [Free Android emulators online, compared](https://emuly.xyz/compare.md)
- Start a free phone: https://emuly.xyz
