Agent-Device: A Device Layer That Lets AI Agents Drive Simulators and Verify Their Own Code
The consequence is that the human no longer has to shuttle between an AI coding agent and a simulator: the agent itself launches the app, clicks, fills fields, and returns screenshots and logs for review. That removes a slow verification loop and gives other tools a blueprint for UI automation built on accessibility data instead of screenshot guessing.
agent-device closes the verification gap that leaves AI-written app code untested on actual UIs. When an agent has finished writing code, it can launch the app on a simulator or real device, read the interface through the accessibility tree, press buttons by element number, fill text fields, and check the UI diff after each step. Screenshots, logs, network requests, and performance traces are kept as evidence and can be dropped into a PR for human sign-off.
The device layer supports iOS, Android, HarmonyOS, tvOS, Android TV, Fire TV, and Amazon's Vega OS, with desktop automation for macOS and Linux and a basic Web layer. It handles native, React Native, Expo, and Flutter apps, and can run on local devices or connect to BrowserStack and AWS Device Farm for cloud hardware. Integration works through a pure CLI, a skills pack for agents that support it, or an MCP server, all sharing the same runtime.
Setup is straightforward but has prerequisites: Node.js 22.12+ (24+ for Web), Xcode for iOS, ADB for Android, and HarmonyOS tools. The `doctor` command should be run manually to confirm the environment. Platform support is uneven, with iOS and Android complete and HarmonyOS and Vega OS partial. iOS real devices require a developer certificate and Team ID. The authors position it as an exploration tool, not a regression runner; steps can be saved as `.ad` scripts for CI or exported to Maestro YAML.
Parsing the accessibility tree instead of taking screenshots is a deliberate trade: it trades away visual understanding for a token-light, exact coordinate-free representation that models can act on reliably. That's a design other UI automation tools can borrow.
The team openly positions agent-device as exploration, not regression, which sidesteps a common failure mode where AI tools are expected to produce deterministic test suites when they're better at improvising paths.
Including device occupancy and git worktree isolation recognizes that parallel agents are becoming a normal workflow; most AI coding tools don't address the coordination problem.