solopi-ai

Compile and execute AI verification plans on Android devices via a typed CLI.

6.3k|1.3k|Updated Mar 14, 2019
One-click install
npx skills add https://github.com/alipay/SoloPi --skill solopi-ai-alipay
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solopi-ai
Source: https://github.com/alipay/SoloPi/tree/main/solopi-skill
Command: npx skills add https://github.com/alipay/SoloPi --skill solopi-ai-alipay

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? It lets an AI agent safely drive SoloPi on real Android devices through a typed CLI, turning requirements and acceptance criteria into reproducible verification runs with deterministic passed/failed/not_tested verdicts and same-run evidence, instead of ad-hoc shell commands or unverifiable UI automation. ## Core Features & Use Cases - Requirement-to-verdict pipeline: Normalize requirements/AC, compile them into Goal Trees, fixed test cases, and budgeted dynamic Agent segments, then let the Result Judge produce a three-state report backed by checkpoint oracles and evidence. - Device and test lifecycle control: Diagnose devices with doctor, author and validate cases, replay single/batch/repeat runs, manage interactive recording, performance capture, stress sessions, screen recording, scanning, and plugins with strict ownership identifiers. - Managed and on-device AI execution: Run unattended multi-device matrix tasks with generation-leased device pools, and install, benchmark, and gate signed ExecuTorch on-device decision models with cloud/on-device provider switching. - Use Case: A CI pipeline submits a compiled verification plan to a managed device pool; workers claim shards, execute them on physical Android devices, and the managed report emits stable exit codes with per-shard evidence digests. ## Quick Start Use the solopi-ai skill to run doctor on my connected Android device, then compile and execute the verification plan from my requirements file and report the final verdict with evidence.

Frequently Asked Questions about solopi-ai

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run an automated test case on a real Android device with SoloPi?

Run doctor to verify device readiness, list cases with cases, then execute run --case <name> with a run timeout and artifacts directory. A run only counts as passed when the terminal state is passed, results are non-empty, and the exit code is 0.

How do I convert requirements or acceptance criteria into executable mobile tests?

Use verify-normalize, verify-compile, and verify-validate to turn requirements into a verified plan with a plan fingerprint, then execute it with verify-run. The Result Judge independently produces passed, failed, or not_tested based on checkpoint oracles and same-run evidence.

Does SoloPi support on-device AI models for test decision making?

Yes, signed ExecuTorch model packages can be verified, installed, benchmarked, and activated through the model-* commands, then used via verify-run --decision-provider on-device. The model only proposes actions; the Result Judge remains the sole final verdict authority.

Can I run unattended tests across multiple Android devices in CI?

Yes, the managed-* commands provide a SQLite-backed device pool with persistent task queues, generation-leased assignments, and worker processes. The managed-report command emits stable CI exit codes with per-shard evidence digests.

Why does my SoloPi replay fail even though the case validated successfully?

case-validate only checks structure and parameter boundaries, not selectors, plugins, permissions, or business outcomes. Confirm the case fingerprint matches at launch, required plugins are installed and loaded, and verify with a real device replay to a terminal state.

What are the limitations of the SoloPi CLI for device control?

The CLI deliberately offers no arbitrary shell, arbitrary scheme, or arbitrary HTTP mutation channels, and high-risk actions like clearData require explicit confirmation. System permissions, MediaProjection, and camera authorization must be confirmed by the user on the device.