Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Maestro

$ maestro Official Med Risk
Mobile.dev · Workspace & SaaS · Apache-2.0 · macos / linux / windows

Maestro (mobile-dev-inc/Maestro) executes declarative YAML UI end-to-end tests across iOS simulators, Android emulators, web views, and Maestro Cloud (maestro test, maestro cloud, maestro hierarchy). Supports -p ios|android, --device, --format junit, and --output for automated CI pipelines.

FCRS-1.0 Score
82 /100
Good
Medium Confidence
Zero-Friction Install
brew install mobile-dev-inc/tap/maestro
CLI vs MCP Decision CLI Preferred vs MCP

maestro drives local iOS simulators and Android emulators via ADB/XCTest and writes JUnit XML and screenshot artifacts locally, which agents can inspect directly.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Non-interactive CLI execution with --format junit, --output, --test-output-dir, and maestro hierarchy, though it lacks a native --json report mode.

  • Supports --format junit and --output for structured CI reporting
  • maestro hierarchy exposes UI element trees for test authoring
Trust & Safety 20 / 25

Local simulator/emulator tests are isolated; remote uploads require explicit maestro cloud invocation and MAESTRO_CLOUD_API_KEY.

  • Clear separation between local maestro test and remote maestro cloud
  • Scoped MAESTRO_CLOUD_API_KEY authentication
Setup & Portability 13 / 15

Installable via Homebrew tap (mobile-dev-inc/tap/maestro) or curl script across macOS, Linux, and Windows (requires Java runtime).

  • Cross-platform install via Homebrew or get.maestro.mobile.dev, requires JVM
Utility & Efficiency 13 / 15

Simple YAML syntax with built-in flakiness tolerance replaces brittle Appium/XCUITest/Espresso boilerplate.

  • Single YAML test runner for both iOS (-p ios) and Android (-p android)
Maintenance & Lineage 9 / 10

Official Mobile.dev repository (mobile-dev-inc/Maestro) under Apache-2.0 license.

  • First-party mobile-dev-inc/Maestro repository
Docs & Verifiability 8 / 10

Well-structured documentation at docs.maestro.dev with clear YAML flow and CLI flag examples.

  • Official docs at docs.maestro.dev

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key
Credential Storage

Local simulator/emulator test runs need no credentials; maestro cloud accepts MAESTRO_CLOUD_API_KEY or --api-key.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Apache-2.0 open-source local CLI; Maestro Cloud hosted runs require a paid plan or free trial.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Maestro (maestro) Agent Rules
- Inspect UI elements with `maestro hierarchy` before editing `.maestro/*.yaml` flows.
- Always pass `--format junit --output <file>` on `maestro test` for deterministic pass/fail parsing.
- Confirm before running `maestro cloud` since it uploads app binaries externally.

Agent-Ready Command Recipes

Safe Read-Only Queries

Dump active mobile UI view hierarchy
maestro hierarchy

Inspects the current simulator/emulator accessibility tree so agents can write accurate YAML selectors.

Run a local Maestro flow with JUnit output
maestro test --format junit --output maestro-report.xml .maestro/smoke.yaml

Executes a declarative YAML E2E flow locally and writes a machine-parseable JUnit XML report.

Controlled Writes & Previews

Upload app binary and flows to Maestro Cloud
maestro cloud --api-key "$MAESTRO_CLOUD_API_KEY" ./build/app.apk .maestro/

Submits the mobile binary and YAML test suite to Maestro Cloud for hosted execution.

Strengths for Agents

  • + Declarative YAML flows and maestro hierarchy make mobile E2E tests easy for coding agents to author and debug.
  • + --format junit produces deterministic XML reports for CI.

Caveats & Pitfalls

  • ! Requires a Java runtime (JDK) and a booted iOS Simulator or Android Emulator/device.
  • ! No native --json report formatter (junit, html, and noop only).

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI