Appdyno
<h1 align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/images/logo.dark.svg">
<img src="docs/images/logo.svg" width="320" alt="appdyno">
</picture>
</h1>
<p align="center">
<b>Reproduce a mobile bug, find its cause with measurements, and turn the same flow into a test that runs again.</b><br>
appdyno lets an AI agent drive, test and measure your iOS and Android app.<br>
An MCP server, a command line, a TypeScript library and a Mac app, on simulators, emulators and real phones.
</p>
<div align="center">
**English** · [Türkçe](README.tr.md)
[](https://www.npmjs.com/package/appdyno)
[](https://github.com/fatihcimen/appdyno/actions/workflows/ci.yml)
[](LICENSE)
[](https://glama.ai/mcp/servers/fatihcimen/appdyno)
**Upgrading?** From 1.4, a flow's `audit` step counts only the accessibility failures that are certain: [Upgrading from 1.4 to 1.5](docs/guides/upgrade-1.5.md) has what to change. From 1.3, the gate exits 3 on a change it could not decide: [Upgrading from 1.3 to 1.4](docs/guides/upgrade-1.4.md) has what to change. From 1.2, 1.3 renamed the tools: [Upgrading from 1.2 to 1.3](docs/guides/upgrade-1.3.md).
</div>

<p align="center"><sub>A real run, not a mock-up: an MCP client makes the calls in the terminal, with their real times, while the hub shows the phone and reads it.</sub></p>
An agent reads the screen as elements, taps, types and swipes. It sends a push, opens a deep link, and measures how the app starts, scrolls and holds its memory. Every action answers with the screen once it has settled, so the agent sees what it did in the same call. You can watch and touch the same device in a live window. It all runs on your Mac, with no cloud and no telemetry.
Works with any MCP client that starts a local server. How each one stands:
| | clients | what was done |
| ----------------------------- | --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Tested** | Claude Code, Gemini CLI, opencode | each connected and listed the tools on 2026-11-04: Claude Code 2.1.318 over stdio and HTTP, Gemini CLI 0.66.0, opencode 1.19.5. Claude Code 2.1.319 was then run against an iPhone 17 Pro simulator (iOS 27.2) and an API 34 emulator, on 2026-11-08 and 2026-11-09 |
| **Set up, not yet connected** | Codex, Cline | `appdyno install` wrote each one's file, and Codex CLI 0.166.0 and Cline CLI 3.0.74 read it and listed appdyno; neither connected, on 2026-11-04 |
| **Should work** | Claude Desktop, ChatGPT, Cursor, VS Code, Devin Desktop (formerly Windsurf), Antigravity, Zed | not tried: each needs an account, a licence or a window. `appdyno install` writes each one's file as its own documentation says |
[What this was tried on](docs/guides/clients.md#what-this-was-tried-on) has every run.
## Quick start
On a Mac with Node 22 or newer:
```sh
npx -y appdyno install # adds appdyno to the MCP clients on this Mac, asking which
```
Restart the client, start a simulator or an emulator or connect a phone, and ask your agent:
> Open my app, go through checkout, and tell me what breaks.
Each step answers with what the device showed. When a tap takes the app down, that same answer says so, with the crash and the app's last log lines. A real one, from this repository's [shop example](docs/examples/shop/README.md) on an iPhone simulator, where three of one product take the order down:
```text
APP_NOT_RUNNING: tapped @7rwa "Place order"; the app died: EXC_BREAKPOINT SIGTRAP Trace/BPT trap: 5 (~/Library/Logs/DiagnosticReports/Shop-….ips)
its last log lines:
2026-11-13 15:04:41.624 Df Shop[46315:14884fe] (libswiftCore.dylib) Swift/ContiguousArrayBuffer.swift:695: Fatal error: Index out of range
launch_app starts it again; why it died is above, with its last log lines, and read_logs with source crashes has the whole report
```
`read_logs` with `source: crashes` then names the function, `discount(forQuantity:)`, and the same checkout saved as a flow fails in CI until the bug is fixed.
Ask it as well to send your app a push, to open each link your app opens, or to measure its cold launch and keep it as a baseline. `npx -y appdyno doctor` says what this Mac is missing, and [Install](#install) covers a phone, the Mac app and any other client.
## New in 1.5
- **Accessibility, judged by WCAG.** Each finding names the criterion it fails, how sure it is, what was measured, the toolkit that drew the element and the API to change there. A text's contrast is read as a person sees it, and no answer claims conformance: [Accessibility standards](docs/reference/tools.md#accessibility-standards).
- **A screen checked again under each setting.** Larger text, dark mode, more contrast, bold text and landscape are each set, checked and put back, and a flow runs again in a right-to-left and a long pseudo-language: [Flows](docs/guides/flows.md#counts-the-clipboard-a-notification-and-an-audit).
- **An accessibility baseline the repository keeps.** CI fails on a new finding, and not on the ones a team accepted: [Accessibility baseline](docs/guides/accessibility-baseline.md).
- **Whose views they are.** `read_screen` `views` says whether SwiftUI, UIKit, Compose or Android's own views made each view, a release build's Compose nodes among them: [Native views](docs/reference/tools.md#native-views-on-a-simulator).
- **An iPhone's settings, set in its Settings app.** The runner sets Web Inspector, Auto-Lock, AssistiveTouch and the phone's language as a person does, and puts each back: [What only the Settings app holds](docs/reference/tools.md#the-whole-iphones-language-and-what-else-only-its-settings-app-holds).
- **A saved device passcode.** Saved write-only and typed on the device's own lock screen, for runs nobody watches. Nothing reads it back: [A saved device passcode](docs/reference/tools.md#a-saved-device-passcode).
- **Inside a web view and a React Native app.** `inspect_app` `web_measure` gives an element's boxes and its computed style, and `rn_dev_menu` opens the dev menu on a simulator, an Android device and an iPhone: [Web views](docs/guides/evidence.md#web-views).
- **A Mac app that switches at once and keeps its size.** In the hub, a return to a simulator shows its first frame in 112 ms, where it took 506 ms, and a switch from a simulator to an emulator in 154 ms, where it took 284 ms. Going between two devices, its memory stays within 2 MB in a run, between 202 and 221 MB across runs, where it grew from 403 to 802 MB in 15 rounds. Behind another window, the Device pane holds the main thread 25 ms at most, where it held it 116 to 165 ms: [The window and the hub](docs/reference/mirror.md).
Two changes can break a 1.4 setup, both in a flow's `audit` step and an accessibility issue's `rule`: [Upgrading from 1.4 to 1.5](docs/guides/upgrade-1.5.md) has them. The [changelog](CHANGELOG.md) has every change.
## One call, one answer
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/images/one-call.dark.svg">
<img src="docs/images/one-call.svg" alt="An AI agent asks to tap Dark. appdyno finds the element on a fresh read and taps it on the device, waits until the screen is still for 200 ms, at most 3 s, and answers with the settled screen and what changed">
</picture>
There is no second call to look, and no fixed sleep: an answer says `settled` when the screen came to rest, and `changed` when it differs from before. A refusal has a code and a hint for the next step.
## What an agent can do
| what an agent can do | its tools |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| **See and act.** Read the screen as elements and act on one by text, id or ref: tap, type, swipe, scroll to it, long press, drag, pinch, press a key. Up to 30 steps in one call, and up to 4 devices in one session, each by a name. | `use_device` `read_screen` `tap_screen` `type_text` `swipe_screen` `press_key` `run_steps` `check_element` |
| **Native views.** The view tree, headed by the framework that draws it: SwiftUI, UIKit, Compose, Flutter, React Native or a web view, on a simulator and on Android, with whose API each view is changed through and what places one view. | `read_screen` `views` |
| **Inside an app.** A web view's pages and elements, with an element's boxes and computed style. A React Native app's dev menu and reload. An app's files, preferences and databases. | `inspect_app` `transfer_files` |
| **Push notifications.** Send a push of each type the device takes, from a title and a body or from the platform's own JSON. | `send_push` |
| **Links.** Open a deep link, a universal link or an App Link. List the links an installed app opens. | `open_link` |
| **Conditions.** Dark mode, text size, bold text, language, a slow network, airplane mode and biometrics, each put back when the session ends. A location or a GPX route, the way the screen is turned, VoiceOver or TalkBack, and a colour filter. On an iPhone, the settings only its Settings app holds, and a saved passcode opens a locked device. A memory warning, a shake, photos into the library, and the app ended in the background, as the system ends one to free memory. | `set_device` `transfer_files` `manage_app` |
| **Measure.** Launch time, frames, memory, CPU, network bytes and energy, read from the platform's own tools and kept with their raw output. A gate fails a change that made the app slower, and `appdyno measure` watches the app while your own tests run. | `measure_performance` `compare_performance` |
| **Evidence.** Video, a report of each step, logs, crashes, network traffic on a simulator, Android and an iPhone, with requests mocked, held, sent again or made to fail, accessibility judged by WCAG, visual diffs, and a problem report to read before you open an issue. | `record_session` `read_logs` `capture_network` `check_screen` |
| **Flows.** What an agent did once runs again with no model, on another device, on several at once, and in CI, where `appdyno test --parallel` runs the files in lanes on a pool of devices. | `run_flow` |
| **A person, too.** A live window you can touch while the agent drives. When only a person can go on, such as at Face ID, the agent asks one and waits until they say done. | `show_mirror` `ask_person` |
All 28 tools are in [Tools](docs/reference/tools.md), with [the names from before 1.3.0](docs/guides/upgrade-1.3.md#names-before-130). Each is also [a command](docs/reference/cli.md), and a call in [the library](docs/reference/library.md).
### Push notifications and links

<p align="center"><sub>A real run on a simulator, through MCP, with the times it took on a busy Mac.</sub></p>
`send_push` sends a push by type, and answers with the screen after it. Asked with no type, it says which types this device takes, how each one is delivered, and the payload it would send.
- **On a simulator** an alert goes by `simctl` and reaches the app's own code, from fields or from APNs' own payload with a badge, a sound and a category.
- **On Android** a push always goes to the app itself. A debuggable build that includes Firebase Messaging takes alert, rich, background and Live Activity pushes as real FCM messages, handed straight to its Firebase SDK, with no Firebase project or key. `tapped` opens the app as a tapped notification does, with the push's data in the intent that launches it. Any other build takes `tapped` only, and the answer says what the rest need.
- **With APNs set up** by a person, with `appdyno push setup apns`, a simulator also takes rich, background, Live Activity, VoIP and widget pushes by APNs' sandbox, and a real iPhone on its cable takes those and an alert. Behind strict controls: the sandbox by default, a token only from the app's own log or typed by a person in a window's Push pane, 4 KB at most (5 for VoIP), 10 pushes a minute, and no key or token in any answer or log.
- **With FCM set up**, with `appdyno push setup fcm`, an Android device takes alert, rich, background and Live Activity pushes by FCM, behind the same kind of controls.
Until APNs is set up, a real iPhone takes no push, and the answer says so. FCM's own message was run on an API 34 emulator, and its data pushes on a Samsung phone too. The requests to Apple and Google are tested against recorded ones, and the sending to Apple against a local stand-in server: no push has yet gone through Apple's or Google's own servers in testing.
`open_link` opens a deep link, a universal link or an App Link and answers with the screen it led to. Given an app's id, it lists the links that app opens: on a simulator its URL schemes and the domains its signature names, on Android each filter as `scheme://host/path` and each App Link domain with the state Android verified it in.
[Push notifications](docs/reference/tools.md#push-notifications) has every type on every device, and what was run on what.
### The live window and the hub
<img src="docs/images/hub.webp" width="100%" alt="The hub in its dark look: an iPhone simulator live in Settings while an AI client scrolls it, and the Performance pane reading the picture at 84 frames a second, CPU and memory">
`appdyno hub` opens every device on this Mac in one window, driven by mouse and keyboard while an agent drives it too. Its Performance pane reads frames, CPU and memory as they happen. AI Clients shows each MCP client on this Mac as it truly stands, and adds appdyno to it. A phone joins by cable, or by Wi-Fi once paired with `appdyno pair`. See [The window and the hub](docs/reference/mirror.md).
<p>
<img src="docs/images/window.webp" width="49.5%" alt="A simulator's own window in its light look, with a test app's push on the home screen">
<img src="docs/images/window-push.webp" width="49.5%" alt="A simulator's own window in its dark look, with its Push pane open: the app's id, the type Alert and what it sends, and a title, a body and data filled in">
</p>
<p align="center"><sub>A device's own window, light and dark. Its Push pane sends by <code>send_push</code>, as an agent does, with the types this device takes.</sub></p>
### A person approves what loses data
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/images/approval.dark.svg">
<img src="docs/images/approval.svg" alt="An AI agent asks to clear an app's data. appdyno stops, as this loses data, and asks the person in the client's own prompt, naming the app, the device and what is lost. The person says yes, and only then does appdyno clear the data and answer the agent. On a no, or no answer, nothing is done">
</picture>
Nothing the agent sends counts as a yes, and no tool erases or resets a device. [What asks the person first](docs/reference/tools.md#what-asks-the-person-first) lists each action, and how a person allows them ahead of time.
## On each device
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/images/devices.dark.svg">
<img src="docs/images/devices.svg" alt="What works on each device: an iOS simulator, an iPhone, an Android emulator and an Android phone, row by row, from reading the screen to biometrics and the network">
</picture>
| device | what it needs |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| iOS simulator | Xcode. No account and no signing |
| iPhone | Xcode and Developer Mode. On iOS 27 and later that is all, driven with nothing installed; to measure, and on iOS 26 and earlier, a development signing identity with a profile for it |
| Android emulator | adb, from Android Studio or Google's platform tools |
| Android phone | adb, and USB debugging. Wi-Fi once paired |
[What works where](docs/reference/perf.md#what-works-where) has every measure on every device, and how each was proved. An iPhone's live picture is experimental, and rests on undocumented Apple services that may change.
## Install
The shortest path, by how you will use appdyno:
| you want | do this |
| --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| appdyno in your MCP client | `npx -y appdyno install`, then restart the client. It asks which clients, and `--dry-run` shows the change first |
| the desktop extension, with no terminal | download `appdyno-<version>.mcpb` from the [latest release](https://github.com/fatihcimen/appdyno/releases/latest) and open it in Claude Desktop. `scripts/check-mcpb.mjs` runs the server the file unpacks to; opening the file in the app has not been tried here |
| the Mac app, by Homebrew | `brew install --cask fatihcimen/appdyno/appdyno`, then choose Add to MCP Clients in its menu bar, and restart the client |
| the Mac app, with no terminal | download `Appdyno-<version>-arm64.dmg` from the [releases](https://github.com/fatihcimen/appdyno/releases), drag it to Applications, and choose Add to MCP Clients in its menu bar, then restart the client |
| the library, in a TypeScript project | `npm install appdyno`, then `import { connect } from 'appdyno'`: see [Library](docs/reference/library.md) |
Each needs a Mac, and a device to drive: [step 4](#4-get-a-device-ready) gets one ready. For Android, the client's server and the library also run on Linux: see [On Linux](#on-linux). A client that runs `npx -y appdyno` asks npm for the latest release at every start, unless appdyno is installed globally, as step 2 installs it: npx then runs that install, which only `appdyno update` moves, so the entry step 3 writes keeps one version. The steps below are the same paths in full.
### 1. What you need
| for | you need |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| appdyno | a Mac for iOS; a Mac or Linux for Android; and Node 22 or newer. The Mac app carries its own Node; from npm, the hub's window needs Xcode or its Command Line Tools |
| an iOS simulator or an iPhone | Xcode, and iOS 17 or newer |
| an Android emulator or phone | `adb`, from Android Studio or Google's platform tools, and Android 8.0 (API 26) or newer |
### 2. Get appdyno
```sh
npm install -g appdyno # installs the appdyno command
```
Or take the Mac app, which carries its own Node:
```sh
brew install --cask fatihcimen/appdyno/appdyno
```
With no terminal, download `Appdyno-<version>-arm64.dmg` from the [releases](https://github.com/fatihcimen/appdyno/releases) and drag it to Applications instead. It runs on Apple silicon with macOS 13.5 or newer. Add to MCP Clients in its menu bar does step 3, and Put appdyno on the PATH there gives your terminal the `appdyno` command that step 5 runs. See [The Mac app](docs/guides/clients.md#the-mac-app). To build appdyno from a checkout instead, see [CONTRIBUTING.md](CONTRIBUTING.md).
### 3. Add it to your MCP client
```sh
appdyno install --dry-run # shows the change for each client it finds, and writes nothing
appdyno install # asks which clients; --yes takes all of them
```
It changes only appdyno's own entry, keeps a backup beside the file, and `appdyno install --remove` takes it out. Restart the client afterwards. For any other client, add this to its server list:
```json
{
"mcpServers": {
"appdyno": { "command": "npx", "args": ["-y", "appdyno", "mcp"] }
}
}
```
A client opened from the Dock may not find `npx`: if it says `spawn npx ENOENT`, see [An app cannot find npx or adb](docs/guides/clients.md#an-app-cannot-find-npx-or-adb).
Claude Desktop installs appdyno from one file, with no terminal: download `appdyno-<version>.mcpb` from the [latest release](https://github.com/fatihcimen/appdyno/releases/latest) and open it. See [Claude Desktop](docs/guides/clients.md#claude-desktop).
### 4. Get a device ready
- **iOS simulator**: nothing more. Start one in Xcode's Simulator, or ask your agent to. The first action that needs appdyno's helper fetches the one its release built, under 1 MB, from the release's page on GitHub, and uses it only if its sha256 is the one the package carries; where it cannot, it builds one, which takes a few minutes. `--no-fetch` or `APPDYNO_NO_FETCH=1` turns the fetch off. `appdyno ios build` does this ahead of time for a simulator and an iPhone, whose helper is always built. It also deletes builds of older versions, except one that a running process still uses.
- **Android emulator**: create one in Android Studio's Device Manager and start it. On a Mac with Apple silicon and no Android SDK, ask your agent to create one, or press Create an Android Emulator in the hub: appdyno asks you first, then downloads Google's emulator and an Android 16 image, 2.3 GB, checked by their sha256, with no Java and no Android Studio. See [Starting a simulator or emulator](docs/reference/tools.md#starting-a-simulator-or-emulator).
- **Android phone**: turn on Developer options (Settings, About phone, tap Build number seven times), then USB debugging in them. Connect the cable and answer Allow on the phone. For Wi-Fi, pair once under Wireless debugging, Pair device with pairing code: `appdyno pair <address> <code>`.
- **iPhone**: connect the cable and answer Trust, and turn on Developer Mode. On iOS 27 and later that is all: with no runner signed for it, it is driven with nothing installed on it, a read taking about 1.5 s where the runner's takes 0.1 s, and a measure is refused. For the runner, and on iOS 26 and earlier, give it a development signing identity with a profile: [An iPhone or a simulator](docs/guides/clients.md#an-iphone-or-a-simulator) takes you through it. Paired once on the cable (`appdyno pair --device <udid>`), it shows in the live window over Wi-Fi; driving it takes the cable.
### 5. Check
```sh
appdyno doctor # what is here, what is missing, and how to fix it
appdyno devices # what is connected
appdyno read-screen # what is on the screen
appdyno hub # every device in one window you can touch
appdyno perf survey --app com.example.app # every measure on this device, then a page of them
```
With more than one device connected, a command names the one it drives, `appdyno read-screen --device <serial>`, and the next commands run in the same folder keep it. A refusal that says `use_device` says it to an agent: on the command line it is `--device`.
[Connecting a client](docs/guides/clients.md) takes each client step by step, and gets a phone ready from nothing, signing included.
### On Linux
appdyno drives Android devices from Linux: the MCP server, the command line and the library. iOS devices, the live window, the hub and the Mac app need a Mac, and each is refused in one line, such as `iOS devices need a Mac; this host is Linux`. A person reads the command line and a test run's report page. It was tried on GitHub's `ubuntu-latest` as Ubuntu 24.04 and as 26.04, on x86-64, each with an API 34 emulator under KVM, and on no other distribution or processor; a phone on USB was not tried there.
1. Node 22 or newer, then `npm install -g appdyno`.
2. The Android SDK, with `ANDROID_HOME` naming it; without it, Android Studio's `~/Android/Sdk` is looked in. For `adb` alone, `appdyno tools install adb --accept-license` fetches Google's platform-tools for Linux, on x86-64 only, by their sha256.
3. For an emulator, also:
- KVM: `/dev/kvm` must be yours to read and write. Turn on virtualization in the firmware, add yourself to the group that owns `/dev/kvm`, often `kvm`, and log in again.
- PulseAudio's library: the emulator's QEMU ends at once without `libpulse.so.0`, even with `-no-audio`. On Ubuntu: `sudo apt-get install libpulse0`.
- One AVD folder: `avdmanager` can make an AVD where the emulator does not look. Set `ANDROID_AVD_HOME` for both, make the AVD, and check that `emulator -list-avds` lists it.
4. `appdyno doctor` checks each of these, and names the folder where `avdmanager` keeps an AVD the emulator does not see.
State is kept under `$XDG_STATE_HOME/appdyno`, else `~/.local/state/appdyno`, and what is fetched under `$XDG_CACHE_HOME/appdyno`, else `~/.cache/appdyno`. `unzip` reads an APK's id at its install and unpacks what is fetched, and `zip` packs a test run's copy to share. `--open` opens a page by `xdg-open` where there is one, and its path is printed either way. What `ask_person` asks is a line on the terminal.
## On real apps
Wikipedia's own debug build, from its repository, on an Android emulator in the hub: an MCP client searches for Istanbul, opens the article, taps a link that wraps over two lines, reads that article and measures it. Every call is real, with the time it took:

The article and its picture are Wikipedia's, under their own licenses.
Seven builds of five open-source apps, each as its repository builds it, debug builds on an Android emulator (API 34) and an iOS simulator (iOS 27.2), on an M5 Pro, on 2026-11-13:
| app | built with | cold start | memory | scroll |
| ------------------ | ------------------------------------------------- | ---------- | ------ | ------------------------------------ |
| Wikipedia, Android | Kotlin, views, articles in a web view | 2,098 ms | 197 MB | 4.4% janky, p95 30 ms |
| Now in Android | Kotlin, Jetpack Compose | 1,912 ms | 179 MB | 3.3% janky, p95 32 ms |
| AntennaPod | Java, views | 1,451 ms | 107 MB | 1% janky, p95 31 ms |
| Wonderous, Android | Flutter | 1,345 ms | 188 MB | its own surface: 60 fps, p95 16.7 ms |
| Wikipedia, iOS | Swift, Objective-C, UIKit, articles in a web view | 3,191 ms | 230 MB | 6.4% janky, p95 32 ms |
| NetNewsWire | Swift, UIKit | 2,492 ms | 57 MB | 2.1% janky, p95 16.7 ms |
| Wonderous, iOS | Flutter | 3,519 ms | 298 MB | 2.1% janky, p95 16.7 ms |
A cold start is the median of 5 after a warm-up: on Android the time to a first frame that the system reports, on the simulator the time to the first frame the frame probe sees. Memory is Android's PSS and iOS's physical footprint, after the scroll. A scroll is the median of 3 rounds of 5 swipes; Wonderous on Android draws on a surface of its own, past the frames the system counts, so that surface's frames are read instead. A simulator's and an emulator's numbers are this Mac's, and a debug build is slower than a release build: they compare one run with the next, and do not say how fast a phone is.
Trying them showed what to fix in appdyno. An app with two launcher activities, as a debug build with LeakCanary has, started the system's chooser and measured a cold start of 0 ms, and a touch on a link over two lines landed between the lines. Each fix is in the [changelog](CHANGELOG.md).
## Speed
Medians of 5 runs, through MCP over stdio, on the fixture app, on 1.5.0, on an M1 Pro, on 2026-12-03. The iPhone is a 13 Pro Max, the Android phone a Xiaomi 25078RA3EY with Android 16:
| call | iOS simulator | Android emulator | iPhone | Android phone |
| ----------------- | ------------- | ---------------- | -------- | ------------- |
| read the screen | 24 ms | 23 ms | 215 ms | 75 ms |
| tap by coordinate | 1,053 ms | 472 ms | 1,033 ms | 884 ms |
| tap by selector | 1,061 ms | 674 ms | 1,192 ms | 923 ms |
| type into a field | 1,554 ms | 715 ms | 2,344 ms | 1,211 ms |
| screenshot | 132 ms | 40 ms | 193 ms | 310 ms |
A tap waits until the screen has been still for 200 ms and answers with what changed, so most of its time is the app's own. In a checkout, after `pnpm build` and with the fixture app installed on the device, `node scripts/speed.mjs <device id>` runs the same calls on your Mac. [Speed](docs/reference/perf.md#speed) has every call, where the time goes, and what each one proves.
**Long sessions.** On 2026-12-02, on an M1 Pro, an iPhone 17 Pro simulator on iOS 27.2 and a Pixel 6 emulator on API 37 were each driven for 30 minutes through the library and for 20 minutes through one MCP server. The library made 1,382 calls on the simulator and 2,784 on the emulator, and the server 1,264 and 2,097: every call was answered. The iOS runner stayed at 345 MB and the Android agent at 48 to 56 MB from start to end, and nothing was left running after either session closed. The release sweep judges memory growth and late-against-early latency for each call, and fails a run that grows or slows: [CI and releases](docs/reference/ci.md).
## Documentation
| read | to |
| --------------------------------------------------- | ----------------------------------------------------------------------- |
| [Connecting a client](docs/guides/clients.md) | join appdyno to your MCP client and get a phone ready |
| [Flows](docs/guides/flows.md) | record what an agent did, replay it with no model, run it in CI |
| [Evidence](docs/guides/evidence.md) | leave a video, a report, a network log or a visual diff behind |
| [Measuring performance](docs/guides/performance.md) | measure an app, keep a baseline, and fail a change that makes it slower |
| [Tools](docs/reference/tools.md) | every tool, and what each platform can and cannot do |
| [How it is built](docs/architecture.md) | how the parts fit, for someone about to change them |
[The documentation](docs/README.md) has the rest of the reference.
## Security
Local only: no network listener by default, no telemetry, and you decide which devices, apps and links it may touch. Use a test device and test accounts. A device's passcode can be saved for runs nobody watches, write-only: [A saved device passcode](docs/reference/tools.md#a-saved-device-passcode) says where it is kept and its limits. See [SECURITY.md](SECURITY.md).
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md) and the [Code of Conduct](CODE_OF_CONDUCT.md). [CHANGELOG.md](CHANGELOG.md) lists the releases.
## License
MIT. See [LICENSE](LICENSE).
TDQS
Scored across 28 tools
The set is largely separable by resource and action: device selection vs simulator management, UI actions vs assertions vs capture, and app lifecycle vs deep links are clearly differentiated. Some potential overlap exists between run_steps and run_flow and among launch_app/manage_app/open_link, but the descriptions make their boundaries reasonably clear.
All 28 tools use lowercase snake_case with a predictable verb_noun or verb_object pattern such as tap_screen, read_logs, and capture_network. There is no camelCase mixing or vague standalone verbs; minor pairs like use_device/set_device still fit the convention.
28 tools is large even for a broad mobile automation platform, and a few areas such as run_steps/run_flow and launch_app/manage_app could potentially be consolidated. The breadth reflects genuinely distinct device, UI, app, network, media, and performance functions, but it sits above the ideal 3–15 range.
The surface covers device discovery/selection, simulator control, UI interaction, assertions and screenshots, app lifecycle and installation, file transfer, deep links, push, logs and crashes, network capture/mocking, inspection, recording, and performance measurement. No obvious lifecycle dead ends are apparent, and edge cases such as human intervention and visual regression are included.