# pierridotite/mobile-agent-testers architecture

> Architecture diagram of the GitHub repository pierridotite/mobile-agent-testers, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/pierridotite/mobile-agent-testers
- Repository: https://github.com/pierridotite/mobile-agent-testers

## Overview

Mobile Agent Testers runs persona-driven Claude Code agents against mobile apps on iOS simulators and Android emulators, then collects encrypted findings into reports. The main workflow is documented in the README; several orchestration, build, and collection files appear in the tree but were not sampled, so those links rely on README statements rather than inspected implementation. Sampled source confirms screen capture/accessibility checks, status classification, report summarization, and version comparison.

Main entry points: [`.github/workflows/agent-testers.yml`](https://github.com/pierridotite/mobile-agent-testers/blob/main/.github/workflows/agent-testers.yml) (Run workflow), [`scripts/android/run_agent.sh`](https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/android/run_agent.sh) (Android agent runner), [`scripts/ios/run_agent.sh`](https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/ios/run_agent.sh) (iOS agent runner), [`scripts/android/screen.py`](https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/android/screen.py) (Android screen capture)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_run["Test runs"]
  node_workflow["Run workflow<br/>[agent-testers.yml]"]
  node_personas["Personas<br/>[personas.json]"]
  node_agent_skill["Agent instructions<br/>[SKILL.md]"]
  node_briefs["Test briefs"]
end

subgraph group_devices["Device interaction"]
  node_android_runner["Android agent runner<br/>[run_agent.sh]"]
  node_ios_runner["iOS agent runner<br/>[run_agent.sh]"]
  node_android_build["Android build<br/>[android.sh]"]
  node_ios_build["iOS build<br/>[ios.sh]"]
  node_android_screen["Android screen capture<br/>[screen.py]"]
  node_ios_screen["iOS screen capture<br/>[screen.py]"]
  node_a11y["Accessibility checks<br/>[a11y.py]"]
end

subgraph group_results["Results and analysis"]
  node_agent_status["Agent status<br/>[agent_status.py]"]
  node_collect["Result collection<br/>[collect.sh]"]
  node_encrypt["Result encryption<br/>[encrypt_results.sh]"]
  node_summarize["Run summaries<br/>[summarize.py]"]
  node_compare["Version comparison<br/>[compare.py]"]
  node_summary_file["Run summary"]
end

node_developer(("App tester"))
node_model{{"Claude model API"}}
node_demo_app["Demo Todo app<br/>[App.js]"]

node_developer -->|"starts run"| node_workflow
node_workflow -->|"selects personas"| node_personas
node_workflow -->|"uses plugin instructions"| node_agent_skill
node_workflow -->|"accepts test brief"| node_briefs
node_workflow -->|"builds app"| node_android_build
node_workflow -->|"builds app"| node_ios_build
node_workflow -->|"dispatches agents"| node_android_runner
node_workflow -->|"dispatches agents"| node_ios_runner
node_android_runner -->|"runs agent"| node_model
node_ios_runner -->|"runs agent"| node_model
node_android_runner -.->|"captures device"| node_android_screen
node_ios_runner -.->|"captures device"| node_ios_screen
node_android_screen -->|"checks UI"| node_a11y
node_ios_screen -->|"checks UI"| node_a11y
node_workflow -.->|"reports agent status"| node_agent_status
node_workflow -->|"encrypts findings"| node_encrypt
node_developer -->|"collects run"| node_collect
node_collect -->|"summarizes results"| node_summarize
node_summarize -->|"writes summary"| node_summary_file
node_developer -->|"compares runs"| node_compare
node_developer -->|"tests demo app"| node_demo_app

click node_workflow "https://github.com/pierridotite/mobile-agent-testers/blob/main/.github/workflows/agent-testers.yml"
click node_personas "https://github.com/pierridotite/mobile-agent-testers/blob/main/personas.json"
click node_agent_skill "https://github.com/pierridotite/mobile-agent-testers/blob/main/skills/mobile-agent-testers/SKILL.md"
click node_briefs "https://github.com/pierridotite/mobile-agent-testers/tree/main/briefs"
click node_android_runner "https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/android/run_agent.sh"
click node_ios_runner "https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/ios/run_agent.sh"
click node_android_build "https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/build/android.sh"
click node_ios_build "https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/build/ios.sh"
click node_android_screen "https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/android/screen.py"
click node_ios_screen "https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/ios/screen.py"
click node_a11y "https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/a11y.py"
click node_agent_status "https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/agent_status.py"
click node_collect "https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/collect.sh"
click node_encrypt "https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/encrypt_results.sh"
click node_summarize "https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/summarize.py"
click node_compare "https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/compare.py"
click node_demo_app "https://github.com/pierridotite/mobile-agent-testers/blob/main/demo-app/App.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_workflow,node_personas,node_agent_skill,node_briefs toneBlue
class node_android_runner,node_ios_runner,node_android_build,node_ios_build,node_android_screen,node_ios_screen,node_a11y toneAmber
class node_agent_status,node_collect,node_encrypt,node_summarize,node_compare,node_summary_file,node_model toneMint
class node_developer toneIndigo
class node_demo_app toneTeal
```

## Components

### Test runs

- [Run workflow](https://github.com/pierridotite/mobile-agent-testers/blob/main/.github/workflows/agent-testers.yml): `.github/workflows/agent-testers.yml`
- [Personas](https://github.com/pierridotite/mobile-agent-testers/blob/main/personas.json): `personas.json`
- [Agent instructions](https://github.com/pierridotite/mobile-agent-testers/blob/main/skills/mobile-agent-testers/SKILL.md): `skills/mobile-agent-testers/SKILL.md`
- [Test briefs](https://github.com/pierridotite/mobile-agent-testers/tree/main/briefs): `briefs`

### Device interaction

- [Android agent runner](https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/android/run_agent.sh): `scripts/android/run_agent.sh`
- [iOS agent runner](https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/ios/run_agent.sh): `scripts/ios/run_agent.sh`
- [Android build](https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/build/android.sh): `scripts/build/android.sh`
- [iOS build](https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/build/ios.sh): `scripts/build/ios.sh`
- [Android screen capture](https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/android/screen.py): `scripts/android/screen.py`
- [iOS screen capture](https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/ios/screen.py): `scripts/ios/screen.py`
- [Accessibility checks](https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/a11y.py): `scripts/a11y.py`

### Results and analysis

- [Agent status](https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/agent_status.py): `scripts/agent_status.py`
- [Result collection](https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/collect.sh): `scripts/collect.sh`
- [Result encryption](https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/encrypt_results.sh): `scripts/encrypt_results.sh`
- [Run summaries](https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/summarize.py): `scripts/summarize.py`
- [Version comparison](https://github.com/pierridotite/mobile-agent-testers/blob/main/scripts/compare.py): `scripts/compare.py`
- **Run summary**

### Other components

- **App tester**
- **Claude model API**
- [Demo Todo app](https://github.com/pierridotite/mobile-agent-testers/blob/main/demo-app/App.js): `demo-app/App.js`

## Connections

- App tester → Run workflow: starts run (evidence: `README.md`)
- Run workflow → Personas: selects personas (evidence: `README.md`)
- Run workflow → Agent instructions: uses plugin instructions (evidence: `README.md`)
- Run workflow → Test briefs: accepts test brief (evidence: `README.md`)
- Run workflow → Android build: builds app (evidence: `README.md`)
- Run workflow → iOS build: builds app (evidence: `README.md`)
- Run workflow → Android agent runner: dispatches agents (evidence: `README.md`)
- Run workflow → iOS agent runner: dispatches agents (evidence: `README.md`)
- Android agent runner → Claude model API: runs agent (evidence: `README.md`)
- iOS agent runner → Claude model API: runs agent (evidence: `README.md`)
- Android agent runner → Android screen capture: captures device
- iOS agent runner → iOS screen capture: captures device
- Android screen capture → Accessibility checks: checks UI (evidence: `scripts/android/screen.py`)
- iOS screen capture → Accessibility checks: checks UI (evidence: `scripts/ios/screen.py`)
- Run workflow → Agent status: reports agent status
- Run workflow → Result encryption: encrypts findings (evidence: `README.md`)
- App tester → Result collection: collects run (evidence: `README.md`)
- Result collection → Run summaries: summarizes results (evidence: `README.md`)
- Run summaries → Run summary: writes summary (evidence: `README.md`)
- App tester → Version comparison: compares runs (evidence: `README.md`)
- App tester → Demo Todo app: tests demo app (evidence: `README.md`)
