Use TestMu AI Android and iOS virtual and real devices with agent-device. You need a TestMu AI account and its API credentials.
npm install -g agent-device
agent-device plugins add @agent-device/testmu
export LT_USERNAME=your-username
export LT_ACCESS_KEY=your-access-key
agent-device connect testmu --platform ios --device "iPhone 16" --provider-os-version 18.0 --provider-app ./MyApp.zipSee the TestMu AI guide for setup and supported operations.
To update the plugin, run agent-device plugins update @agent-device/testmu.
After you add or update the plugin, close your sessions and run agent-device daemon stop before reconnecting.
The package default-exports a plugin factory. Pass credentials as options, or leave them out to read LT_USERNAME and LT_ACCESS_KEY from the environment:
import testmu from '@agent-device/testmu';
const plugin = testmu({ credentials: { username: 'your-username', accessKey: 'your-access-key' } });Credentials passed as options are used instead of the environment variables, and the daemon does not compare them with your shell.