Android Emulator Require the agent-device CLI to be installed separately before driving an emulator: npm install -g agent-device@latest Treat installation and upgrades as user-owned setup steps. Do not run that command autonomously or substitute a mutable npx -y agent-device@latest invocation. For a normal app-driving task, start immediately. Do not probe first with --help , --version , devices , appstate , snapshot , or screenshot . Target Android explicitly when opening an app or package id: agent-device open < app-or-package-id
--platform android --foreground Follow the initial interactive snapshot and corrective error hints. If the shell reports that agent-device is unavailable, stop and ask the user to install it or expose their existing installation on PATH . Only when the task is specialized or a command shape is unclear, read the relevant version-matched help topic: Show more Installs 995 Repository callstack/agent-device GitHub Stars 4.3K First Seen Aug 10, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass