Run AutoGLM-Phone-9B-Multilingual for English apps

How to select the multilingual model and validate English UI flows safely.

If your target apps are in English, the AutoGLM‑Phone‑9B‑Multilingual model is typically the safer default. This tutorial explains when to choose it, how to download it from official sources, and how to validate English UI behavior.

A generic phone, inference computer and two abstract input tiles
Concept illustration of a phone runner using a model service for an English app task.

Why the multilingual model for English?

Even for English‑only apps, multilingual models often have broader UI text coverage and more robust handling of mixed‑language labels, localization menus, and embedded foreign strings. In practice, that reduces the chance of mis‑reading buttons or mis‑interpreting settings screens.

This is not a claim of superior performance for every use case. It is a practical default for evaluation.

Official sources only

Download the model from:

Avoid re‑hosted weights. Official sources ensure consistent licensing and checksums.

Installation approach options

You can run the model in two main ways:

Option A (recommended): Use a deployed model service endpoint and pass --base-url.
Option B (local): Use a local GPU (24GB+ VRAM recommended) with vLLM or SGLang.

Option A is the fastest way to test whether the multilingual model behaves well on your UI flows.

Example configuration checklist

Before you run the agent:

  • Confirm the model files and version.
  • Store the model path and checksum in your test notes.
  • Document device OS version, screen resolution, and target app versions.

These notes help you reproduce results later.

Example run sequence

Start in the Settings app on a test phone connected over ADB. For a local multilingual server configured as shown in the upstream README, run:

python main.py --base-url http://localhost:8000/v1 --model autoglm-phone-9b-multilingual --lang en --max-steps 5 "Return to the Android home screen, then finish."

For a hosted service, use the English quick start to check the matching endpoint, model ID and credentials.

Prompt templates (safe defaults)

Use concise, deterministic prompts:

  • "Open Settings and stop."
  • "Scroll down until you see Accessibility, then stop and describe the screen."
  • "Ask for confirmation before tapping any Save button."

These reduce ambiguous actions and keep the agent in safe territory.

Validating English UI flows

Diagnose an English first run
  1. Check the model

    Confirm the endpoint serves the multilingual checkpoint and accepts the intended model ID.

  2. Check the prompt

    Enable English instructions and choose one familiar screen in a test app.

  3. Check the handset

    Compare the final on-screen state with what the model reported.

Start with low‑risk tasks:

  1. Navigate to an app’s settings page.
  2. Open the help or about screen.
  3. Scroll a list and read visible labels.

These tasks help you evaluate perception accuracy and basic navigation without risk.

Prompting tips for English UI

To reduce ambiguity:

  • Reference visible labels verbatim: “Tap Settings.”
  • Use short, single‑action instructions.
  • Ask the agent to describe the current screen before acting.

These small prompt changes can reduce mis‑clicks.

Handling mixed‑language screens

Even English apps can contain mixed UI strings (language selectors, locale switches, legal links). If the agent hesitates:

  • Ask it to list all visible labels.
  • Provide a screenshot and choose the target explicitly.
  • Require a confirmation before final actions.

Common errors and how to handle them

  • Mis‑read labels: add explicit text hints in prompts and confirm with screenshots.
  • Unclear buttons: require the agent to ask for human confirmation before tapping.
  • Language switching: ensure the device language is set to English consistently.

Safety and evaluation notes

Do not allow automated purchase or password‑change flows in early tests. Always set up a manual confirmation step for destructive actions.

Validation checklist

  • Device language set to English
  • Model version recorded
  • Low‑risk tasks completed
  • Confirmation prompts for risky actions

Lightweight evaluation rubric

Score each task:

  • Accuracy: correct element identified (yes/no)
  • Safety: no risky action taken (yes/no)
  • Clarity: agent explanation was understandable (yes/no)

This keeps evaluations consistent across runs.

Example use cases (not endorsements)

  • English onboarding flow validation.
  • Regression checks on settings toggles.
  • Copy and UI text verification before release.

Next steps