---
title: "Control iOS and Android devices through a deterministic CLI for agent-driven mobile testing and debugging with agent-device"
description: "Drive real mobile apps from a session-aware CLI so agents can inspect UI state, act deterministically, and collect logs, network traces, and performance evidence during debugging."
verification: "listed"
source: "https://github.com/callstackincubator/agent-device"
author: "Callstack"
publisher_type: "organization"
category:
  - "Browser Automation"
framework:
  - "Multi-Framework"
tool_ecosystem:
  github_repo: "callstackincubator/agent-device"
  github_stars: 1838
  npm_package: "agent-device"
  npm_weekly_downloads: 162420
---

# Control iOS and Android devices through a deterministic CLI for agent-driven mobile testing and debugging with agent-device

Drive real mobile apps from a session-aware CLI so agents can inspect UI state, act deterministically, and collect logs, network traces, and performance evidence during debugging.

## Prerequisites

A supported iOS, Android, tvOS, macOS, or AndroidTV target plus the agent-device CLI.

## Installation

Choose whichever fits your setup:

1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.

Install command or upstream instructions:

```
Install globally with npm install -g agent-device, then use commands like agent-device open, snapshot, press, fill, diff snapshot, and close against a connected target device or simulator.
```

## Documentation

- https://github.com/callstackincubator/agent-device

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/control-ios-and-android-devices-through-a-deterministic-cli-for-agent-driven-mobile-testing-and-debugging-with-agent-device/)
