agent-device lets coding agents drive iOS, Android, TV, web, and desktop UIs via CLI, MCP tools, or a Node.js API with evidence capture.
Overview
agent-device is an open device-control layer for AI coding agents. It exposes simulators, emulators, physical devices, and some desktop targets through a shared CLI, stdio MCP server, and typed Node.js client.
Agents take accessibility snapshots with refs and selectors instead of relying only on screenshots, then tap, fill, scroll, wait, and assert UI state. Sessions scope to git worktrees, and local device claims reduce collisions when parallel agents run.
Evidence tooling covers screenshots, video, logs, traces, network data, and React Native render profiling. Runs can save .ad replay scripts or export Maestro YAML for CI. Cloud routing supports providers such as BrowserStack, AWS Device Farm, TestMu AI, and Limrun.
Install requires Node.js 22.12+; web automation needs Node.js 24+. It integrates with Claude Code, Codex, Cursor, Windsurf, and similar clients.
Key features
- CLI and MCP interfaces
- Accessibility tree snapshots
- iOS and Android automation
- Session and device claims
- Screenshots and video capture
- Replay scripts for CI
- React Native profiling
- Cloud device providers
Use cases
- Agent-verified mobile PRs
- Reproducing crashes with logs
- E2E replay in pipelines
- Multi-platform onboarding checks
- Profiling RN render cost