Phone Agent is a mobile assistant framework built on AutoGLM. It reads the screen with a vision-language model and drives taps and typing through ADB or HDC from natural-language tasks.
Overview
Open-AutoGLM packages the Phone Agent stack: a vision-language model perceives the current phone UI, a planner turns user goals into steps, and device bridge tools execute launch, tap, swipe, typing, and navigation actions. Users describe tasks in plain language, such as opening an app and searching content, and the loop repeats screenshot, reasoning, and action until done.
On Android it uses ADB, optional ADB Keyboard for text entry, and supports wireless debugging over WiFi. HarmonyOS NEXT devices use HDC instead. iOS setup is documented separately via WebDriverAgent. The agent can pause for sensitive steps, request human takeover on login or captcha flows, and list supported apps for each platform family.
Model inference can run through hosted APIs from third parties or on your own hardware with vLLM or SGLang, including official container images for those engines. Midscene.js can integrate the same models for cross-platform UI automation scripts. Chinese and English system prompts are configurable, with environment variables for model URL, keys, device ID, step limits, and language.
Operations include launching apps, coordinate taps, swipes, back and home, waits, and custom callbacks for confirmations. Remote control works when phone and computer share a network and TCP debugging is enabled.
Key features
- ADB and HDC device control
- Vision-language screen understanding
- Natural-language task planning
- Remote WiFi debugging
- Human takeover for login or CAPTCHA
- vLLM or SGLang model hosting
- Chinese and English prompts
- Midscene.js integration path
Use cases
- Automating common Android app flows
- Research phone-use agents with local models
- HarmonyOS device UI automation
- Hands-free navigation in supported Chinese apps
- Agent prototyping via Python API