Skip to main content Switch to mobile version android-ui-analyser 0.52.1 Give AI agents eyes on Android, iOS-simulator and web UIs: structured elements with stable IDs, not pixels. CLI + MCP server.
pip install android-ui-analyser==0.52.1 Copy PIP instructions
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, a Mac app, 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
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.
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.
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:
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.
Peekaboo (brew install openclaw/tap/peekaboo) — only for Mac apps via --platform macos.
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):
export PATH="$HOME/Library/Android/sdk/platform-tools:$PATH" # add to ~/.zshrc or ~/.bashrc adb version # confirm it resolves Claude Code plugin
Run these commands inside Claude Code:
/plugin marketplace add The-Wordlab/Android-UI-Analyser /plugin install android-ui-analyser@the-wordlab Open a new Claude Code session after installation. The plugin supplies the generated AUA skill, the selector-safety hook, and the MCP server configuration automatically.
Run these commands in a terminal:
codex plugin marketplace add The-Wordlab/Android-UI-Analyser codex plugin add android-ui-analyser@the-wordlab Open a new Codex session after installation. The plugin supplies the same generated AUA skill and pinned MCP server as the Claude Code plugin. See OpenAI's marketplace CLI documentation for the underlying repository-marketplace flow.
Run the CLI without installing AUA
Install uv, then run the latest release from PyPI:
uvx aua --version uvx creates an isolated environment and caches it for later calls; no clone, git pull, editable environment, or global aua executable is needed. Every AUA command works this way: write uvx aua where the rest of this README writes aua, for example uvx aua doctor or uvx aua tap-and-analyze
What uvx does not do for you:
It does not install the platform tools. Android still needs adb and a device or emulator; see Prerequisites.
It does not update by itself. uvx aua keeps running the release it downloaded first. uvx aua@latest --version fetches the newest one.
It does not install the agent skill. An MCP client gets the operating instructions from uvx aua mcp. For an agent that calls the CLI, write the skill file once:
uvx aua guide --emit-skill ~/.claude/skills/android-ui-analyser/SKILL.md # Claude Code uvx aua guide --emit-skill ~/.agents/skills/android-ui-analyser/SKILL.md # Codex
The tool has two names on PyPI. android-ui-analyser holds the code. aua is the short name: it holds no code and installs the same version of android-ui-analyser, so pip install aua and uvx android-ui-analyser --version both work too.
The base package reads the UI hierarchy. To add the OCR and emulator-audio extras, name them with --from:
uvx --from 'aua[apple,rapidocr,audio]' aua --version For automation, pin a release so a later run starts the same code. Either append the version (uvx aua@
uvx --from \ 'android-ui-analyser[apple,rapidocr,audio] @ git+https://github.com/The-Wordlab/Android-UI-Analyser.git@v0.52.1' \ aua --version Replace v0.52.1 with the release you want. The latest GitHub Release shows the current tag and its release notes.
Install the CLI permanently
Clone the repository and run the idempotent bootstrap:
git clone https://github.com/The-Wordlab/Android-UI-Analyser.git cd Android-UI-Analyser ./install.sh # add --with-web for browser support, --with-ios for AXe (macOS) # add --with-policy for the optional local policy runtime ./install.sh --print-plan # preview without changing anything The script installs aua globally through uv tool or pipx (with a project-venv fallback), installs equivalent user-level Claude Code and Codex skills, and runs aua doctor. Codex uses ~/.agents/skills/android-ui-analyser; the older ${CODEX_HOME:-~/.codex}/skills copy remains synchronized for existing clients. Both locations are generated from the same source.
Start an emulator or attach an Android device with USB debugging enabled, then check that adb can see it:
adb devices For a permanent CLI install, verify everything and start goal-oriented work:
aua doctor aua session start --goal "inspect the current screen" For a plugin install, open a new Claude Code or Codex session and ask: “Use AUA to list the Android devices.” The agent should use the plugin's MCP server; a global aua command is not required. See Connect a device or emulator for physical-device, AVD, Docker, and multi-agent setup.
/plugin update android-ui-analyser@the-wordlab Codex plugin:
codex plugin marketplace upgrade the-wordlab codex plugin add android-ui-analyser@the-wordlab Permanent CLI installs can check the latest release with aua update --check and install it with aua update --install; clone-based installs upgrade by checking out the newer tag and re-running ./install.sh. See Releases and updating for the automation exit-code contract.
Common setup problems
Developer and source-install details
If you are developing AUA itself, use one of the following editable-install paths.
Base install (macOS / Apple Silicon, recommended extras — Python 3.11+ per Prerequisites):
python -m venv .venv && source .venv/bin/activate uv pip install -e ".[dev,apple,rapidocr,audio,web]" Or without uv:
pip install -e ".[dev,apple,rapidocr,audio,web]" Global install (no extras):
uv tool install . # or: pipx install . If you are going to edit the source, install it editable — once:
uv tool install --force --reinstall --editable . aua then resolves straight to your working tree, so every edit is live and there is no re-install step to forget. Confirm with python -c "import android_ui_analyser.selectors as m; print(m.__file__)" — it should print a path inside your clone.
If you install non-editable, re-installing needs --reinstall:
uv tool install --force --reinstall . # picks up your working tree uv tool install --force . # does NOT - silently reuses a cached build --force only means "replace the existing tool entry"; uv still resolves . from its build cache, so the second command reports Installed 1 executable: aua and leaves the old code in place. Nothing warns you. The failure mode is invisible: you edit, install, test, and measure the previous build while believing it is the new one - which is how a working fix got recorded as a fix that did nothing. If a change seems to have had no effect, verify what is actually installed before doubting the change:
grep -c my_new_symbol "$(uv tool dir)"/android-ui-analyser/lib/python*/site-packages/android_ui_analyser/*.py And restart the daemon afterwards (aua daemon stop && aua daemon start) - a running daemon keeps serving the code and the config it started with, so a fresh install or an env override does not reach it.
Put aua on your PATH (works from any directory)
Like adb, the aua binary must resolve from any directory — you (and your agents) will call it from project folders, not from this repo:
uv tool install . / pipx install . (run from the clone) install it globally to ~/.local/bin. If a new shell still can't find aua, run uv tool update-shell or pipx ensurepath once, then open a new terminal.
./install.sh does all of the above automatically (uv → pipx → venv fallback). If it printed the venv-fallback warning, aua exists only at
Verify from your home directory:
cd ~ && command -v aua && aua --version Optional-dependency extras matrix
Heavy deps are lazy-imported — a missing optional extra never breaks the core CLI. The two policy extras are the only ones install.sh will not install unless asked (--with-policy), since they are hundreds of megabytes of Apple-silicon-only ML runtime for a lane that is off by default and needs a separately downloaded base model. When one is configured but absent, aua doctor reports it with the exact install command instead of leaving autopilot to hand off every step.
Releases and updating
AUA follows Semantic Versioning. Every release is a vX.Y.Z git tag with a matching GitHub Release; its notes come from CHANGELOG.md, so the release page says what changed without requiring a pull of main or a read through commit history.
Check the installed version against the latest release without touching a device:
aua update --check # installed vs latest, release notes, and the upgrade command aua update --check --json # one JSON object for automation The exit code is 0 when current, 10 when an update is available, and 1 when the check could not run. A CI gate can branch on that contract without parsing human text:
if aua update --check --json > /tmp/aua-update.json; then echo "AUA is up to date" else case $? in 10) jq -r '"new AUA: \(.latest) — \(.release_url)"' /tmp/aua-update.json ;; *) cat /tmp/aua-update.json >&2; exit 1 ;; esac fi Install the latest release, or a chosen one, over the running aua:
aua update --install # the latest release aua update --install --version 0.33.0 # a specific release, newer or older A uv tool install of a release is reinstalled at that tag with the extras and --with packages its uv receipt recorded, and the user-level skill files that already exist are rewritten by the new version. A clone, a uvx run, the plugins and any other environment are never changed: the result names the exact command for that install instead (git checkout
Without AUA installed, the equivalent release lookup is one API call:
curl -fsSL https://api.github.com/repos/The-Wordlab/Android-UI-Analyser/releases/latest \ | jq -r .tag_name Pin a clone-based install to a release instead of tracking main:
git fetch --tags git checkout v0.52.1 ./install.sh Upgrade by checking out the newer tag and re-running ./install.sh. Return to the moving branch with git checkout main && git pull && ./install.sh. Maintainers cut releases using the procedure in docs/RELEASING.md.
Connect a device or emulator
aua session start selects from everything adb can see. It checks host-wide leases and target capabilities, then leases a compatible free target to the calling agent process. If none is free, it boots a matching configured AVD automatically.
Option A — Emulator (AVD)
Agents do not list, start, name an owner, or acquire a lease before goal work:
aua session start --goal "verify the change" # re-use the returned observation; later commands follow the automatic sticky lease # … drive the flow … aua session finish # restores state/releases lease; keeps its emulator warm aua session finish --stop-started-target # unattended: stop only this session's exact boot # Capability-aware selection/provisioning: aua session start --goal "record HTTPS" --needs root,proxy aua session start --goal "verify Play billing" --needs play aua session start --goal "show the QA run" --headed aua session start --goal "verify expand/collapse motion" --animations Each AUA-started emulator checks the inherited Android proxy setting before app launch. A proxy that is both unowned and confirmed blackholed (no reachable listener/tunnel) is cleared automatically; reachable foreign proxies and AUA-owned proxies are left intact.
Long emulator boots emit AUA_PROGRESS records and ten-second heartbeats on stderr while keeping stdout reserved for the single final JSON result. If an agent shell yields a live process/session id, poll that same process; do not launch a duplicate emulator start.
HTTPS proxy / mock needs a rootable Google APIs image — Google Play AVDs refuse adb root, so the mitm CA cannot be installed as a system trust and HTTPS recording stays empty:
aua emulator recommend-proxy # suggests a small package (no download) aua emulator ensure-proxy # one-time google_apis image setup aua session start --goal "record HTTPS" --needs root,proxy aua proxy start # needs: pip/uv install with [proxy] aua session finish You can still create AVDs by hand (sdkmanager / avdmanager / Android Studio). Prefer SDK cmdline-tools/latest under $ANDROID_HOME over stale Homebrew copies. On Mac, headless defaults to host GPU so fans stay quiet; override with --gpu swiftshader only for CI without a display.
Emulator microphone input
aua can feed deterministic host audio into an app's microphone through the Android Emulator's authenticated control API. This is emulator-only (not a USB phone), needs the audio extra, and the AVD must be started with audio enabled:
aua session start --goal "verify voice input" --audio aua mic inject sample.wav aua mic inject sample.wav --rid hold_to_talk # DOWN → audio → UP (default hold) aua mic inject sample.wav --rid record_button --control-mode toggle # tap start, then tap stop aua mic inject sample.wav 7 --pre-roll-ms 300 --post-roll-ms 500 # macOS convenience: /usr/bin/say creates a temporary 44.1 kHz S16 mono WAV aua mic speak "Testing one two" --voice Samantha --rate 175 --rid hold_to_talk Input must be an uncompressed RIFF/WAVE file: unsigned 8-bit or little-endian signed 16-bit PCM, mono or stereo, at 48 kHz or less, and no longer than five minutes. The default delivery mode is server-backpressured. With a target, --control-mode hold remains the default: DOWN → pre-roll → recording readiness → audio → post-roll → UP. --control-mode toggle instead sends one non-retrying tap to start, waits/injects, then sends one non-retrying tap to the exact same point to stop. Toggle mode requires a target that is enabled, clickable, and initially off; when its active state is not exposed as checked/selected, the caller must establish that precondition. Toggle mode is best-effort unless the app exposes an active-state/STOP selector: use short media and require the control to remain actively recording through post-roll. If the app auto-stops early (timeout, max duration, or recognition completion), the same final tap could start a new recording instead. Each command then returns the post-action observation with fresh ids.
Before streaming, AUA waits up to three seconds for a current, active recording input. Historical recording logs, idle inputs, and endpoint authentication do not satisfy this check. mic_recording_not_ready means no audio was sent; inspect the attached observation for a permission prompt or inactive recording control. A held control is released on failure. Readiness is a prerequisite for injection, not a guarantee against emulator faults.
AUA discovers the endpoint by matching the selected emulator-
Option B — Physical device
On the phone, enable Developer options (tap Settings → About phone → Build number seven times), then turn on USB debugging.
Connect over USB and accept the "Allow USB debugging" prompt.
adb devices should now list it with state device.
On the first command against a device, uiautomator2 automatically pushes a small helper agent (the uiautomator/ATX server) to it — there's nothing to install by hand, but that first call is slower while it sets up. Verify the whole chain end-to-end:
adb devices # device appears as "device" (not "unauthorized" or "offline") aua doctor # checks: adb on PATH · uiautomator2 importable · devices reachable · provider readiness · installed skill is current aua devices # aua's own device listing (serial, model, Android version) aua doctor is the single command to run whenever something isn't working — it pinpoints which prerequisite is missing. See Troubleshooting.
Working on aua itself
Dependencies are locked (uv.lock) and the interpreter is pinned (.python-version), so everyone resolves the same versions:
# The test suite asserts apple-vision + rapidocr ARE available and paddle/easyocr are NOT # (tests/test_ocr.py), so sync exactly that set — `--all-extras` fails the # "provider unavailable" tests, and syncing none fails the "provider available" ones. uv sync --extra dev --extra apple --extra rapidocr --extra yolo uv run pytest # test uv run ruff check src # lint uv run aua analyze # run the CLI from THIS tree Use uv run, not a hand-rolled .venv. uv run resolves the project from the working directory, so inside a git worktree you get that worktree's source. An editable install in a shared .venv points at whichever checkout created it, which silently tests the wrong tree — that has produced real false conclusions (a flag reported "missing" that was present all along).
The daemon caches loaded modules. After changing source, aua daemon stop — otherwise a warm daemon keeps serving the old code.
.githooks/pre-commit resolves aua from PATH, which in a worktree is the main checkout, so it can regenerate SKILL.md from the wrong tree. Regenerate manually (uv run aua guide --emit-skill
# Check environment: adb, device, uiautomator2 agent, provider availability aua doctor # List attached devices aua devices # Analyze the current screen → Set-of-Marks JSON aua analyze # Compact format (fewer tokens, drops null/default fields — best for agents) aua --format compact analyze # Unchanged-screen / binary dumps (warm daemon + native host path) aua --format delta analyze # skip payload when hierarchy hash unchanged aua --format msgpack analyze # compact binary frame (AUA1) # One element per line, tab-separated, status-bar noise already dropped — the # readable view; pick your own columns with --fields aua --format tsv analyze aua --format tsv analyze --fields id,text,rid,checked # Ask a narrower question instead of filtering the JSON yourself aua --format tsv analyze --region 0,0,1080,300 --clickable # just the header aua --format tsv analyze --where-rid settingsSwitch --fields id,checkable,checked # Is "Sign in" visible right now? Exit 0 = yes, 1 = no aua has "Sign in" # Wait on state (don't sleep) — including any hierarchy change aua wait-and-analyze --for "Sign in" aua wait-and-analyze --changed # any tree fingerprint change # Act on elements by ID from the last analyze aua tap-and-analyze 4 aua input-and-analyze 2 "hello@example.com" aua swipe-and-analyze up # Multi-emulator: same command on several serials # aua fanout --serials emulator-5554,emulator-5556 analyze # Force the vision fallback + write an annotated screenshot (numbered boxes) aua analyze --source vision --annotate # Find the best-matching element for a natural-language description # Tries the hierarchy first; escalates to grounding only if needed aua analyze --query "the Submit button" aua analyze --query "the Submit button" --deep # force grounding escalation aua analyze --query "the Submit button" --cheap # forbid escalation beyond hierarchy # Ask a vision model about the whole screen. It receives screenshot + element graph, # and returns structured regions, elements, graph ids, bounds, latency, and token usage. aua ask "Describe this screen from top to bottom and say where each control is" The analyze → act → analyze loop is the core workflow:
aua analyze returns elements with IDs.
The agent picks an ID and acts: aua tap-and-analyze
No manual re-analyze needed — by default each action returns the next screen inline (observation, with fresh IDs), folding step 1 into step 2.
The observation is compact by default (id,text,rid,clickable, app nodes only), so it is also the cheapest way to read the new screen — widen it with --observe-fields all or any field list. You should not need --no-observe followed by analyze; that pair costs two round trips for one screen.
When the next screen is slow, say what you are waiting for and the action waits on evidence instead of a fixed settle window:
aua tap-and-analyze
Never re-tap on nothing changed / stale_risk. The settle can only wait ~1.1s, so a slower screen reports "unchanged" for an action that landed. It cannot tell "no effect" from "not yet" — re-tapping means a second submit. Re-read, or pass --until.
Several agents at once
With more than one agent running, leases use one host-wide registry even when every run has an isolated cache. Start goal work with one command:
aua session start --goal "verify search" # automatic process-bound lease aua session start --goal "record HTTPS" --needs root,proxy aua lease list # administrative inspection only session start probes all attached targets (including leased ones), discards a lease as soon as its owner PID/start-token is dead, selects a compatible free target, or provisions a matching AVD. Each normal owner gets exactly one device. After AUA assigns it, omit --serial from ordinary commands: the lease is the routing source, and repeating a physical serial adds stale state. Keep a serial for initial selection and intentional administration/fanout. Asking for another device first fails with lease_switch_required and changes nothing; acknowledge the switch with the administrative aua lease acquire
An orchestrator can delegate the same running emulator without resetting it:
# orchestrator: freezes its device and returns a five-minute, one-time token aua lease transfer
Asking for a device someone else holds fails with exit 9 (device_leased). Drop a serial only when it was a redundant stale pin and the existing assignment is acceptable. If the user named that target, never redirect: wait, provision another device with user intent, or reconcile the holder identity. --needs gets a capable device or a refusal, never a silent mismatch.
The owner label and caller process identity travel separately, including through the warm daemon, so AUA_OWNER stays readable without becoming a 15-minute lock. A crashed agent is immediately treated as gone; PID reuse is rejected by the recorded process-start token. The sole bounded exception is an explicit pending transfer: its reservation survives a source crash for at most five minutes so the spawned receiver cannot lose the device before accepting the token. --no-lease opts out entirely for single-agent scripts.
What the Claude Code and Codex plugins install
aua ships one generated skill plus a local MCP server. The skill auto-activates when you ask an agent to test or inspect an Android app, and the plugin starts the matching released MCP server through uvx.
The plugin path needs uv, adb, and a device/emulator. It does not need aua installed globally: the MCP process runs from the Git tag matching the plugin version. The first start builds and caches an isolated environment; later starts reuse it. Copy-paste setup and update commands are collected in Installation help.
The Claude Code plugin also installs a PreToolUse guard. It denies raw adb operations AUA already covers (UI input, recording, screenshots, logs, app lifecycle, settings, and app data), gives the exact AUA replacement, and asks for user approval on unknown raw-adb operations. Host build tools such as Gradle are unaffected. AUA-evidence ffmpeg commands are redirected to the built-in timestamped contact sheet.
OpenAI's public plugin submission currently requires a remote MCP endpoint, so AUA's local stdio MCP plugin is distributed from this repository. A skills-only public listing can be submitted separately without changing the repository plugin.
Goal-first sessions and acceptance evidence
After connecting a device or emulator, CLI users start with aua session start --goal "
For deterministic acceptance proof, attach an authored assertion contract and a portable cross-command artifact directory:
aua session start --goal "sort the fixture and restore it" \ --app dev.aua.fixture \ --contract evals/agent_loop/contracts/classic-sort.yaml \ --artifacts-dir artifacts/classic-sort --evidence all --junit \ --wait-for-lease 30 Contract checkpoints reuse the flow assertion grammar (assert, assert_order, within, same_parent_as, contains_all) and can only pass from one fresh fingerprinted observation; --phase-done cannot complete them. session finish refuses to terminate while a contract is incomplete unless --allow-incomplete is explicit. Every analyzed response includes a typed observation_contract saying whether its frame is reusable or another analyze is required. The bundle keeps redacted calls.jsonl, manifest.json, linked observation/screenshot evidence, report.md, result.json, optional junit.xml, the canonical contract, and the candidate flow.
After every checkpoint passes, aua session candidate-flow NAME previews only the actions recorded after the session watermark. Promotion requires deterministic reset and replay:
aua session candidate-flow classic-price --replay --save \ --reset-flow evals/agent_loop/flows/reset-fixture.yaml The reset and candidate must both pass; an existing saved flow is never overwritten.
Keeping the skill current
The SKILL.md and Codex agents/openai.yaml are generated from the same source as aua guide, so they do not drift from the CLI/MCP capability contract. After upgrading, re-run ./install.sh; aua doctor reports Claude, current Codex and legacy Codex skill drift separately. Use the release flow to choose the version before reinstalling.
Prefer a different MCP client?
aua mcp exposes the same actions over stdio (see MCP server). Point another MCP client at uvx aua mcp, at a global aua install, or copy the repository's .mcp.json configuration to let uvx run the pinned release.
Escalation ladder (cost-aware routing)
aua starts at the cheapest tier that could answer the question and escalates only when that tier returns no confident result. No LLM is used to route — routing is pure heuristics.
Default ceiling is T3 (local vision). T4 grounding is entered only when grounding.enabled: true and max_tier: grounding (or --deep).
The router never silently escalates to a paid/commercial provider — that tier must be explicitly enabled.
meta.tier_used and meta.providers_used always report which tier ran.
--cheap lowers the ceiling; --deep raises it for one call.
App memory & navigation
aua remembers each app's layout locally as you use it — every analyze records the current screen and every state-changing action records a route between screens. No extra calls, and nothing leaves your machine (stored under memory.dir, default ~/.android-ui-analyser).
Because of that, analyze hands navigation affordances back to you inline, so you rarely need a separate aua map call:
Jump to a known screen in one command
aua goto "product detail" # replay the remembered steps: selector-matched, verified per hop aua goto "settings" --plan # print every step and risk; do not act aua goto "onboarding" # safe UI steps run; cross-app/deeplink effects return a refusal preview aua goto "onboarding" --allow-unsafe # only after reviewing that preview aua goto "login" --allow-destructive # required when a step matches memory.destructive_labels goto resolves the goal (fuzzy) against the map, walks the shortest verified route from the current screen, and replays each edge's recorded steps — matching by resource-id first, then label — re-checking known_screen after every hop. Known in-app hops are hierarchy-only for speed; OCR runs only when a remembered selector is absent or hierarchy-only arrival verification fails. Transit/foreign screens keep automatic OCR. A newly auto-observed edge is provisional until the same transition is observed again; a cross-package transit journey supplies independent corroboration. Selectorless and conflicting edges are retained for audit but rejected from navigation.
An observed route proves that its actions preceded a destination; it does not prove those actions were navigation-only. goto therefore preflights the whole route before its first step. Ordinary semantic taps, scrolls, waits, and Back remain automatic. Deeplinks, external-package actions, settings/data/environment mutation, app lifecycle changes, and other actions with unproven side effects return code: unsafe_route plus the annotated route, risks, and required_opt_in; no route step has run. Re-run with --allow-unsafe only after reviewing that preview. Destructive labels (delete / sign out / pay / …) separately require --allow-destructive; a route containing both classes requires both flags. Prefer an explicitly authored flow for setup or mutation journeys.
Auth excursions through memory.transit_packages (Google sign-in in Chrome/GMS, permission dialogs) are recorded as one edge on the origin app, but their cross-package steps require that deliberate unsafe-route opt-in. A step whose identity was redacted (e.g. an account row containing an email) hands off for one manual tap — then re-run goto --from-here to resume mid-route, even mid-auth. On divergence it reports work already performed and replans from the actual recognized screen when another verified route exists, without replaying the failed edge. Reaching the target earlier than an obsolete intermediate is success. It exits 0 on arrival, returning the destination's elements (fresh ids). It runs through the warm daemon too.
Replay whole journeys in one call (flows)
A flow is a Maestro-style YAML journey — authored directly by you/your agent, or materialized from what you just did. The repeated setup path to the screen under test (reset account → log back in → reach onboarding) becomes one command:
aua flow run reset_account_google_login --param ACCOUNT="Engineering Team" aua flow run smoke --dry-run # print the resolved steps, act on nothing aua flow run smoke --from-step 4 # resume after fixing a divergence aua flow run smoke --artifacts-dir artifacts/smoke --evidence failures --junit aua flow save reach_checkout --last 8 # preview scope/selectors/proof; writes nothing aua flow save reach_checkout --last 8 --save # save only after review aua flow list · aua flow show
--artifacts-dir DIR writes a portable run bundle (flow.yaml, result.json, manifest.json, report.md, named screenshots, and observations). --evidence failures captures the failed frame and platform diagnostics by default; all captures every completed leaf step; none keeps only explicit screenshot: checkpoints. Add --junit for junit.xml. Reusing a non-empty directory creates a unique run subdirectory instead of overwriting evidence. CLI and MCP both accept exactly one source: a saved name, file, or inline yaml (--yaml on the CLI).
# ~/.android-ui-analyser/flows/reset_account_google_login.yaml name: reset_account_google_login app: com.example.app.dev params: ACCOUNT: "Engineering Team" steps: - launch_app: com.example.app.dev - tap: {id: buttonSettings} # unlabeled gear — id-tail selector - tap: "Account & Data" - tap: "Delete my account" - tap: "Delete" - wait_for: {text: "Continue with Example ID", timeout_ms: 15000} - tap: "Continue with Example ID" - tap: {text: "${ACCOUNT}", package: com.android.chrome} - tap: {text: "Continue", package: com.android.chrome} - wait_stable - assert: {id: productTitle, count: 2} - assert: {id: consentSwitch, checked: true} - assert_order: axis: horizontal selectors: [{text: "Basic"}, {text: "Professional"}] - screenshot: catalog_sorted Inspect and manage the map
Agent feedback and self-correction
Knowledge learned by a person, runtime probe, source inspection, or external agent can be stored with provenance and context:
aua knowledge add --app com.example.app --kind claim \ --text "Catalog uses catalogTabTOOLS under catalog_experiment=a" \ --source agent --agent codex --evidence workspace-alerts aua knowledge list --app com.example.app aua knowledge stale
aua reconcile plan --app com.example.app > tasks.json # An external agent researches source/runtime using package, version, flags, and questions. aua reconcile submit --app com.example.app report.json aua reconcile status --app com.example.app aua reconcile rollback --app com.example.app
Privacy: only the durable skeleton is stored (screen names, routes, stable elements). Dynamic lists are kept as a shape, and EditText values / secrets / PII are redacted (
Optional: LLM assist (off by default)
Everything above is fully deterministic — no model runs during navigation. If you opt in, a fast planner LLM (default Gemini Flash Lite) plugs into the edges of that core to cut agent iterations further. It's off unless you enable it and ask for it:
planner: enabled: true # off by default; also needs the model's API key (GEMINI_API_KEY) chain: [gemini_flash] aua goto "onboarding" --assist # on a divergence, the planner tries to recover in-call aua flow run reset --assist # dismiss an unexpected popup mid-flow, then resume aua navigate "open the image generator" # drive to a goal with NO prior map… aua navigate "reach checkout" --save-flow checkout # …and record it as a reusable flow Two roles: (1) recovery — when goto/flow diverge (an "Allow notifications?" popup, an A/B modal, a moved button), --assist lets the planner clear the blocker and continue in the same call instead of handing the whole screen back to you; the un-assisted handoff hint tells you when it's worth adding. (2) aua navigate "
memory: suggest: true # push known routes/gotos/map hints into analyze suggest_max: 4 # cap on suggested_gotos per analyze rank_half_life_days: 3.0 # recency decay for usage-based ranking auto_research: true # create/surface research tasks for map uncertainty research_suggest_max: 3 flags: auto_context: true prefs_files: com.example.app.dev: "flag_overrides.xml" # Optional exact allow-list; otherwise only flag-like key names survive. context_keys: com.example.app.dev: [catalog_experiment, services_treatment] Configuration
Precedence (highest to lowest)
Individual CLI flags (e.g. --serial, --format, --no-cache)
--config
Environment variables (AUA_* and provider key vars like OPENAI_API_KEY)
--profile
Project config: nearest .android-ui-analyser.yaml walking up from CWD
User config: $XDG_CONFIG_HOME/android-ui-analyser/config.yaml (default ~/.config/...)
Secrets are never stored in config. The config references the env-var name (api_key_env: OPENAI_API_KEY); the tool reads the value at runtime. aua config show and aua doctor never print secret values.
To supply a required key and continue automatically, wrap the program that needs it:
aua config exec --env-file /absolute/project/.env --require OPEN_ROUTER_API_KEY \ -- python /absolute/project/runner.py Use your existing runner and arguments after --. Missing values open a private masked Save/Cancel dialog; Save launches the program once after every requirement is satisfied. Nonempty process values win, followed by only the named variables in that exact .env file. Repeat --require NAME for additional keys. Cancellation prevents launch; --no-prompt fails on missing credentials without a dialog. Child output and exit status pass through, with literal required values redacted; the child must still avoid printing secrets. Wrapper errors can override that exit status. If an error says started: true, inspect the program's status/evidence before recovery; do not repeat side effects to recover missing output.
To save a key without launching anything:
aua config secret GEMINI_API_KEY --env-file /absolute/project/.env # Other variables use the same dialog, including OPEN_ROUTER_API_KEY. MCP agents use credential_request(name="GEMINI_API_KEY", env_file="/absolute/project/.env"). The result contains only status, variable name, and destination. Existing nonempty values are preserved unless --replace / replace=true is supplied. The dialog opens on the CLI/MCP server host, so it requires that host's graphical desktop.
config secret only saves; config exec loads named credentials for its child. Neither changes the parent shell, MCP server, or an existing daemon. Direct SDK consumers must parse dotenv data with interpolation disabled, never shell source. Keep the file outside version control. See the credential setup tutorial for the Python continuation helper, existing AUA runs, cancellation, and unattended use. The wrapper works with external programs; it does not bundle the experimental OpenRouter harness.
# .android-ui-analyser.yaml (or aua config init to write the full commented version) ocr: chain: [apple_vision, rapidocr] # macOS: apple first; cross-platform: just [rapidocr] augment_hierarchy: true # fuse an Apple OCR pass into every hierarchy analyze drop_redundant: true # withhold readings of text the hierarchy already reports grounding: enabled: true # Ordered fallback. Missing keys are skipped automatically; reverse this list # if you prefer OpenAI whenever both keys exist. chain: [gemini, openai] models: apple_vision: { recognition_level: accurate, max_width: 720 } gemini: { model: gemini-2.5-flash, api_key_env: GEMINI_API_KEY } openai: { model: gpt-5.6-luna, api_key_env: OPENAI_API_KEY, reasoning_effort: none, screen_image_detail: high, screen_preview_max_width: 720, screen_preview_jpeg_quality: 55 } The grounding factory tries providers in chain order. A provider whose api_key_env is missing is skipped, as are request failures or empty answers. With only GEMINI_API_KEY, Gemini runs; with only OPENAI_API_KEY, Luna runs; with both, the first configured provider wins. aua ask "…" uses the same provider-neutral interface and reports the provider/model that answered. Apple Vision OCR remains local; it downsizes wide screenshots to 720px for recognition and maps boxes back to original coordinates. Hierarchy and OCR run concurrently, and the two are fused into one observation, so web content inside a Chrome Custom Tab is visible to a plain analyze. Readings that merely repeat text the hierarchy already reports are withheld (ocr.drop_redundant, default true): they cost tokens on every observation, they made tap --text ambiguous, and a misread of text the tree had right is worse than no reading at all. Pixel-only text - and any repair of lossy U+FFFD labels - always survives. Remote screen-analysis calls use a compressed preview.
profiles: cloud: grounding: { enabled: true, chain: [gemini] } local: grounding: { enabled: false } Activate with aua --profile cloud analyze --query "the Submit button".
aua config init # write commented default config to the user config path aua config show # print the current config (secrets masked) aua config show --effective # print after all precedence layers are merged aua config path # print the resolved config file path aua config secret OPEN_ROUTER_API_KEY --env-file /absolute/project/.env # private dialog aua config exec --require OPEN_ROUTER_API_KEY -- python runner.py # Save then launch once Provider / license matrix
Grounding (all opt-in, grounding.enabled: false by default)
Icon names (opt-in, icon_names.enabled: false by default)
A clickable control the app never named (no text, content description or resource id) is cropped and named from its pixels, once per distinct icon. The name lands in content_desc with named_by set, so a reader sees "hamburger menu button, opens the side drawer" instead of "unlabelled control, top left". Names are kept by a perceptual key in one SQLite database shared by every AUA run on the machine (icon_names.db, default ~/.android-ui-analyser/icon-names.db): the same icon on another screen, or in another run, costs nothing.
Planner (opt-in, planner.enabled: false by default)
The fast LLM behind --assist and aua navigate (see Optional: LLM assist). Text-first (the element list rides in the prompt; a screenshot is attached only on unlabeled screens).
Guarded next-call policy (opt-in, policy.enabled: false and mode: off by default)
The repository's code, docs, and training tools remain MIT-licensed (LICENSE). The modified FunctionGemma adapter under src/android_ui_analyser/resources/functiongemma/ is a separate model derivative distributed under the included Gemma terms, prohibited-use policy, and notices; NOTICE says so at the top level.
Default config remains commercially licensable and model-free at runtime. No AGPL provider, remote model, planner, or policy model is active out of the box. OmniParser requires explicit accept_agpl: true; grounding, the planner, and the policy are off until enabled.
Optional: guarded local FunctionGemma policy (off by default)
This is a deliberately narrow local controller for an active goal session, not an unrestricted Android agent. AUA deterministically constructs complete, current-frame, stable-selector tap calls, removes unsafe, unauthorized, destructive, stale, ambiguous, and redundant choices, and gives the model only an independently built, privacy-screened projection of candidate metadata keyed by opaque integer IDs. AUA retains the authoritative call map. FunctionGemma cannot author arguments, grant authorization, or waive cleanup. Its output never replaces AUA's deterministic recommended_call:
shadow records only policy audit metadata; it exposes no model-selected call.
advisory asks the model for a selection; any returned policy_suggestion is still separate and unexecuted. The bundled v10 manifest authenticates advisory, so an operator who turns the policy on can reach this mode without supplying their own adapter.
Zero eligible candidates produce a structured, non-executing policy_handoff in advisory mode. A model-selected handoff uses reserved ID -1 and is accepted only when a pinned adapter manifest authenticates that prompt protocol. One action is selected deterministically without loading the model. The bundled v10 adapter is invoked for two, three, or four eligible candidates, the cardinalities its manifest authenticates; anything else reports unsupported_cardinality and fails closed.
For a separately authenticated adapter whose manifest permits advisory use, explicit aua session autopilot changes the transport—not the trust boundary. The local model selects an opaque candidate ID and the warm AUA daemon immediately revalidates and executes the corresponding AUA-authored call itself; a parent agent does not relay that call. The daemon consumes the folded post-action observation and repeats only while another safe navigation tap is available. It stops and returns the fresh screen on model handoff, stale/unknown outcome, unchanged frame, repeated call, input/toggle/wait/proof work, or the configured step/time limit. It currently executes only guard-approved taps. policy_suggestion remains advice and must not be executed manually.
aua session autopilot --max-steps 6 --max-duration-ms 30000 The bundled v10 manifest authenticates advisory, so this lane is reachable without an externally supplied adapter — but only after an operator turns the policy on. Nothing is loaded and no memory or compute is spent while policy.enabled is false, which is the shipped default. Shadow exists for developing and debugging the policy locally; it has no end-user purpose.
The checked-in adapter is 30,403,414 bytes. The compatible base is approximately 543 MiB and is not in this repository, wheel, or an automatic download path. Review and accept the Gemma Terms, then manually obtain the pinned external MLX conversion and revision recorded in the bundled manifest:
uv pip install -e ".[functiongemma]" hf download mlx-community/functiongemma-270m-it-bf16 \ --revision bb327a9ad61044e1496a2bee2365a6b6a6684c72 \ --local-dir /absolute/path/to/functiongemma-270m-it-bf16 The provider verifies the manifest's seven required base files and their aggregate digest 76aabb2800b6b9e6da9160028dfb233bbfa723d8c33e21623022ca87a8fa9fd5; unrelated snapshot files do not affect that identity. Then turn the policy on explicitly — see docs/LOCAL_POLICY_SETUP.md for the full recipe, including the two-model chain the device runs used:
policy: enabled: true # false in shipped defaults; nothing loads until this is true mode: advisory # off | shadow | advisory chain: [functiongemma] max_candidates: 4 models: functiongemma: model_path: /absolute/path/to/functiongemma-270m-it-bf16 adapter_path: null # null selects AUA's packaged v10 LoRA max_tokens: 24 Check config, dependency, artifact hashes, and daemon compatibility without touching Android or loading the model:
aua --config .android-ui-analyser.yaml policy status What the bundled v10 adapter actually scores
Measured by an independently authored probe: its 150 jobs derive from the CLI surface rather than from the training generators. This distinction is not pedantic. An in-house probe that shared its generator's phrasing reported 6/6 on a refusal capability that independent measurement put at 0/144 — it was scoring the phrasing, not the model.
On a real device v10 completed 5/5 navigations and 2/2 refusals with 0 wrong taps, one refusal under a deliberately rephrased goal. The shipped bundle reproduces the external checkpoint exactly on the same 150 jobs (90/150, refusal 18/38, 0 invalid) at ~334 ms per call.
This is not a promotion. One seed, no live gate, and refusal is unstable across checkpoints (0, 2, 0, 5, 4, 18, 0, 3, 8, …), so the 18/38 figure is a best checkpoint rather than a reliable property. Safety does not rest on it: the deterministic guard removes unsafe, unauthorized, destructive, stale, ambiguous, and redundant candidates before the model sees anything, and revalidates before execution. No model in this line has learned refusal reliably enough to be load-bearing.
Earlier generations, for the record: frozen v3 scored 2,045/2,048 (99.8535%) on synthetic held-out data yet failed its strict static gate and then a production-serializer smoke at 60/96 (62.5%), with accuracy swinging 37.5 points across target IDs and 54.17 points across target positions — the gap between a synthetic score and a real one. A failure-driven v4 continuation also failed its independent gate and was never bundled.
Failure-driven v4 continuation (not promoted)
V4 learned the production serializer well: validation reached 2,767/2,768 (99.9639%), including 719/720 production-shaped validation cases; the untouched v3 smoke improved from 60/96 to 96/96; held-out production choices passed at cardinalities two (64/64), three (144/144), and four (512/512); and the fictional closed loop completed 4/4 cleanly.
It still failed the independent combined test: 2,764/2,768 correct (99.8555%), 99.6875% critical accuracy, and 100% parse success, with zero redundant but four unauthorized selections. All four were sequence_recover_unknown: the model ended the session early with session_finish instead of observing the uncertain outcome with analyze_screen. V4 is therefore ignored and not bundled. The next iteration needs independent recovery-focused data and an evaluation gate that keeps this failure family isolated.
Reproduction source is checked in as the v4 production curriculum, training configuration, static evaluator, production smoke, and closed-loop runner. Generated datasets, adapters, and detailed reports remain ignored and are not linked as repository artifacts.
The complete fictional-data generator, validator, MLX LoRA runner, static evaluator, and deterministic closed-loop simulator are checked in under experiments/functiongemma/ so later agents and contributors can reproduce or improve the adapter without device data.
Optional Android development tools
Install Google's Android CLI only when you want its additional tools:
aua devtools status # no device needed aua devtools setup # explicit, user-local installation aua devtools catalogue # discover operations and accepted options aua devtools run build :app:assembleDebug --project /path/to/project --timeout 600 aua devtools run analyze /path/to/app.apk The optional integration covers project builds, SDKs, artifact analysis, documentation, Studio, deployment, UI inspection, profiling and authorized cloud diagnostics. Device operations use AUA's leased target. The existing automation backend remains the default.
Compose previews give an agent images and component trees before deployment:
aua preview list :app --project /path/to/project aua preview render :app --project /path/to/project \ --fqn com.example.demo.HomeScreenKt.HomePreview --output /path/to/evidence aua preview inspect /path/to/evidence/HomePreview_0.json This compiles the preview target but needs no emulator or IDE. The component tree contains bounds, semantics, modifiers and source locations. During a normal device session, aua profile start and profile stop collect a trace around AUA actions; profile heap captures JVM memory. Profiling state has durable, caller-scoped cleanup.
With Android CLI 1.1.16919734+, profile start --enable compose.recomposition records Compose state changes (app runtime-tracing 1.13+), and profile heap
Authored agent tests use aua journey validate|start|status|check|record|finish. The calling agent performs each instruction, deterministic assertions evaluate fresh evidence, and visual reviews remain explicitly agent-assessed. Journeys reuse AUA's ordinary session and cleanup workflow.
CLI and MCP share these implementations. See optional Android CLI integration, the complete operation catalogue, Compose previews, agent journeys, and executed validation evidence.
The same commands drive an iOS simulator when you select the built-in ios platform:
aua --platform ios doctor --fix # installs AXe (tap, trust, install) if it is missing aua --platform ios doctor # xcrun, axe, and which simulators are booted aua --platform ios --format compact analyze # or: export AUA_PLATFORM=ios aua --platform ios tap-and-analyze --text "General" aua --platform ios app launch com.example.app --arg --uitesting --until rid:home # launch flags + arrival Elements, ids, has/wait, flows and maps behave as on Android; resource_id is the accessibilityIdentifier, key back performs the iOS back gesture, and aua install takes an iphonesimulator .app bundle. Details, the capability table and troubleshooting: docs/ios.md.
Physical iPhone/iPad screenshots use the separate ios-device adapter, without AXe:
aua --platform ios-device --serial
The built-in macos platform drives any app on this Mac through Peekaboo, in the background: the cursor does not move and your front app stays in front.
The built-in web platform tests websites and web apps across Chromium, Firefox and WebKit, and can attach to supported existing browser/desktop windows. All connections use the same AUA commands and element schema, independent of the application's frontend framework:
uv pip install -e '.[web]' playwright install chromium aua --platform web --serial https://example.test/app doctor aua --platform web --serial https://example.test/app --format compact analyze aua --platform web --serial https://example.test/app tap-and-analyze --rid continue data-testid and HTML id become resource_id; only viewport-intersecting DOM nodes satisfy has, waits, and scroll-to. Chromium, Firefox, and WebKit can run headed or headless. The warm daemon keeps one isolated browser context alive across commands; storage_state can seed login state without writing changes back. AUA can fuse its existing OCR, detection, and grounding providers over Playwright's native viewport screenshot for canvas or incomplete DOM semantics. aua browser adds console/network diagnostics, cookies and web storage, cache/session reset, offline/throttling, scoped CORS, context proxy, HAR record/replay, request mocks, popup/tab/frame inspection, and Playwright traces. URL path/query identities feed the same maps and flows, and goal cleanup restores the starting browser context. A second opt-in mode can instead attach to one user-approved tab in an existing, logged-in Chrome profile:
aua browser extension install # Load the printed directory once from chrome://extensions, then configure: # platforms.web.connection: existing-chrome # device.serial: existing-chrome It preserves the personal profile and detaches automatically; profile-wide storage, network, proxy/CORS, tracing, tab closing, and access to unapproved tabs are disabled. For a running Chromium or Electron app exposing a local debugging endpoint, connection: existing-cdp attaches to one HTTP(S)/file page and leaves the app running at finish.
For parallel testing, configure platforms.web.url and omit --serial; context_slots provides independently leased browser contexts, with sticky agent ownership across commands. Console logs, JavaScript errors and network metadata arrive in meta.browser_diagnostics with each analysis and action observation. These features apply across the web platform.
Device-style app and database controls remain unsupported. Configuration, the exact capability boundary, and troubleshooting: docs/web.md.
Adding a platform adapter
Android is the default platform; iOS simulators and web browsers are also built in, all selected through a platform strategy. device.platform, --platform, or AUA_PLATFORM can select an installed adapter; third-party packages register adapters through the aua.platforms Python entry-point group. The choice is process/config scoped (not repeated on every command), and both target actions and optional services are gated: another platform never silently falls back to ADB. Optional simulator/emulator lifecycle uses the neutral virtual_targets capability and aua virtual-target ... commands; established aua emulator ... commands remain Android aliases. See Platform adapters for the contract and a minimal plugin skeleton.
Three steps, zero changes to engine.py or cli.py:
Subclass the relevant abstract base from providers/base.py:
OcrProvider — implement recognize(image) -> list[TextBox]
DetectionProvider — implement detect(image) -> list[Box]
GroundingProvider — implement locate(image, instruction) -> Point|Box; optionally implement ask(image, question, elements) -> ScreenAnalysisResult for aua ask
PolicyProvider — implement select(context) -> int|None; the context contains only privacy-screened projections of guard-approved candidates keyed by opaque IDs, and the provider never executes the authoritative call
Register with the decorator from providers/registry.py:
from android_ui_analyser.providers.registry import register_ocr @register_ocr("my_ocr") class MyOcrProvider(OcrProvider): ...
Add a models.my_ocr block in your config:
models: my_ocr: { some_option: value }
Each provider must implement is_available() -> tuple[bool, str] to declare whether its dependencies and credentials are present.
The daemon holds a warm target runtime (uiautomator2, AXe/simctl, or Playwright) and loaded vision models, eliminating per-call cold-start overhead. The CLI auto-detects a running daemon via a unix socket and forwards requests to it; without a daemon it runs in-process (always correct, pays startup cost).
aua daemon start # start the background daemon (+ the app orientation blob) aua daemon start --quiet # start it without the blob aua daemon status # check if running aua daemon stop # stop the daemon aua orient # the orientation blob on demand, any time daemon start prints a bounded current projection of what the tool already knows about the foreground app — description, screens, routes, selected deeplinks, login recipes, quirks, plus counts and an aua about pointer when more exists. Stale, wrong-version, and superseded facts retain their evidence but are filtered from about/orient. That is genuinely useful the first time in a session and pure noise on every restart afterwards, so --quiet suppresses it and aua orient prints it whenever you actually want it.
The daemon binds only to a unix socket (default ~/.cache/android-ui-analyser/daemon.sock; per-serial sockets when multiple devices are in play). No TCP port, no auth surface.
Optional: set daemon.push_ws_port in config to push screen_changed events over a localhost WebSocket so agents can wait without polling. Unchanged screens short-circuit via meta.via=hierarchy-unchanged / --format delta when perf.skip_unchanged_analyze is on.
Optional: aua-fast (C thin client)
Once the daemon is up, each aua … call still pays Python/typer startup. aua-fast is a ~35 KB binary that speaks the same unix-socket JSON protocol and falls back to aua if the daemon is down:
make -C native/aua-fast install # → ~/.local/bin/aua-fast (also built by ./install.sh) aua daemon start --quiet aua-fast analyze aua-fast tap 4 aua-fast has "Sign in" # exit 0/1 Hot commands: ping, analyze, devices, has, tap, key, input, swipe, wait. Everything else (and any unknown flags) exec's the full Python CLI. Host-side speedups (incremental analyze, delta/msgpack, WS push, fanout, vision defaults) are summarized in docs/NATIVE_ROADMAP.md.
Verified offline mode
Airplane mode alone does not prove an Android device is offline because Wi-Fi may remain active. Use the reversible network workflow for offline scenarios:
aua network status aua network offline --verify # snapshots controls, disables transports, verifies read-back # …exercise the offline scenario… aua network restore # restores and verifies the original controls/connectivity network offline checks airplane mode, Wi-Fi, mobile-data state, and ConnectivityService's active default network. It exits non-zero if a transport such as Wi-Fi, cellular, Ethernet, or VPN remains active. The per-device restore point survives separate CLI invocations and is kept after a failed verification; repeated offline calls never overwrite the original state. Restore points are boot-aware so a recycled emulator serial cannot apply settings from an older boot.
For constrained-but-online scenarios, apply exactly one reversible profile:
aua network profile list aua network profile apply wifi-only aua network profile apply cellular-only aua network profile apply slow # emulator EDGE bandwidth + 80-400 ms latency aua session start --goal "verify packet loss" --needs root aua network profile apply lossy --loss-percent 10 aua network profile status aua network profile restore Profiles never stack with offline mode or each other. slow uses the Android Emulator console and fails on physical devices. lossy uses tc netem on the active interface, requires a rootable Google APIs AVD, preserves whether adbd was originally rooted, and refuses to overwrite an unfamiliar existing root qdisc. The loss applies to packets leaving the selected interface. Restore points stay in place until live evidence confirms the original conditions returned.
Proxy / mock (HTTPS record & replay)
Optional extra: pip/uv install with [proxy] (pulls mitmproxy). Apps whose Network Security Config trusts system CAs only need a rootable emulator and a system CA install (see Emulator):
aua emulator ensure-proxy # one-time rootable image setup aua session start --goal "record login HTTPS" --needs root,proxy aua proxy start # random high port + system CA by default aua mock record start login_flow # … drive the app … aua mock record stop login_flow # cassette under memory.dir/cassettes/ aua mock map GET /v1/foo --status 200 --body '{"ok":true}' aua mock replay login_flow aua proxy stop aua session finish Empty cassettes almost always mean TLS rejected the forged cert (Play Store AVD / no system CA) — not “no traffic”.
Backend changes vs. shipped app versions (aua api)
No device. aua api check exports the backend's OpenAPI spec at a base ref and in the working tree, reads every client repository through git at its release tags, and reports each change an already-shipped client can feel beside the client versions and source lines that call it:
# aua-api.yaml — relative repo paths resolve against this file backend: repo: . base: origin/main spec_command: python scripts/export_openapi.py {out} # {out}, {repo}, {checkout} clients: - name: android repo: ../example-android scanner: retrofit # @GET("items"), @HTTP(method = …, path = …) in *.kt / *.java base_path: /api/v1/ tags: "v*" # one entry per released version… version: {tag_pattern: '^v(\d+\.\d+\.\d+)'} # …or {file: …, pattern: …} min_version: "3.0.0" # older versions cannot reach the backend anyway max_versions: 10 - name: web repo: ../example-web files: ["src/*"] exclude: ["*.test.*"] pattern: '(?P
Test a backend the way the app calls it (aua api run)
No device. A cartridge is a short YAML file holding the requests a client app sends for one user flow: a new install's first sign-in, then the feature's calls, with values such as a token or an id passed from one response to the next request. An agent writes it from the app's networking code (aua api sample prints an annotated example for a fictional app), and anyone working on the backend can run it without the app:
aua api sample > notes-ask.yaml # start here, then copy the app's real calls # Secrets come from the environment, e.g. `aua config exec --env-file .env -- aua api run …` aua api run notes-ask.yaml --base-url http://localhost:8000 --save-expect # once, on a backend that works aua api run notes-ask.yaml --base-url http://localhost:8000 # after every change aua api run notes-ask.yaml --input question="Is it raining?" # same flow, other input cartridge: 1 base_url: https://api.example.com env: [EXAMPLE_CLIENT_KEY] # read from the environment, never stored in the file inputs: {question: What do I need to buy?} headers: X-Client-Key: "{{env.EXAMPLE_CLIENT_KEY}}" X-Install-Id: "{{install.id}}" # one UUID per install: per --session, else per run steps: - id: session method: POST path: /v1/sessions/anonymous once: true # skipped when a --session already holds the token save: {token: body.access_token} # body.
A stream step also reports event_ms: when each kind of event first arrived, so the time to the first reply text (a delta event, say) is visible apart from the stream merely starting.
Write a shared sign-in once (flow:)
A step that says - flow: sign-in.yaml is replaced by that cartridge's steps, so the sign-in every flow starts with lives in one file beside them:
steps: - flow: sign-in.yaml # its steps, sent with its own headers, inputs and secrets - id: create_note method: POST path: /v1/notes headers: {Authorization: "Bearer {{token}}"} The shared file is a cartridge like any other, so it also runs on its own: aua api run sign-in.yaml --session dev signs in and does nothing else, and every later run with --session dev is that user. A session keeps a copy of the shared file beside its flow, so a handed-over session still finds it.
Keep one user across runs (--session)
Without a session every run is a new install and a new user. With one, the next run is the same user on the same install, so you can fix the backend and go on from where the last run stopped:
aua api run chat.yaml --base-url http://localhost:8000 --session bug-12 # signs in, chats # …fix the backend, restart it… aua api run continue-chat.yaml --session bug-12 # same user, same chat, same backend aua api session list # sessions, what each kept, when each goes aua api session export bug-12 # bug-12.aua-session.zip, to hand it over aua api session import bug-12.aua-session.zip # on their machine, to continue it there aua api session delete bug-12 A session keeps every value its runs save (the token, a chat id) and every {{install.NAME}} id, which stays the same for the whole session (a device id). A step marked once: true, the sign-in, is skipped when the session already holds every value it saves, and a step can save what it sent (request.json.
Each run is logged in full in the session's runs/: every request and response, secrets and tokens hidden, beside a copy of the flow and of the map version it was checked against. So an export holds what someone needs to continue: the sign-in, the logs, the flows and the schema; the client's keys are never in it, and the receiver uses their own. Sessions live in ~/.android-ui-analyser/api-sessions/, readable only by you, and one nobody has used for 14 days is removed. An export holds a live sign-in: send it only to people who may act as that user.
Versioned maps: simulate a specific app version
To answer "does version 3.1 of the app still work with my backend change?" without an emulator, keep a map next to the aua-api.yaml config (map: aua-map by default): one folder per client version, each holding a schema.yaml (what that version needs back from every endpoint it calls) and the flows/ it runs. AUA runs no model here. The calling agent reads the client's code at the version's tag and writes the files; AUA finds tags, diffs versions, reports what is still unmapped, and checks every response against that version's schema.
aua api map # mapped versions, what each lacks, releases not mapped aua api map new android 3.1.0 --from 3.2.0 # tag + commit, the calls to map (file:line at the tag), # and which calls and API files changed since 3.2.0 aua api run aua-map/android/3.1.0/flows/chat.yaml --base-url http://localhost:8000 aua api map freeze android 3.1.0 # once it passes against a backend that works aua api map new android next --ref main # unreleased code: mapped, never frozen # aua-map/android/3.1.0/schema.yaml — written from that version's data models endpoints: "POST /v1/notes": response: body: id: string # required: absent or null, 3.1 cannot decode the reply state: enum(draft, published) # a value 3.1 does not know is a break pinned?: boolean # optional: may be absent or null title: string? # must be present, may be null "POST /v1/assistant/replies": response: events: done: {reply_id: string} # an event 3.1 needs in every stream tool?: {name: string} # one it decodes only when sent A flow inside a version folder is checked against that schema: each step reports which endpoint it matched, a decode_fails break for a required field that is missing, null, retyped or an unknown enum value, and optional_absent for optional fields the backend left out. Label steps with screen: Chat to read the result screen by screen. A released version's code never changes, so freeze records every schema endpoint and flow; a later edit to one is reported by aua api map and aua api run, while newly mapped endpoints and flows are additions and freeze on the next freeze. Inside a one-line {…} mapping, quote anything with a ? ({"name?": string}), as YAML requires.
Dashboard (sneak-peek headless runs)
# Start/reuse the dashboard. By default it is reachable at a name you can type: aua dashboard start # → publishes aua.local over mDNS, binds port 80, serves http://aua.local/ with no token aua dashboard status aua dashboard open aua dashboard stop # Phone on the same network (Android browsers cannot resolve .local): aua dashboard qr # → writes and opens a QR code for the phone URL # Narrow it when you are not on a network you control: aua dashboard start --local # loopback only, no published name aua dashboard start --auth # keep the network bind, require an access token aua dashboard start --name "" # publish no name aua dashboard start --port 48765 # pin an exact port # Compatibility and foreground debugging: aua dashboard # alias for `dashboard start` aua dashboard start --detail # focus the first online device aua dashboard run # foreground; Ctrl-C stops it The default is open on your network. aua dashboard start binds every interface, publishes aua.local, and serves without a token, so the dashboard is something you type rather than something you scan. Be clear about what that means: anything that can reach the port gets the whole dashboard, which drives the device, streams logcat (routinely carrying auth tokens and user identifiers), and queries app databases. Every start prints a warning saying so. Use it on a network whose members you would hand your unlocked phone to — a home LAN, not an office guest SSID, a coworking space, or a hotel — and use --auth or --local anywhere else.
Change the default once instead of typing a flag every time:
# $XDG_CONFIG_HOME/android-ui-analyser/config.yaml dashboard: name: aua # mDNS name to publish; null or "" publishes nothing lan: true # bind every interface rather than loopback only auth: false # require an access token on network access port: null # exact port; null means 80 with a name, else 48765 A typed flag always beats config, in both directions: --auth re-arms the token for one start and --no-auth drops it, --local/--lan move the bind, --name "" publishes nothing.
Publishing the name needs no privilege — dns-sd on macOS and avahi-publish on Linux register a host record as an ordinary user — so nothing edits /etc/hosts and nothing prompts for a password. The record lives in a child process that dies with the dashboard, so a stopped dashboard leaves no name pointing at a closed port; a host with no publisher simply keeps its IP URL. Resolving .local is the client's job: macOS, iOS, and Windows 10+ do it natively, Android browsers do not — so a phone still uses aua dashboard qr.
Port 80 is a preference, not a requirement: macOS lets an ordinary user bind it, Linux does not without CAP_NET_BIND_SERVICE. When the default port cannot be bound the dashboard starts on 48765 and says so, but a port you pinned with --port is never quietly moved. Service mode never walks to a nearby port — if the chosen port belongs to another process, startup fails and names the collision — and status, open, qr, and stop follow the running dashboard's port without you repeating it.
With --auth, every page, frame, journal, log, and control endpoint requires the generated access token; the browser exchanges the one-time URL token for an HttpOnly cookie and removes it from the address bar. Either way the dashboard speaks plain HTTP, so never expose the port through a router or public Wi-Fi.
The page live-polls capture frames + recent action marks. In a device detail view, the Agent I/O journal keeps rows compact while they stream; expand any row to inspect the full agent request and AUA response. Full payloads load only on demand, and credentials, SQL, bind parameters, typed input, microphone speech, and audio paths remain redacted. Events recorded by an older AUA version expand to the compact payload that was retained at the time. After input or microphone commands, free-form response strings are hidden as well: a UI can split or transform a private value, so exact-string replacement alone is not a privacy boundary.
Grid tiles and device detail headers show the live lease holder separately from the owner that started the emulator. They also show the AUA idle watchdog state and remaining auto-stop time. Auto-stop is lease-gated: reaching the idle threshold never stops a device while a live agent still holds its lease. Emulators AUA did not start report auto-stop n/a; an explicit --idle-stop 0 reports auto-stop off.
In the same detail view, the App database workspace discovers databases for the foreground package, browses schema, runs bounded read-only SQL, creates/lists restore points, and exposes guarded mutation and restore actions. Mutation requires typing MUTATE
App database inspection and mutation
For an installed debuggable build, use AUA instead of composing adb run-as, DB/WAL copies, host SQLite, and push-back commands yourself:
aua db list com.example.app aua db schema com.example.app app.db aua db schema com.example.app app.db --table messages aua db query com.example.app app.db \ "SELECT id, state FROM messages WHERE chatId = :chat" \ --params '{"chat":"abc"}' --limit 100 Android system images frequently omit the sqlite3 executable. Read-only queries copy the selected database plus its WAL through run-as while the app keeps running, then use Python SQLite in read-only mode so the current screen and navigation state are preserved. Pass --coherent when transactional coherence matters more than UI continuity; that mode stops the package, includes WAL/SHM in the snapshot, and relaunches by default (--no-restart leaves it stopped). Queries use SQLite query_only, a row limit, and a timeout; blobs are returned as base64 metadata.
Data mutation is explicit and recoverable:
aua db execute com.example.app app.db \ "UPDATE messages SET state = :state WHERE id = :id" \ --params '{"state":"FAILED","id":"m1"}' --yes aua db backups com.example.app app.db aua db restore com.example.app app.db
aua mcp runs an MCP server over stdio, exposing the same tools as the CLI. It is a thin adapter over the engine — no separate perception logic.
For web tasks, aua --platform web mcp --tool-profile web advertises a smaller catalogue of session, UI, map/flow and browser tools. AUA_MCP_TOOL_PROFILE=web is the equivalent environment setting. The compatible default is full; profiles are explicit and do not select the platform. See web MCP setup for configuration and restart behavior.
Tools include (non-exhaustive): analyze_screen, tap_and_analyze, double_tap_and_analyze, long_press_and_analyze, drag_and_analyze, input_and_analyze, mic_inject_and_analyze, mic_speak_and_analyze, clear_and_analyze, swipe_and_analyze, scroll_and_analyze, scroll_to_and_analyze, key_and_analyze, wait_and_analyze, wait_stable_and_analyze, wait_changed_and_analyze, has, expect, screenshot, inspect, goto, flow_run, navigate, policy_status, list_devices, virtual_target_list / virtual_target_status / virtual_target_start / virtual_target_provision / virtual_target_create / virtual_target_delete / virtual_target_stop / virtual_target_reclaim, plus the Android aliases emulator_list / emulator_status / emulator_start / emulator_stop (stop before exit — MCP also auto-stops emulators it started when the server process ends), open_link_and_analyze, app, install_app, resolve, clipboard/paste/copy/erase, location/orientation/airplane/network/network-profile/media/record/clock, capture_*, dev_profile, a11y_scroll_and_analyze, flags_apply_and_analyze, database_list / database_schema / database_query / database_execute / database_backup / database_backups / database_restore, map/reconcile_*/knowledge_*, proxy_start / proxy_stop / mock_replay, configure, app_log_prefs_get / app_log_prefs_set.
The full MCP profile also exposes development_tools_status, development_tools_setup, development_tools_catalogue, and development_tool, plus preview_list, preview_render, preview_inspect, preview_check, journey_validate, journey_start, journey_status, journey_check, journey_record, and journey_finish. Profiling uses development_tool with the catalogue's profiler operations; profile_kind: "heap" selects heap session status or cancellation without affecting an owned trace.
Example MCP client config (Claude Desktop / claude_desktop_config.json), running the latest release from PyPI:
{ "mcpServers": { "android-ui": { "command": "uvx", "args": ["aua", "mcp"] } } } The same server pinned to one release, with the OCR and emulator-audio extras:
Most users should instead install the plugin (see Installation help) — it activates automatically and keeps the skill and MCP server on the same release. Use the snippet below only if you prefer inline per-project instructions over the plugin.
Paste this into your project's CLAUDE.md to teach Claude Code how to use aua:
## Android UI testing with `aua` Use `aua` to inspect and drive the connected Android device. ### Getting elements on screen ```bash aua --format tsv analyze # readable: one element per line, noise filtered out aua --format compact analyze # get element IDs (smaller token footprint) aua analyze # full JSON with all fields Elements are returned with tracked el: handles. By default, action commands already return the next screen in observation with fresh IDs, so you usually do not need a separate analyze immediately after state-changing actions.
A handle follows a uniquely identified element through scrolling and reordering. Repeated child controls are distinguished by their owning row's content and ancestry. Input values and checked, enabled, focused, and selected state do not determine identity. AUA refuses absent, changed, ambiguous, or expired handles with a fresh observation, without sending the action.
Session bootstrap publishes the same handles as analysis and actions. On clickable list rows with a title, a trailing English relative age such as 3 days ago is treated as state; changing it to 4 days ago keeps the handle and the original text remains visible. Rows with the same title and different ages are ambiguous. Bare ages, other text changes and unrecognized date formats still expire handles conservatively.
Handles persist across CLI/daemon restarts on the same attested target boot and adapter configuration. Without boot identity they remain local to the connected runtime. Records are bounded, so old handles can expire. Identical items without distinguishing semantics cannot be tracked reliably; visual-only identities may also expire when rendering changes. The separate stable_key remains a reusable selector fingerprint: rid:row#1 means the first matching row on the current screen. Prefer id for acting on a previously observed item, and semantic selectors for saved flows. Integer ordinals remain supported for older scripts but belong to their cached observation.
Asking for fewer rows and columns (don't post-process the JSON)
Most of a screen is status-bar chrome and unlabelled containers, and you usually want four columns out of eighteen. Say so in the same call:
aua --format tsv analyze # id, text, rid, clickable aua --format tsv analyze --fields id,text,rid,bounds # your columns, your order aua --format tsv analyze --all # keep the noise too aua --format tsv analyze --region 0,0,1080,300 --clickable # the header's tap targets aua --format tsv analyze --where-text "Browse" # case-insensitive substring aua --format tsv analyze --where-rid homeTab --limit 5 aua --format tsv analyze --no-meta # no `#` comment lines at all aua --format compact analyze --fields id,rid --nonempty # same views, JSON output --fields names: id, type, text, rid (short tail) / resource_id (full selector), desc / content_desc, bounds, center, clickable, enabled, focused, checkable, checked, selected, scrollable, long_clickable, password, parent, source, confidence. A wrong name exits 2 and lists the valid ones — before touching the device.
--format tsv implies --nonempty --no-system (drops rows with no text/id/desc, and status-bar chrome). --all opts out. JSON formats filter nothing unless you ask.
--no-wrappers (opt-in) drops the app's own id'd layout scaffolding — app_bar, content_frame, collapsing_toolbar: nodes that are unlabelled, non-actionable, and wrap something else. Leaves stay (an unlabelled leaf is the icon you tap), and so do actionable or scrollable containers. Worth it on View-based apps, where such wrappers can be most of the top of the list; Compose apps barely notice. --nonempty does not drop them — they do have a resource-id, which is exactly what makes them addressable.
Filters of different kinds AND together; repeating one kind ORs together (--region A --region B = either box).
IDs are never renumbered. The id in a filtered row is the id aua tap-and-analyze takes.
--meta
Reading interaction state (is that switch on?)
Every element carries the a11y interaction flags, so a boolean question needs no screenshot:
$ aua --format tsv analyze --where-rid switch_widget --fields id,type,checkable,checked # screen=accessibility package=com.android.settings 1080x2400 # elements=24 shown=2 tier_used=hierarchy duration_ms=220 id type checkable checked 16 Switch true true 19 Switch true false selected tells you which tab is active; scrollable tells you which container really scrolls. These are tri-state: true/false when the node reported the attribute, and empty/null when genuinely unknown (a vision-derived element has no a11y attributes), so off never masquerades as unknown.
aua tap-and-analyze
Quick checks (no full analyze needed)
aua has "Sign in" # exit 0 if present, 1 if not — use to branch cheaply aua has "Submit" --match exact Prefer aua has over re-analyzing when you only need to confirm presence.
Handling Compose / Flutter / WebView / game screens
When analyze returns few or no elements, the hierarchy is empty (common for Compose without semantics, Flutter, or canvas apps). Use:
aua analyze --source vision --annotate This runs detection + OCR and writes an annotated PNG (numbered boxes) to the path shown in meta.annotated_image. Element IDs work the same way.
When you must actually LOOK at the screen
Reading a full 1080x2400 PNG is expensive. Capture only the part you need:
aua screenshot --out /tmp/header.png --region 0,0,1080,300 # crop before writing aua screenshot --out /tmp/small.png --max-width 320 # downscale (never upscales) aua screenshot --out /tmp/half.png --scale 0.5 aua screenshot --annotate # full screen + numbered marks The written path comes back as detail (aua screenshot … | jq -r .detail). Regions are screen pixels and are clamped to the screen; a box that misses it entirely exits 2. --annotate can't be combined with cropping — marks are placed in full-screen coordinates.
Semantic / fuzzy target lookup
aua analyze --query "the Submit button" # tries hierarchy first, grounding only if needed aua analyze --query "the blue icon top-right" --deep # force grounding escalation Navigating to known screens
aua remembers each app's screens and routes. Every analyze returns meta.suggested_gotos (ranked, ready-to-run) and meta.known_routes. To jump to a screen the tool has seen before, in one command:
aua goto "product detail" # taps + verifies each hop along the remembered route aua goto "settings" --plan # preview the route without acting Prefer goto over manual tapping whenever your target is listed in suggested_gotos.
aua --format compact analyze → read element IDs from JSON output.
aua tap-and-analyze
aua has "
aua --format compact analyze again for the new screen.
--- ## Output schema summary ```json { "schema_version": 1, "screen": { "width": 1080, "height": 2400, "package": "com.example", "activity": ".Main", "source": "hierarchy" }, "elements": [ { "id": 0, "type": "Button", "text": "Sign in", "resource_id": "com.example:id/sign_in", "content_desc": null, "bounds": [120, 1500, 960, 1610], "center": [540, 1555], "clickable": true, "enabled": true, "focused": false, "source": "hierarchy", "confidence": null } ], "meta": { "duration_ms": 42, "tier_used": "hierarchy", "path": "hierarchy", "providers_used": ["hierarchy"], "known_screen": "home", "known_routes": ["tap 'Catalog' → catalog"], "suggested_gotos": ["goto product_detail"], "map_hint": null, "annotated_image": null, "device_serial": "emulator-5554", "device_locale": "es-ES" } } meta.device_locale is the device's UI locale — labels render in it, so match text you observed on screen (or use locale-proof resource-ids) rather than literals written in another language. On a text miss, has/wait --for/scroll-to echo the locale plus a hint — language-neutral, so a query in any language crossed with any device locale is caught. After aua explore mine
compact format drops null fields and verbose defaults for the smallest token footprint. pretty is indented JSON. tsv is one element per line. delta / msgpack are for warm- daemon / native hot paths (unchanged hierarchy → tiny payload). All formats validate against the same pydantic schema where applicable.
Action-command responses also carry a compact contract so analyze is usually not needed:
{ "ok": true, "action": "tap", "observation_present": true, "known_screen": "chat", "stable_elements": [ { "id": 25, "stable_key": "compose_input" }, { "id": 26, "stable_key": "send" } ], "action_diff_summary": { "added": 0, "removed": 0, "changed": 2, "prev_count": 17, "curr_count": 17 }, "note": "No separate analyze needed; state is in observation.", "observation": { ... }, "capture_hint": null } If observation_present is false, the action was run as --no-observe; run a normal analyze to refresh ids and state.
Errors print a structured object to stderr: {"error": {"code": ..., "message": ..., "hint": ...}}.
Run aua --help, or aua
All action commands (tap, long-press, input, clear, swipe, scroll-to, key, …) return the post-action screen inline by default (an observation with fresh element IDs), so you rarely need a follow-up analyze. Pass --no-observe to skip it. Prefer aua --format tsv analyze when reading a screen; use global aua --with-image … only when you must see pixels.
docs/preparing-a-test.md — aua prepare: agree what a test must prove with the agent that wrote the feature, then keep the scenario.
docs/ARCHITECTURE.md — design decisions and the hierarchy-first thesis.
docs/NATIVE_ROADMAP.md — aua-fast, delta/msgpack, WS push, fanout, vision defaults.
docs/RESEARCH.md — landscape research behind the approach.
SMOKE.md — manual smoke-test checklist against a live device.
.claude/skills/android-ui-analyser/SKILL.md — the operating manual an AI agent loads (also via aua guide).
Created and maintained by Eiliya — design, architecture, and direction. Parts of the implementation were written with AI coding assistants (Claude Code, Cursor); those contributions are recorded as Co-Authored-By trailers in the commit history.
Issues and ideas: The-Wordlab/Android-UI-Analyser.
Released: Dec 1, 2026
Author/Maintainer: Eiliya
MIT AND LicenseRef-Gemma-Terms-of-Use View SPDX License List
all apple audio dev easyocr functiongemma hybrid-policy lxml omniparser paddle proxy rapidocr tesseract typesafe web yolo
accessibility agent ai-agents android ios mcp ocr set-of-marks ui-testing uiautomator2 web
Development Status 4 - Beta
Intended Audience Developers
Operating System MacOS
Programming Language Python :: 3
Topic Software Development :: Quality Assurance
Software Development :: Testing
Release files for android-ui-analyser 0.52.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 64.2 MB
Release files / android_ui_analyser-0.52.1.tar.gz
Security for android-ui-analyser 0.52.1
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Dec 1, 2026 2 release files No provenance
Nov 28, 2026 2 release files No provenance
Nov 27, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from b524974











