Claude Code Agents Found 9 of 11 Mobile Bugs for Under $1
A new open-source template spins up 20 Claude Code agents on real iOS simulators and Android emulators via GitHub Actions, for roughly zero dollars.
Takeaways
- Open-source template runs Claude Code agents on iOS Simulators and Android emulators via GitHub Actions
- 4 agents found 9 of 11 planted bugs in ~21 minutes for $0.87 in Claude usage
- Each agent gets a persona defining device, OS, language, font size, and dark mode
- Supports Flutter, React Native, Expo, native iOS/Android, Kotlin Multiplatform, Capacitor, .NET MAUI
- Agents work from screenshots plus accessibility tree, so any UI toolkit works
- Free on public repos; private apps need self-hosted runners or a private fork
mobile-agent-testers is an MIT-licensed GitHub template that assigns Claude Code agents to separate iOS Simulators and Android emulators. Each agent explores an app through screenshots and accessibility data, then produces bug reports with supporting images. The template packages the build, device setup, test run, encryption, and report collection into GitHub Actions workflows.
The demo: 9 of 11 seeded bugs
In the project’s recorded demo, four agents completed their runs in about 21 minutes, including build time. The results provide an early benchmark for cost and coverage:
- Seeded bugs found: 9 of 11
- Model usage: $0.87 across four agents
- Additional findings: an Android button hidden behind the navigation bar and state lost after an app relaunch
A single recorded run cannot establish repeatability, false-positive rates, or performance across different applications. It does show that several independent agents can build an app, explore it under distinct device configurations, and return actionable reports within one workflow.
One agent, one virtual device
Each workflow job starts a Claude Code agent with its own simulator or emulator. Persona files define the device model, operating system, font size, color scheme, language, and location, allowing the same app to be examined under different user and platform conditions.
The agent receives three interaction tools: a screen view with tap coordinates, gesture controls, and text input. It also reads the accessibility tree, the machine-readable structure that mobile platforms expose to assistive technologies. Labels such as Flutter’s Semantics, Android’s contentDescription, and Apple’s accessibilityLabel give the agent more reliable targets than visual coordinates alone.
A generated key pair encrypts findings before they appear in public-repository logs. The workflow also blocks analytics hosts inside the virtual device so automated sessions do not contaminate production metrics.
Broad framework coverage
Automatic framework detection selects the appropriate build path for several common mobile stacks:
| Stack | Support |
|---|---|
| Flutter | Built in |
| React Native and Expo | Built in |
| Native Kotlin, Java, Swift, and Objective-C | Built in |
| Kotlin Multiplatform | Built in |
| Capacitor and Ionic | Built in |
| .NET MAUI | Beta |
| Other toolkits | Custom build command plus an APK or .app path |
The screenshot and accessibility-based control loop can work with other UI toolkits when the workflow can produce an installable application. Better accessibility metadata generally improves target selection and report quality.
Four commands to launch a run
An authenticated GitHub CLI and Claude credentials are enough to create the repository, configure it, start a workflow, and collect the results:
gh repo create my-testers --public --template pierridotite/mobile-agent-testers --clone
cd my-testers && ./setup.sh
gh workflow run agent-testers.yml
bash scripts/collect.sh <run-id>
The setup script generates the encryption key pair, stores the required GitHub secrets, and configures the Claude token. A run against an existing application specifies the source repository, application identifier, and personas assigned to each platform:
gh workflow run agent-testers.yml \
-f source_repo=you/app \
-f app_id=com.you.app \
-f android_personas=anna,malik \
-f ios_personas=clara,jonas
Developers already using Claude Code can install the integration through its plugin system. The command below lets Claude configure the template within an existing project:
/plugin marketplace add pierridotite/mobile-agent-testers
Installation details are available in the Claude Code docs.
The bill: runners, tokens, concurrency
The project’s $0 infrastructure claim depends on GitHub’s free standard runners for public repositories. Its documentation cites roughly 20 parallel jobs overall and five concurrent macOS jobs, which constrain iOS testing. GitHub plans and concurrency policies can change, so teams should verify current limits before estimating capacity.
Claude usage remains a separate expense. The demo consumed $0.87 for four agents, while larger or longer sessions will use more tokens. The project estimates that 20 concurrent agents could consume a five-hour Claude usage window in about 15 minutes and recommends batches of six to ten agents.
Closed-source applications require a private repository or self-hosted runners, such as a team-controlled Mac. Private GitHub Actions usage may also consume included minutes or generate runner charges, depending on the account and plan.
Where exploratory agents fit
The agents target exploratory testing, where varied behavior and device settings matter more than a fixed sequence of selectors. Their strongest use cases include:
- Broken onboarding paths, dead ends, and unexpected navigation states
- Translation and localization problems across languages
- Layout failures caused by large fonts, dark mode, or device dimensions
- Accessibility defects exposed through the accessibility tree
- Platform-specific collisions, such as controls hidden behind Android system navigation
Deterministic regression suites remain more reliable for known behaviors that require consistent pass-or-fail results. The demo’s two missed seeded bugs also show that agent coverage is incomplete. Results may vary between runs because model-driven exploration does not follow a fixed script.
A practical layer for mobile CI
Mobile end-to-end testing often combines selector-heavy Appium or Detox scripts with device farms and platform-specific build pipelines. UI changes can break selectors even when the underlying feature still works, creating ongoing maintenance for scripted suites.
Vision and accessibility-driven agents can adapt to interface changes without requiring a selector for every control. The template lowers the integration effort by combining application builds, virtual-device startup, persona configuration, encrypted reporting, and result collection in one repository.
A useful evaluation should repeat the same persona matrix several times, seed known defects, and track recall, false positives, runtime, token usage, and runner costs. Reports should also contain enough screenshots and reproduction steps for a developer to verify each finding. Teams can then use scripted tests for stable regression checks and agent runs for broader exploratory coverage.