AI-driven mobile (Android and iOS) end-to-end testing agent
pip install yewo==0.1.0 Copy PIP instructions
Yewo is an AI testing agent for Android and iOS apps. Describe a user journey in plain language and Yewo operates the real app, checks what happened, and produces an evidence-backed report.
Yewo looks at the same app screenshots a user sees. Visual models identify controls and locate where to tap, so tests do not depend on accessibility IDs, test IDs, or other app-specific selectors. During a journey test, the agent that operates the app does not decide whether the test passed. After execution, a separate auditor compares the saved evidence with the expected outcomes.
Yewo is alpha software. Expect breaking changes while its public interface is being established.
You need Python 3.12+, a Node.js runtime compatible with Appium, and the SDK for the platform you want to test:
uv tool install yewo If you prefer an existing virtual environment, use python -m pip install yewo instead. You only need to clone the repository when contributing to Yewo itself.
From the app project you want to test, create a starter configuration and prepare Appium for one platform:
yewo setup --platform android Use --platform ios for an iOS project. Setup previews each required change and asks before creating files or installing tools. It does not overwrite an existing yewo.yaml. Run yewo setup --dry-run --platform android to inspect the plan without changing anything.
Add the credentials required by the models in yewo.yaml to the generated .env file or to your shell environment. The starter configuration uses OpenRouter:
OPENROUTER_API_KEY=your_key_here Check the project and host environment:
yewo doctor Then give Yewo one exploratory goal. Settings come from the nearest yewo.yaml, and command-line options can override its app, device, platform, model, output directory, and execution limits:
yewo run "Open the app and sign in" --app-path path/to/app.apk Use yewo run for one goal. Use yewo test when a declared journey must produce generated scenarios, independent verdicts, and reusable reports.
Create yewo.yaml in the app project. A minimal Android project looks like this:
device: name: Pixel_8 platform: android app: build/app-release.apk model: openrouter/deepseek/deepseek-v4.1-flash grounder: model: openrouter/bytedance/ui-tars-1.5-7b protocol: source_pixels workflows: smoke: journeys: - id: sign_in name: Sign in journey: | Open the app, sign in with the test account, and open Settings. Run every workflow and target declared by the nearest yewo.yaml:
yewo test Select workflows or targets with comma-separated identifiers:
yewo test --workflow smoke yewo test --target pixel,ios_simulator Each selected journey-target pair gets its own device session. Yewo discovers the journey, records reusable app knowledge, generates scenarios grounded in that evidence, executes them, and audits each scenario independently.
Each run stores its output under assets/yewo/ / by default. A completed journey test includes:
Set output_dir in yewo.yaml to replace assets/yewo with another output root.
journey -> discover -> generate scenarios -> execute -> audit -> report During discovery, Yewo analyzes screenshots with a configured visual model, asks a planner for the next action, grounds visual targets, validates the action, and acts through Appium. It records verified app knowledge and compiles a reusable procedure for the journey.
For a journey test, Yewo generates scenarios only after discovery provides the required evidence. Each scenario is executed from declared preconditions. A separate auditor evaluates the captured evidence against the expected outcomes.
Only visible or measured evidence can prove an outcome. A planner's claim of completion is not sufficient evidence for a passing verdict.
Only passed is a verified success. Only failed assigns the failure to the application. Conditions such as an unsupported capability, insufficient discovery, a policy block, or an exhausted budget are recorded as execution classifications and produce an unverified verdict rather than a false pass.
Run yewo --help for complete options. When working from a source checkout, use uv run yewo in place of the installed yewo command.
Yewo finds the nearest yewo.yaml at or above the current directory. Settings can be declared for the whole project or overridden by a workflow or target. The configuration supports multiple workflows, journeys, target devices, declared values and secrets, security rules, coverage categories, actors, preconditions, model roles, execution budgets, and artifact settings.
See the Yewo configuration schema for the complete public configuration contract.
Yewo is licensed under the Apache License 2.0.
agent android appium e2e ios llm mobile testing
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




