npx skills add ...
npx skills add reason-machines/trending-skills --skill open-autoglm-phone-agent
Expert skill for Open-AutoGLM, an AI phone agent framework that controls Android/HarmonyOS/iOS devices via natural language using the AutoGLM vision-language model
npx skills add reason-machines/trending-skills --skill open-autoglm-phone-agent
Skill by ara.so — Daily 2026 Skills collection.
Open-AutoGLM is an open-source AI phone agent framework that enables natural language control of Android, HarmonyOS NEXT, and iOS devices. It uses the AutoGLM vision-language model (9B parameters) to perceive screen content and execute multi-step tasks like "open Meituan and search for nearby hot pot restaurants."
BigModel (ZhipuAI)
ModelScope
Expected output includes a <think>...</think> block followed by <answer>do(action="Launch", app="..."). If the chain-of-thought is very short or garbled, the model deployment has failed.
| Parameter | Description | Default |
|---|---|---|
--base-url | Model service endpoint | Required |
--model | Model name on server | Required |
--apikey | API key for third-party services | None |
--device-type | adb (Android) or hdc (HarmonyOS) | adb |
--device-id | Specific device serial number | Auto-detect |
For JavaScript/TypeScript automation using AutoGLM:
The AutoGLM model outputs structured actions:
| Action | Description | Example |
|---|---|---|
Launch | Open an app | do(action="Launch", app="微信") |
Tap | Tap screen element | do(action="Tap", element="搜索框") |
Type | Input text | do(action="Type", text="火锅") |
Swipe | Scroll/swipe | do(action="Swipe", direction="up") |
Back | Press back button | do(action="Back") |
Home | Go to home screen | do(action="Home") |
Finish | Task complete | do(action="Finish", result="已完成搜索") |
| Model | Use Case | Languages |
|---|---|---|
AutoGLM-Phone-9B | Chinese apps (WeChat, Taobao, Meituan) | Chinese-optimized |
AutoGLM-Phone-9B-Multilingual | International apps, mixed content | Chinese + English + others |
zai-org/AutoGLM-Phone-9B / zai-org/AutoGLM-Phone-9B-MultilingualZhipuAI/AutoGLM-Phone-9B / ZhipuAI/AutoGLM-Phone-9B-MultilingualCause: Incorrect vLLM/SGLang startup parameters.
Fix: Ensure --chat-template-content-format string (vLLM) and --mm-process-config with max_pixels:5000000 are set. Check transformers version compatibility.
adb devices shows no devicesFix:
adb kill-server && adb start-serverFix: ADB Keyboard must be installed AND enabled:
Cause: Model cannot identify a path to complete the task.
Fix: The framework includes sensitive operation confirmation — ensure confirm_sensitive=True for purchase/delete tasks. For login/CAPTCHA screens, the agent supports human takeover.
Fix: AutoGLM-Phone-9B requires ~20GB VRAM. Use --tensor-parallel-size 2 for multi-GPU, or use the API service instead.
Fix: Check firewall rules. For remote server:
Fix: HarmonyOS NEXT (not earlier versions) is required. Enable developer mode in Settings → About → Version Number (tap 10 times rapidly).
For iPhone automation, see the dedicated setup guide: