# android pilot

> Drive a real Android phone from your AI agent. One Python file, plain adb, no root, no Shizuku, no MCP server, no account — with dynamic locators that survive reboots and a verification step after every action.

android pilot is a free AI agent skill on Agensi by SHUN, in Mobile Development. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [SHUN](https://www.agensi.io/creators/c-1)
- Category: [Mobile Development](https://www.agensi.io/skills/mobile-development)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/android-pilot
- Tags: android, adb, mobile-automation, mobile-testing, uiautomator, qa, device-control, korean

## About this skill

Hardcoded coordinates and fragile scripts break the moment an Android device reboots or changes resolution. This skill turns your agent into a precise operator that uses the device's own UI tree to see and interact with apps, ensuring automations survive layout shifts.

### What it does
- **Dynamic element locating** finds buttons and fields by text, content-desc, resource-id, or class name rather than static pixels.
- **Smart typing** supports Unicode, emojis, and Korean characters via a specialized IME, with an optional verification step to confirm text landed.
- **Visual verification** captures PNG screenshots and verifies file headers to ensure QA evidence is valid.
- **UI tree inspection** reads every visible label on the screen to provide the agent with a text-based map of the current interface.
- **Resilient interaction** automatically resolves element bounds from a fresh uiautomator dump before every tap.

### How it works
1. **Connect** the device via USB or wireless adb and verify the connection using the `devices` command.
2. **Perceive** the screen state using `read` or `find` to locate specific UI handles.
3. **Act** by launching apps, tapping elements, or typing text into focused fields.
4. **Verify** the result by reading the screen again or taking a screenshot to confirm the state change.

### Frameworks & tools
Built with Python 3.9 using only the standard library. It interfaces directly with Android platform-tools via `adb` and `uiautomator`. Unicode support requires the optional ADBKeyboard IME.

### Why this beats prompting it yourself
Writing raw adb shell commands is error-prone and resolution-dependent. This skill handles the heavy lifting of parsing XML UI dumps and calculating center-points, providing a deterministic interface that prevents the agent from "hallucinating" button locations.

### Use cases
- Automate repetitive form filling or account setup flows in mobile apps.
- Perform regression testing by walking through UI paths and reporting breaks.
- Capture step-by-step screenshots for bug reports and QA documentation.
- Remote control a device to send messages or adjust settings using natural language.

### Known limitations
Does not support iOS. Cannot read elements inside canvases, games, or secure screens (FLAG_SECURE). Swipes and long-presses are not supported in the current CLI.

## Requires

- Python
- adb (Android platform-tools 1.0.41+)
- Android device with USB debugging

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the android pilot skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does Android Pilot prevent automations from breaking when app layouts change?

Unlike basic scripts that rely on static screen coordinates, this skill parses the Android UI tree in real-time. This allows the agent to find buttons and fields by their internal ID or text label, so your automation won't break if the screen resolution changes or an app update moves a button.

### What hardware and software do I need to use this skill?

The skill requires a computer with Python 3.9+ and Android Platform Tools (ADB) installed. You will need to connect your Android device via USB or Wi-Fi and enable Developer Options/USB Debugging on the device itself.

### Does this skill support non-English characters and emojis?

Yes, it includes a specialized IME (Input Method Editor) that allows the agent to type Unicode characters, emojis, and non-Latin scripts like Korean directly into text fields, which standard ADB commands often struggle with.

### What is included in the Android Pilot skill?

You receive the complete Python skill package designed for easy integration with your AI agent, along with documentation on connecting your device and utilizing the dynamic UI discovery commands.

### Are there any types of apps or screens that Android Pilot cannot interact with?

The skill can interact with standard Android apps but cannot 'see' inside mobile games (which use Canvas rendering) or apps that use FLAG_SECURE to block screen reading, such as banking apps or Netflix. Additionally, it is strictly for Android and does not support iOS.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
