@GitHub_Daily: App 上线前自己测了好几轮,结果有人换个小屏手机、把字体调大,按钮就被挤出屏幕,根本点不到。 mobile-agent-testers 让 20 个 AI 测试员,同时在 20 台不同的手机上试用我们的 App,不用写一行测试脚本。 每…
摘要
mobile-agent-testers 让 20 个 Claude Code 测试代理在 GitHub Actions 上并行于 20 台不同 iOS/Android 模拟器中扮演各种用户画像,无需编写测试脚本即可自动检测 App 的界面与本地化问题,实测在 69 分钟内为 LocalSend 找出 46 个问题,模型费用仅 4.62 美元。
查看缓存全文
缓存时间: 2026/11/23 02:52
App 上线前自己测了好几轮,结果有人换个小屏手机、把字体调大,按钮就被挤出屏幕,根本点不到。
mobile-agent-testers 让 20 个 AI 测试员,同时在 20 台不同的手机上试用我们的 App,不用写一行测试脚本。
每个测试员都是一个 Claude Code Agent,带着自己的 iOS 或安卓模拟器,跑在 GitHub Actions 上。
它们还会扮演不同的人,比如瑞典语加最大字号的 iPhone SE、字体放大到 200% 的 Pixel 7,像第一次打开的人一样点一遍,再写带截图的问题报告。
GitHub:http://github.com/pierridotite/mobile-agent-testers…
拿 10 万 Star 的 LocalSend 实测过一次,20 台设备、14 种语言,69 分钟跑完,挑出 46 个不同的问题,模型费用一共 4.62 美元。
其中一半以上的问题只在某一台手机上出现过,我觉得这正是人工轮流换机器最难测全的部分。Flutter、React Native、原生安卓和 iOS 这些常见写法都支持。
pierridotite/mobile-agent-testers
Source: https://github.com/pierridotite/mobile-agent-testers
mobile-agent-testers
20 AI testers on 20 different phones, in parallel, on GitHub’s free runners.
Examples · Compare · FAQ · Personas · Releases
English · 简体中文 · 日本語 · Español · Português
No test scripts to write. Each tester is a Claude Code agent with its own iOS Simulator or Android emulator on GitHub Actions. It plays a persona (iPhone SE in Swedish at the largest text size, Pixel 7 at 200%, iPad in German, Arabic right to left…), uses your app like a new user (or runs through the feature you point it at) and writes a bug report with screenshots. Flutter, React Native, Expo, native Kotlin and Swift, Kotlin Multiplatform, Capacitor and .NET MAUI.
GitHub’s runners are free for public repos. You only pay for the model, with your Claude subscription or API key: about $0.15 to $0.55 per phone in these runs.

Real screen recordings of the LocalSend run, idle time cut. Full video (MP4) · The run, device by device
What it does
One use per run, set with the inputs of Test your own app.
- Explore like new users (the default). Each persona tries to reach its goal and reports what gets in the way, with numbered screenshots.
- Run one feature end to end. Your own brief sends every agent through a whole mechanic: a booking in several steps, an editor with undo, a sync between two screens. Agents tap, long press, swipe and type, leave the app and come back, relaunch it to check what was saved, or open a deep link to start right at the feature, and a brief can raise the budget of about 30 actions. AnkiDroid’s found the Back field of a new card hidden behind the keyboard.
- Reproduce a bug report on every phone: give an issue or the steps, and each agent answers yes, no or unclear, with screenshots (briefs/reproduce.md).
- Get an improvement report. Each persona uses the app once, then says where it hesitated, what it expected and what to change first, by area and impact (briefs/improve.md).
- Compare two versions. The same personas on two branches or builds, then one table: goals reached, actions, scores, issues seen on one version only (docs/compare-versions.md). A check before a real A/B test, not a replacement for one.
- Use a cheaper model: Claude Haiku, or any Anthropic-compatible API (OpenRouter, DeepSeek, Kimi, GLM, MiniMax, Qwen). The findings are only as good as the model’s reading of screenshots and its reasoning (docs/cheaper-models.md).
Applied examples
Real runs on open-source apps, with nothing planted.
| App | Phones | What the agents found | Time, model usage |
|---|---|---|---|
| LocalSend (Flutter, 100k stars) | 20: 10 Android, 10 iOS, 14 languages | 46 distinct bugs, 1 blocker: on an iPhone SE in Swedish at the largest text size, you can’t send a text message at all | 69 min, $4.62 |
| AnkiDroid (Kotlin, 12k stars, release APK) | 10 Android | 43 distinct issues, among them answer buttons cut in half at 200% font and “Get started” left in English in three languages | under 10 min, $4.69 |
| Flutter’s animations sample | 1 Android, 1 iOS | The same typo, reported by both agents on their own, and an app that ignores dark mode | 19 min, $0.47 |
34 of LocalSend’s 46 bugs had nothing to do with text size or accessibility: broken flows, silent failures, missing translations, tablet layouts. Screenshots, every finding and the commands to run them again: docs/examples.md.
Quick start
gh repo create my-testers --public --template pierridotite/mobile-agent-testers --clone
cd my-testers && ./setup.sh # key pair + secrets + Claude token (Windows: .\setup.ps1)
gh workflow run agent-testers.yml # demo: 2 Android + 2 iOS testers, ~20 min
bash scripts/collect.sh <run id> # decrypts reports, groups duplicates: runs/<id>/SUMMARY.md
The demo app has 11 deliberate bugs. In one run, the 4 demo testers found 9 of them (2 to 7 minutes per agent, about 21 minutes for the whole run, builds included), plus real issues nobody planted (a button under the Android nav bar, no data kept after a relaunch). Model usage: $0.87 for the 4.
Or let Claude set it up for your app:
/plugin marketplace add pierridotite/mobile-agent-testers
/plugin install mobile-agent-testers@mobile-agent-testers
Why not Maestro, Appium or agent-device?
They run the tests you write. These agents look for what nobody thought to test.
| mobile-agent-testers | Maestro, Appium, Detox, e2e | |
|---|---|---|
| You write | Nothing: pick personas from the list | Flows or test code |
| It catches | Broken flows, silent errors, missing translations, layout at large text, dark mode, confusing copy | What each test checks |
| Same result every run | No: each run explores, so check the screenshots | Yes |
agent-device gives one coding agent hands on one simulator. This runs a whole session: it builds the app, gives each persona its own device and collects encrypted reports. Use agents before a release, and scripted flows for regressions.
Full comparison, with Firebase Test Lab Robo, mobile-mcp, phonedriver and human beta testers: docs/compare.md.
Test your own app
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
| Input | |
|---|---|
source_repo, ref | App repo and branch (empty = this repo). Private repo: add a read-only SOURCE_REPO_TOKEN secret |
app_dir, app_id | App folder, Android package / iOS bundle id (if the other platform uses another id, it is read from its built app) |
android_personas, ios_personas | Ids from personas.json, one phone each, all, or none to skip a platform. 20 ready: 14 languages, right to left, tablets, text from small to the largest accessibility size |
brief | Agent instructions: AGENT_BRIEF.md to explore, briefs/improve.md for an improvement report, or your own for one feature |
bug_report | A bug to reproduce instead of exploring: an issue (owner/repo#123 or its URL) or the steps as text. Each agent follows it on its own device (briefs/reproduce.md) |
model, llm_base_url | sonnet by default, haiku to spend less, or any Anthropic-compatible API with its key in an LLM_API_KEY secret (docs/cheaper-models.md) |
framework | auto (default) or force one of the frameworks below |
android_build + apk_path, ios_build + ios_app_path | Your own build command, or a download of a prebuilt app (paths relative to app_dir) |
block_hosts | Analytics hosts blocked during tests |
record_video | Screen recording of each phone, encrypted with the reports |
Supported out of the box (detected automatically):
| Framework | Android | iOS Simulator |
|---|---|---|
| Flutter | flutter build apk --debug | flutter build ios --simulator |
| React Native / Expo | Gradle release | Xcode, arm64 |
| Native Kotlin / Java, Swift / Objective-C | Gradle debug | Xcode, arm64 |
| Kotlin Multiplatform | Gradle debug | Xcode project of the iOS app |
| Capacitor / Ionic | Gradle debug after cap sync | Xcode after cap sync |
| .NET MAUI (beta) | dotnet publish | dotnet build for iossimulator-arm64 |
| Anything else | android_build + apk_path | ios_build + ios_app_path |
Agents read the screen from screenshots and the accessibility tree, so any UI
toolkit works. Labelled widgets (Flutter Semantics, contentDescription,
accessibilityLabel) give them more precise tap targets.
How it works
- Personas set the device: model, OS, font size, dark mode, language, location.
- Three tools per agent: see the screen (with tap coordinates), gestures, typing.
- Accessibility check on every screen: controls with no name and touch targets under 48 dp (Android) or 44 pt (iOS), for the agent to confirm on the screenshot.
- Encrypted results: public repo logs are public, so everything is encrypted with your key.
- Analytics blocked inside the phones, so tests never touch your real stats.
- One summary on your machine: Claude groups the reports that describe the same bug, so you see how many personas hit each one and which personas found which kind of issue.
- Tests on every push, offline and with no phone: accessibility check, persona matrix, summary, encrypted results (tests/).
Limits
- GitHub runners are free for public repos: about 20 jobs at once, 5 on macOS.
- On plans with a 5-hour usage limit, 20 agents can use it up in ~15 min: run batches of 6-10.
- Hosted runners are meant for the repo’s own project. For a closed-source app, run the workflow in your private repo or on your own Mac.
FAQ
Do 20 agents just find the same bug 20 times?
No. On LocalSend, the 103 reports were 46 distinct bugs, and 29 of them were found by one agent only, the blocker included (chart). Right-to-left bugs only came from the two Arabic personas, and tablet bugs from the four tablets. The duplicates were app-wide states that everyone hits, like the empty device list.
How much does it cost?
GitHub’s runners are free for public repos, macOS included. Model usage was $0.15 to $0.55 per agent in these runs, so about $5 for 20 phones. With a Claude subscription, runs count against your plan’s usage instead of a bill. To spend less, run model=haiku or another provider’s model: docs/cheaper-models.md.
How long does a run take?
Each agent explores for 1 to 18 minutes. AnkiDroid’s 10 Android agents took under 10 minutes from start to the last report. LocalSend’s 20 devices took 69 minutes, builds included, because the Free plan runs 5 macOS jobs at a time.
Do I need a Mac?
No. Everything runs on GitHub’s runners: Linux for Android, macOS for iOS. You need the gh CLI and a Claude subscription or API key, and ./setup.sh (.\setup.ps1 on Windows) does the rest.
Will two runs give the same result?
No. Each agent explores, so two runs never take the same path: expect the same kinds of bugs, not the same list. Keep scripted tests (Maestro, Appium) for regressions, see how it compares.
Are my reports public?
No. The logs of a public repo are public, so reports, screenshots and videos are encrypted with your key before they leave the runner, and only you can decrypt them. Analytics hosts are blocked inside the phones. Use test accounts, never real ones. More in PRIVACY.md.
Can I test a closed-source app?
Yes. Run the workflow from a private repo, with a read-only SOURCE_REPO_TOKEN for your app’s repo, or point android_build and ios_build at a prebuilt APK or .app. Private repos use your Actions minutes, and macOS minutes count ten times.
Can I make my own personas?
Yes. A persona is a few lines in personas.json: device, OS version, language, text size, dark mode, location, who they are and what they try to do.
What does it get wrong?
It sometimes misreads a screen: 3 of LocalSend’s 20 agents flagged the Simulator’s English keyboard as part of the app. A few minutes per agent covers the main paths, not every corner of a big app. Every finding comes with numbered screenshots, so check them before filing anything.
Hosted version for teams (exploring)
The workflow here stays free, open source and complete. I’m exploring a hosted version for teams with private apps: macOS runners included (on a private repo, GitHub counts each macOS minute ten times) and a web dashboard to share the reports with the whole team, product managers included.
Would that help your team? Answer three questions or write to me on LinkedIn. Already ran it on your app? Tell me what it found and what got in the way.
Star history
Credits
Claude Code · AXe · android-emulator-runner
Made by @pierridotite (LinkedIn) · MIT license
相似文章
@Suryanshti777: 每个移动团队都即将意识到应用测试一直以来有多么糟糕。有人将Claude Code连接到了…
一位开发者将Claude Code连接到iPhone模拟器,并提示它“测试一切”,结果实现了自主导航、漏洞检测和结构化报告,展示了从传统测试脚本到AI驱动的意图测试的转变。
@TiagerBao: Google 开源了一个 Agent,能直接操作安卓手机,连 App 测试都能自己跑。 项目叫 ARTEMIS。 通过 MCP 接入 Claude Code、Codex、Cursor 等工具,就能让 AI: 自动点击、滑动、输入,跨 Ap…
Google 开源了 ARTEMIS,一个可通过 MCP 接入 Claude Code、Codex、Cursor 等工具的安卓设备操作 Agent,支持自动点击滑动、跨 App 任务执行与自动化测试,在 AndroidWorld 基准上完成率超过 99%。
@HowToAI_: 有人构建了一个工具,让Claude Code能自主测试你的整个iOS应用。它会导航你的整个应用,打开每一个…
一个基于Claude Code构建的新工具,可以通过导航每个屏幕、测试流程、读取调试日志,并从单个提示生成结构化漏洞报告,来实现iOS应用的自主测试。
@GitHub_Daily: 用 Claude Code 和 Codex 同时开好几个任务,在终端里切来切去查看,效率实在低。 最近找到 Orca,用来统一管理多个 AI 编程智能体,让它们并行干活,结果集中在一个界面里查看。 核心是支持并行工作区,把一个需求同时发给…
Orca 是一个统一的 AI 编程智能体管理工具,支持并行工作区,可同时向 Claude Code、Codex 等 AI 助手发送任务,各在独立 git 分支中生成代码并对比结果,并配有手机 App 实时跟进。
@GitHub_Daily: 很多初学者都用 AI 写代码,但项目报错时不会自己调,又是反复问 AI,无法快速定位问题。 ownyourcode,一个让 AI 当导师不当码农的工具,只负责引导、提问、审查,代码还是我们自己敲。 每个开发任务完成前,需过六道质量关卡,逼…
ownyourcode 是一款让 AI 充当导师而非代码生成器的工具,通过引导、提问和审查帮助开发者真正理解代码,项目包含六道质量关卡。