android-ui-analyser (aua)
The android in the name is your AI agent, not the platform. Read it as "a UI analyser for
androids": the robot is the one looking, and what it looks at can be Android, an iOS simulator,
or the web.
aua is a configurable CLI that gives an AI agent structured "what's on screen and where" for
Android, iOS-simulator, and web UI testing. It reads the native accessibility/view hierarchy or
browser DOM first, returning elements with tracked IDs, types, text, and bounding boxes.
Image-based detection, OCR, and optional grounding cover screens with incomplete accessibility
data. The agent sends a published ID to aua tap-and-analyze <id> or
aua input-and-analyze <id> "hello"; AUA resolves the element on the current screen and computes
the coordinates.
See it working: recordings of an agent
checking one feature on Android and iOS, finding a crash, and proving the fix.
Try it without installing AUA. With uv
and adb on your computer and an Android device or emulator attached:
uvx aua doctor # checks adb, the attached device and the providers
uvx aua --format compact analyze # the current screen as elements with stable IDs
New here? Start with Installation help. Claude Code and Codex users
can install one plugin that supplies the AUA skill and starts the matching released MCP server;
no clone or permanent AUA install is required.
Installation help
Choose the path that matches how you want to use AUA:
The plugin paths are the easiest option for agents: each bundles the operating skill and starts
the local MCP server from the Git tag matching the plugin version.
Prerequisites
aua is a Python CLI with separate Android, iOS-simulator, and web platform adapters. Every
installation needs Python; the target-specific transport is needed only for the platform you use:
| Requirement | Version | Why / how to get it |
|---|
| Python | 3.11 or newer | Runs the CLI. Check with python3 --version. |
| uv | any recent | Runs AUA without a permanent install (uvx) and powers the Claude/Codex plugins. (install) |
Android platform-tools (adb) | any recent | Android only: discovers devices and lets uiautomator2 drive them. (install) |
| An Android device or emulator | Android 7.0 (API 24) or newer | Android only: a running AVD or USB-attached phone. (setup) |
You do not need Android Studio's IDE, Gradle, or the app's source code — aua works against any app already installed on the device, including release builds. (Android Studio is just the easiest way to obtain adb and an emulator.)
Optional, only for specific features:
- Xcode 26+ and AXe (
./install.sh --with-ios, or aua --platform ios doctor --fix) — only for iOS simulators via --platform ios.
- Playwright plus a supported browser — only for web pages via
--platform web; install the web extra and run playwright install chromium, or use an
installed Chrome channel.
tesseract system binary — only if you enable the tesseract OCR extra.
- A GPU (CUDA / Apple Metal) — speeds up the
yolo/omniparser detectors and local grounding, but everything also runs on CPU.
- API keys (
OPENAI_API_KEY / ANTHROPIC_API_KEY / GEMINI_API_KEY) — only if you opt into a commercial grounding provider (off by default).
- Apple silicon + a separately downloaded MLX FunctionGemma base — only if you opt into
the local guarded next-call policy. The base is not bundled or downloaded by AUA.
Installing adb (platform-tools)
adb ships in the Android SDK platform-tools. Get it any of these ways:
- Android Studio → SDK Manager installs it under
~/Library/Android/sdk/platform-tools (macOS) or ~/Android/Sdk/platform-tools (Linux).
- Standalone download: grab platform-tools and unzip.
- Homebrew (macOS):
brew install android-platform-tools.
- Linux (Debian/Ubuntu):
sudo apt install android-tools-adb.
Then make sure it's on your PATH (macOS / Android Studio layout shown):