argent-simulator-interact
1. Before You Start
If you delegate simulator tasks to sub-agents, make sure they have MCP permissions.
Use list-simulators to find available simulators. Pick the first result if specific not specified by user — booted iPhones are listed first. If none are booted, use boot-simulator first.
Load tool schemas before first use. Gesture tools (gesture-tap, gesture-swipe, gesture-pinch, gesture-rotate, gesture-custom) may be deferred — their parameter schemas are not loaded until fetched. Always use ToolSearch to load the schemas of all gesture tools you plan to use before calling any of them. If you skip this step, parameters may be coerced to strings instead of numbers, causing validation errors.
2. Best Practices
- Always refer to tapping_rule from your argent.md rule before tapping.
- Before performing interactions, consider whether they can be dispatched sequentially - more on that in
run-sequence. - Use
gesture-swipefor lists/scrolling, notgesture-custom, unless you need non-linear movement. Consider whether you need multiple swipes, if yes - userun-sequence. - Tap a text field before typing — try
pastefirst, fall back tokeyboard. - Coordinates are normalized — always 0.0–1.0, not pixels.
- For native iOS app navigation, prefer
describefirst. It works on any screen without app restart. Do not navigate from screenshots on regular in-app screens unlessdescribefailed to expose a reliable target. Usenative-describe-screenonly when you need app-scoped UIKit properties.
3. Opening Apps
More from software-mansion/argent
argent-test-ui-flow
Autonomously test an app UI (iOS or Android) by running interact-screenshot-verify loops using argent MCP tools. Use when testing a UI flow, verifying login works, testing navigation, or running an end-to-end UI test scenario.
6argent-create-flow
Record a reusable flow (scripted sequence of MCP tool calls) that can be replayed later with a single command. Use when the user asks to create, record, or build a flow, or to script a sequence of simulator actions.
6argent-metro-debugger
Debug a React Native app via Metro CDP using argent debugger tools. Use when connecting to Metro, inspecting React components, reading console logs, or evaluating JavaScript in the app runtime.
6argent-react-native-app-workflow
Step-by-step workflows for developing or debugging React Native apps on iOS simulator or Android emulator. Use when starting the app, debugging Metro, fixing builds, diagnosing runtime errors, or running tests.
6argent-react-native-profiler
Profile a React Native Hermes app to measure re-render and CPU performance using argent profiler tools. Use when optimizing for performance, measuring before/after a fix, spotting slow components, diagnosing re-renders, checking CPU hotspots, or producing a ranked issue report.
6argent-react-native-optimization
Optimizes a React Native app by profiling first to find real bottlenecks, then sweeping for mechanical issues. Entry-point for all performance work. Use when the app feels slow, user asks to optimize, fix re-renders, reduce jank, or improve startup. Delegates to argent-react-native-profiler for measurement.
5