We are witnessing a critical paradigm shift from Graphical User Interfaces (GUI) to Natural Language-Driven User Interfaces.
Mobile devices are the hubs of modern digital life, yet traditional automation faces challenges due to "App Silos" and non-standard layouts. This project introduces a General-purpose GUI Agent Framework powered by Vision-Language Models (VLMs). Mimicking human interaction—Perceive, Reason, Act—our agent automates complex tasks across applications without needing underlying code access.
Traditional GUI automation relies heavily on XML view hierarchies. This leads to "invisibility" in modern apps (e.g., Games, Flutter, React Native) and fragility when developers update UI layouts.
Inspired by human cognition, we propose a Multi-Expert Collaboration system: Planning (Prefrontal Cortex), Execution (Motor Cortex), and Reflection (Monitoring System) to handle complex workflows.
Pure visual screenshots at time t. The internal system state remains hidden from the agent.
Atomic operations mimic human fingers: Tap(x,y), Swipe, Text input, and Home/Back gestures.
High-level user intent expressed in natural language (e.g., "Order a coffee").
Decomposes goals
Generates steps
Calculates (x,y)
Verifies outcome
We utilize Qwen3VL-30B-A3B due to its native resolution support, crucial for processing 9:16 mobile screenshots without distortion artifacts commonly seen in square-crop models.
Specialized prompts for each agent role. Executor focuses on strict coordinate normalization (0-1000), while Reflector uses interleaved image history to detect visual state changes.
Established a closed-loop control system connecting VLM with the emulator via ADB. The pipeline captures real-time screenshots as visual input, and translates the model's coordinate predictions into precise adb shell input commands (tap/swipe) to execute actions.
The Reflector's feedback loop effectively solves the "open-loop hallucination" problem. By verifying screen changes, it prevents error cascades in long tasks.
The Memory Stack explicitly logs every decision. Unlike end-to-end "black box" policies, our agent's thought process is transparent and debuggable.
By relying purely on vision (pixels), the framework works on Games, Webviews, and Third-party apps where underlying XML view trees are inaccessible.
Current latency is ~5s per step. Future work will focus on small model distillation (SLM) for on-device deployment to enhance privacy and speed.
Watch our agent perform real-world tasks.