# Agentic Development with RocketSim

> Let AI coding agents inspect, navigate, and verify your running iOS Simulator app through RocketSim's version-matched CLI and Agent Skill.

To let Claude Code, Codex, Cursor, or another coding agent verify an iOS app in the Simulator, build and run it with Xcode or your usual tooling first, then install the version-matched `rocketsim` CLI and RocketSim Agent Skill from **Settings → CLI & Agent**. RocketSim stays connected to the Simulator so the agent can read visible elements, interact, capture screenshots, and confirm UI changes without replacing your build step.

RocketSim helps AI coding agents inspect, navigate, and verify your running iOS Simulator app. The RocketSim Mac app stays connected to the Simulator, keeps useful state warm, and exposes a compact CLI that agents can use to read visible elements, tap controls, type text, capture screenshots, and confirm UI changes.

RocketSim does not build, install, or launch your app from source. Start the app with Xcode or your normal build tooling first, then use RocketSim for fast Simulator inspection and interaction.

With the RocketSim Agent Skill installed from **Settings → CLI & Agent**, your agent can:

- Read visible accessibility elements, including common navigation and tab bar items
- Tap, activate, swipe, scroll, type, use multitouch, and press hardware buttons
- Answer Face ID prompts and test offline or poor-network states
- Batch known steps while refreshing screen state between interactions
- Stay in a tight interaction loop without rebuilding context between steps
- Use compact screen summaries to spend less context per UI read
- Fall back to screenshots when accessibility data is not enough
- Open a live Browser Preview for hands-on testing and visual feedback
- Audit accessibility on the visible screen, fix the findings, and validate the fixes
- Capture and control iPhone Duo Simulators, including the hinge pose
- Save the steps it takes as [flows](/docs/features/agentic-development/flows), replay them with one command, apply your feedback from the flow review page, and apply the comments of reviewers you shared a flow with online (RocketSim 17.0.0)
- Rotate iPhone and iPad Simulators and apply the locations you saved in RocketSim

## What you can do with it

Agentic development with RocketSim is useful whenever you want an agent to work with a running app in the Simulator instead of just reading and writing code.

### Navigate and test app flows

Ask your agent to move through multi-step flows like onboarding, login, settings, or purchase screens. RocketSim gives the agent a way to see what is on screen and interact with it step by step.

Instead of relying only on screenshots or brittle coordinate taps, the agent can read accessibility elements and use semantic interactions whenever possible. That makes the loop much closer to how a developer would inspect the same screen manually.

Once a path works, the agent saves it as a [flow](/docs/features/agentic-development/flows) and replays it with `rocketsim flow <name>` instead of tapping through every screen again. The flow review page shows real screenshots of each step, lets you comment on any element, and your agent applies the comments while the page shows its progress.

### Validate UI after code changes

After making a code change, launch the app from Xcode or ask your agent to use your normal build tooling. Once the app is running, ask the agent to navigate to the relevant screen with RocketSim and verify that the expected elements are visible. This is faster than switching to the Simulator yourself to check.

### Audit and fix accessibility

Run `rocketsim accessibility-audit` to find missing labels, small tap targets, low contrast, and VoiceOver problems on the current screen. Your agent fixes the findings, rebuilds, and runs the audit again to validate the result. The report lists what it skipped or couldn't verify in `not_covered`, which means that part was not judged. The audit can't detect modals, so findings behind a visible modal are out of scope for the current UI until the modal is dismissed and the screen is audited again. See [Accessibility Audit](/docs/features/accessibility/accessibility-audit/) for the full workflow.

### Reproduce bugs in context

Describe a bug and ask your agent to reproduce it in the Simulator. RocketSim lets the agent read each screen state along the way, so it can report exactly what it sees at each step.

### Automate repetitive QA flows

If you find yourself tapping through the same screens repeatedly during development, let your agent handle those flows while you focus on the code.

## Example prompts

Try these with any AI coding tool that has the RocketSim Agent Skill installed:

> Use RocketSim to navigate through the onboarding flow in the Simulator

> Use RocketSim to open the login screen, enter test credentials, and verify the home screen appears

> Use RocketSim to inspect the visible elements on screen and tap the primary CTA

> Use RocketSim to take a screenshot if the accessibility snapshot does not expose the web content clearly

> Use RocketSim to navigate to settings and toggle the feature flag for dark mode

> Use RocketSim to reproduce the crash described in this issue by navigating to the affected screen

> Use RocketSim to walk through the purchase flow and verify each step shows the correct price

## Why RocketSim is especially effective for this

### Stateful by design

RocketSim runs continuously alongside the Simulator. Because there is already a Mac app watching the active device, RocketSim can reuse state, cache expensive work, and optimize repeated agent loops in ways one-off commands cannot.

On the public [simulator-use benchmark](https://simulator-use.dev/benchmarks) in November 2026, a RocketSim sign-in took **2.7 seconds on 161 tokens**, the lowest token count and the second fastest of ten tools: **9.7× fewer tokens** than XcodeBuildMCP (now MobileBuildMCP) and **79× fewer** than Xcode MCP. Its **0.35 second tap** is the quickest among the tools that report what the tap did.

Read [how we test and improve the RocketSim CLI and Agent Skill](/blog/testing-ai-agents-ios-simulator) for the scenarios, methodology, limitations, and improvement findings.

### Compact screen summaries

RocketSim's `--agent` output format gives agents a focused, token-efficient snapshot of visible elements. Instead of processing a full JSON accessibility tree, agents get a compact summary with the element type, label, and coordinates they need to act.

RocketSim also recovers many elements that are easy to miss in raw accessibility output, including top bars, navigation bars, tab bars, and visible controls that are needed to move through an app.

### Selector-based interaction

Agents can target elements by label, type, or value instead of guessing coordinates. RocketSim uses semantic accessibility activation when possible, which is more reliable than coordinate-only approaches for buttons, toggles, and list rows.

### Agent-optimized protocol

The CLI uses RocketSim's [`rs/1` protocol](/docs/features/agentic-development/rs1-protocol) for agent workflows. You do not need to learn the protocol details; the important part is that it is designed for compact, reliable interaction through the running RocketSim app.

### Version-matched automation

RocketSim ships the CLI and Agent Skill inside the app. When RocketSim updates, the installed command and the skill instructions can update with it, so your agent keeps using guidance that matches the RocketSim version you have installed.

## How it works

RocketSim's agentic development support has three layers:

1. **The RocketSim Mac app** keeps the live Simulator connection, caches state, and performs the optimized work.
2. **The RocketSim CLI** exposes that running app to agents through commands such as `elements`, `interact`, `wait`, `accessibility-audit`, `screenshot`, `video record`, and `doctor`.
3. **The RocketSim Agent Skill** teaches your AI coding tool how to use the CLI safely and consistently.

Install both the command line tool and Agent Skill from **RocketSim → Settings → CLI & Agent**. RocketSim creates symlinks into your chosen folders, so the CLI and skill keep pointing at the latest installed app.

For most AI coding tools, install the [RocketSim Agent Skill](/docs/features/agentic-development/agent-skill) as well. The skill teaches your agent when to read elements, when to wait, when to interact semantically, and when to fall back to a screenshot.

## Learn more

- [RocketSim CLI](/docs/features/agentic-development/rocketsim-cli) — how agents inspect and interact with the Simulator
- [Navigation Flows](/docs/features/agentic-development/flows) — save and replay multi-step navigation paths (RocketSim 17.0.0)
- [Browser Preview](/docs/features/agentic-development/browser-preview) — stream, control, and visually review a Simulator from your browser
- [Agent Skill](/docs/features/agentic-development/agent-skill) — how to install the recommended agent workflow
- [CLI & Agent settings](/docs/settings/cli-and-agent) — how to install the CLI and skill from RocketSim
- [How we test AI agents for the iOS Simulator](/blog/testing-ai-agents-ios-simulator) — repeatable scenarios, benchmark methodology, and results
