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/offsider

Open 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.png

On 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.

Reads 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 labels

One 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.bundle check shows the bundled files match the build.

    offsider doctor
  • While 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.

OffsiderAXeidbMaestroagent-devicee2e
iOS SimulatorYesYesYesYesYesYes
Android EmulatorYesNoNoYesYesYes
Physical devicesiPhones, iPads and Android phones, over USBNoiOS devices attached to the Mac, for some commandsAndroid phones; iPhones not yetiOS over USB or Wi-Fi; Android phones over adbiPhones and Android phones plugged into the machine
Host OSmacOS 26 or later, Apple siliconmacOS 14 or later, Apple silicon or IntelCompanion on Apple silicon macOS 15 or later; Python client on any OSmacOS, Linux or Windows; iOS needs a MacmacOS or Linux; Android also under WSLmacOS for iOS; Linux or WSL for Android
InterfaceCLI with an agent skill; no MCP server, by designCLI, batch step files and an agent skillCLI, Python client and gRPCCLI, YAML flows and an MCP serverCLI, MCP server and a Node.js APITypeScript tests, CLI and an MCP server
Checks that input took effectYes: --verify exits 5 when nothing changedOnly slider; other input is fire and forgetOnly before a tap, with --expected-valueWaits for the screen to settle; can retry a tap that changed nothingYes, with --verifyThrough the test's assertions, which retry until they pass
Refuses covered or off-screen tapsYes for selector taps: a confident cover, the keyboard or an off-screen target refuses and sends nothingNot documentedNo: a tap aims at the element's frame centreNot documentedYes, the tap fails at onceYes for covered elements, after waiting for actionability
Device lock for several agentsYes: a second command exits 8 or waits with --wait-lock; leasesNot documentedNot documentedNot documentedYes: device claims per workspaceWithin one run: workers never share a device
Installs and launches appsLaunches, stops and deep-links apps; installs APKs on Android. iOS installs stay with simctl and devicectl.NoYesLaunches apps that are already installedYesYes
Test flow filesStep files for batch, one step per line; no flow languageBatch files, one step per lineidb-repl replays recorded Markdown reports; idb runs XCTest bundlesYes, YAML flowsYes, .ad replay scriptsYes, TypeScript tests with plain-language steps
TelemetryNoneNot documentedNot documentedOn by default, off with MAESTRO_CLI_NO_ANALYTICSNot documentedOn by default, off with E2E_TELEMETRY_DISABLED
LicenceMITMITMITApache 2.0MITApache 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/michael-palmes/offsider

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.