Skip to main content

mobium assistant

This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET

Ask the platform's assistant, in typed text, and report what came back

Puts a request to the device's assistant as typed text — Gemini or Google Assistant on Android, opened with the assist key, and Siri on a real iPhone — then waits for an app to come forward or the answer to settle, and closes the assistant's panel if it is still up. It reports the text the assistant showed and the app in front. The request is typed, never spoken, and the answer says so.

It is for testing an app through the assistant: whether the app did the task is for the app to show, never for the assistant to say. --app names the app expected to come forward and reports whether it did; a request that acts for the device's owner — a call, a message, a purchase — is refused without it.

A simulator's Siri answers nothing, and a TV's assistant listens only through its remote: both are refused.

Usage​

mobium assistant <request> [flags]

Flags​

FlagTypeDefaultWhat it does
--appstringThe app expected to come forward; required for a request that acts for the owner
--timeoutfloat15Seconds to wait for an app or an answer

And the global flags.

Examples​

Ask the assistant to open an app, and check that it came forward​

mobium assistant "Open Clock" --app com.google.android.deskclock

Printed on an Android 15 emulator:

asked Google Assistant (typed, not spoken): "Open Clock"
it showed no text a screen read can see
in front: com.google.android.deskclock
com.google.android.deskclock came forward

mobium assistant &quot;Open Clock&quot; --app com.google.android.deskclock on an Android 15 emulator

mobium assistant "Open Clock" --app com.google.android.deskclock on an Android 15 emulator

Ask a question, and read the answer it showed​

mobium assistant "What is 15 times 3" --timeout 20

More, from mobium assistant --help​

mobium assistant "Open Clock"
mobium assistant "Open Clock" --app com.google.android.deskclock
mobium assistant "What is 15 times 3" --timeout 20

The tool​

assistant calls app_assistant; its arguments and what every client calls it are there.