Offsider
A hand for your agent on iOS and Android, simulated or real.
A command-line tool that reads and drives iOS Simulators, Android Emulators, and iPhones, iPads and Android phones over USB. It's built for terminals, scripts and AI coding agents, and it runs entirely on your Mac.
brew install michael-palmes/tap/offsiderOpen source under the MIT licence.
From install to first tap
It needs an Apple silicon Mac with macOS 26 or later and Xcode 26 or later. Android also needs the Android SDK.
# List simulators and emulatorsoffsider devices# Bind this shell to a simulator or emulatorexport OFFSIDER_DEVICE=<ID># Check the host and the device before driving itoffsider doctor# One line per labelled element on screenoffsider describe-ui --summary# Tap, and exit 5 if nothing changesoffsider tap --id LoginButton --verifyoffsider screenshot --output screen.pngOn Android
offsider boot Pixel_9 starts the emulator and prints its serial, such as emulator-5554. Bind that, and the same commands work.
export OFFSIDER_DEVICE=$(offsider boot Pixel_9)On a real device
An iPhone, iPad or Android phone stays off limits until you add it with offsider devices add and Touch ID. After that, a phone needs --device on each command. OFFSIDER_DEVICE never names one.
offsider doctor --device <ID>For your agent
offsider init installs the bundled skill: add --client claude for Claude Code, or --client agents for ~/.agents/skills. It also adds ask rules for Claude Code and Codex where they're installed. offsider guide lists its topics, matched to the installed version.
Rather check the binary yourself? Each release also ships a tarball with SHA256SUMS and a build provenance attestation. Verify a release tarball
A hand that checks its work
Offsider reads the screen through accessibility, then taps, types, swipes, presses buttons and captures screenshots or video. Each step is careful enough to hand to an agent.
Checks the effect, not just the dispatch
Most input commands only confirm that the input was sent. Add --verify to tap, type, key or button and Offsider waits for the screen to change. If nothing changes, it exits 5.
Refuses taps that would land somewhere else
A tap by selector checks what a touch at its point would reach. When the target is off screen, covered by another view or under the keyboard, Offsider refuses and sends nothing.
Safe with more than one agent
Input commands lock the device while they run, so two agents can't interleave their input. A second command exits 8 at once, or waits its turn with --wait-lock. A lease marks a device as taken by one session.
--wait-lockexit 8Reads the screen compactly
describe-ui --summary prints one line per labelled element on screen, within a 16 KB budget by default. --diff prints only what changed since the last command.
# ios <ID> 402x874 @3x portrait 0°application "Playground" (0,0 402x874) button "Save" id=save-button (170.7,313.3 61x34.3) group id=rows (0,400 402x474) button "Inbox, 3 unread" (0,400 402x56) [off-screen below] 34 items: id=rows-item-9 to id=rows-end# folded 2 repeated labelsOne set of commands
The same commands drive iOS Simulators, Android Emulators, and iPhones, iPads and Android phones over USB. devices lists simulators and emulators with their IDs, and phones once you add them. --device picks one, and for a simulator or emulator so can OFFSIDER_DEVICE.
At home in React Native
In debug builds, rn open loads an Expo dev client's bundle from Metro, rn devmenu drives the dev menu and rn logbox reads and dismisses LogBox toasts. logs --rn prints console output, in release builds too.
Errors an agent can act on
Every exit code is documented, so a script can branch on it. With --json, a failure prints one object with a reason, a hint naming the next command to run, and whether any input was dispatched.
- 0
- Success
- 2
- Nothing matched the selector
- 5
- A condition was not met
- 7
- Device not found, not booted, locked or not allowed
- 8
- Another command holds the device
- 64
- Invalid arguments
Nothing leaves your Mac
Offsider talks only to this Mac and to phones on a cable. Each line links to its proof.
- No telemetry, accounts or update checks. It connects only to the adb server, the emulator, usbmuxd and Metro, over Unix sockets or loopback, and to a wired iPhone or iPad over its USB tunnel.SECURITY.md: Network
- A phone stays off limits until you add it with Touch ID. Then it's USB only, for the apps and time you choose: one app for 7 days by default.docs/device-access.md
- Password fields are masked by default, in text and screenshots, and a mask file hides more. Logs are redacted by pattern.SECURITY.md: What reaches your agent
- Screen text reaches your agent escaped and capped, and the skill tells it to treat that text as data.SECURITY.md: What reaches your agent
- Your organisation can ban phones or limit them with a profile.docs/mdm.md
- Releases are signed, notarised and attested, and built with no secrets in reach.docs/install.md: Verified tarball
Two exceptions. Apple's xcodebuild reaches Apple when it builds the iPhone runner. Your agent sends what it reads to its model provider.
Check it yourself
Gatekeeper should say
source=Notarized Developer ID.spctl --assess --type install --verbose=2 "$(readlink -f "$(command -v offsider)")"Its
install.bundlecheck shows the bundled files match the build.offsider doctorWhile a command runs, this lists Offsider's network sockets: loopback only, plus an iPhone session's sockets on its USB tunnel.
lsof -nP -i -a -c offsider
For your security team: one pagethreat modelmanaged Macscheck a downloadreport privately
This site has no analytics, no cookies and no third-party requests.
How it compares
Each tool takes its own route to the same screens, and some do more than Offsider. e2e is a test framework rather than a device tool, but it drives the same screens through agent-device. Offsider's column comes from its repo; the others come from each project's own documentation.
| Offsider | AXe | idb | Maestro | agent-device | e2e | |
|---|---|---|---|---|---|---|
| iOS Simulator | Yes | Yes | Yes | Yes | Yes | Yes |
| Android Emulator | Yes | No | No | Yes | Yes | Yes |
| Physical devices | iPhones, iPads and Android phones, over USB | No | iOS devices attached to the Mac, for some commands | Android phones; iPhones not yet | iOS over USB or Wi-Fi; Android phones over adb | iPhones and Android phones plugged into the machine |
| Host OS | macOS 26 or later, Apple silicon | macOS 14 or later, Apple silicon or Intel | Companion on Apple silicon macOS 15 or later; Python client on any OS | macOS, Linux or Windows; iOS needs a Mac | macOS or Linux; Android also under WSL | macOS for iOS; Linux or WSL for Android |
| Interface | CLI with an agent skill; no MCP server, by design | CLI, batch step files and an agent skill | CLI, Python client and gRPC | CLI, YAML flows and an MCP server | CLI, MCP server and a Node.js API | TypeScript tests, CLI and an MCP server |
| Checks that input took effect | Yes: --verify exits 5 when nothing changed | Only slider; other input is fire and forget | Only before a tap, with --expected- | Waits for the screen to settle; can retry a tap that changed nothing | Yes, with --verify | Through the test's assertions, which retry until they pass |
| Refuses covered or off-screen taps | Yes for selector taps: a confident cover, the keyboard or an off-screen target refuses and sends nothing | Not documented | No: a tap aims at the element's frame centre | Not documented | Yes, the tap fails at once | Yes for covered elements, after waiting for actionability |
| Device lock for several agents | Yes: a second command exits 8 or waits with --wait-lock; leases | Not documented | Not documented | Not documented | Yes: device claims per workspace | Within one run: workers never share a device |
| Installs and launches apps | Launches, stops and deep-links apps; installs APKs on Android. iOS installs stay with simctl and devicectl. | No | Yes | Launches apps that are already installed | Yes | Yes |
| Test flow files | Step files for batch, one step per line; no flow language | Batch files, one step per line | idb-repl replays recorded Markdown reports; idb runs XCTest bundles | Yes, YAML flows | Yes, .ad replay scripts | Yes, TypeScript tests with plain-language steps |
| Telemetry | None | Not documented | Not documented | On by default, off with MAESTRO_ | Not documented | On by default, off with E2E_ |
| Licence | MIT | MIT | MIT | Apache 2.0 | MIT | Apache 2.0 |
Checked November 2026.
Coming from idb, Maestro or agent-device? offsider guide migrate maps each command.
Open source, on GitHub
Offsider is free and open source under the MIT licence. Read the code, open an issue or send a pull request.
github.com/Offsider is a fork of AXe v1.8.0 by Cameron Cooke, used under the MIT licence, and is not endorsed by AXe's author. Its simulator frameworks are built from the michael-palmes/idb mirror at a pinned revision.