Should one AI brain both decide what to click and find it on screen, or is it better to split those two jobs?
Should GUI agents split planning from grounding into separate components?
This explores whether a GUI agent (an AI that operates apps and websites by looking at the screen and clicking) works better when one component decides what to do and a separate one finds where on the screen to do it, or when a single model handles both.
This explores whether a GUI agent should be built in pieces, with a planner that decides what to do next and a grounder that finds the exact button or field on the screen, or as one model that does both. The corpus leans toward splitting them, and it gives a reason beyond tidy engineering. Several independent systems, including Agent S, AutoGLM and OmniParser, ended up with the same two-layer design How should agents split planning from visual grounding?. AutoGLM's explanation is the most useful one: planning and grounding improve under opposite kinds of training, so when one policy has to learn both, gains in one tend to cost you in the other Why do planning and grounding pull against each other in agents?. Their fix goes further than two boxes. They add a middle layer, a text-based interface between the planner and the grounder, so each side can be trained and swapped out without breaking the other.
OmniParser shows what goes wrong without the split. GPT-4V did poorly on raw screenshots because it had to work out what each icon meant and choose an action in the same step. When the screenshot was first turned into a labeled list of on-screen elements, the model only had to choose the action, and performance went up Why do vision-only GUI agents struggle with screen interpretation?. ScreenCoder applies the same idea to turning screenshots into code. Its separate agents for spotting elements, planning the layout and writing the code each fix a different kind of mistake, and together they beat single end-to-end models Can splitting UI-to-code into separate agents fix both perception and planning?.
The pattern isn't limited to GUIs. In multi-step reasoning, keeping the model that breaks a problem down apart from the model that solves the steps improves accuracy. The breaking-down skill also carries over to new domains while the solving skill doesn't Does separating planning from execution improve reasoning accuracy?. That suggests planning is the part of an agent most worth keeping general, and grounding is the part that has to be tuned to each environment. A related result from coding agents: when a code repository was reorganized around what the code actually does at runtime, a weaker planner matched a stronger one at finding the right code Can better code maps help weaker planners match stronger models?. A clear interface between layers can make up for a less capable model.
The strongest counterexample is UI-TARS. It is one vision model trained end to end on screenshots and action traces, and it beats modular agent frameworks built on Claude and GPT-4o on standard benchmarks Can end-to-end vision models beat modular agent frameworks?. Even so, its own results point back to the same tension. When it reasons step by step before acting, it does worse on tasks like its training data and better on unfamiliar ones When does deliberate reasoning help or hurt in GUI agents?. So the trade-off between planning and acting is still there inside one model. It shows up as a choice about how much to deliberate rather than as a choice about architecture.
The question underneath is whether you have to manage the conflict between planning and grounding, not whether to split. Modular designs manage it with an explicit handoff that you can inspect and swap parts in and out of. End-to-end models can absorb it if you have enough training data, but you lose that visible handoff point. If you're building with general-purpose models and no large set of recorded GUI actions, the corpus says to split. If you can train on huge numbers of screen recordings, one model can compete, though it still has to decide how much to think before it clicks.
Sources 8 notes
Multiple independent systems (Agent S, AutoGLM, OmniParser) converged on factoring agent reasoning into a planning layer and a grounding layer, with a language-centric Agent-Computer Interface mediating between them due to their opposing optimization requirements.
AutoGLM's research shows planning and grounding have opposing optimization requirements that pull against each other when bundled in one policy. An intermediate interface that separates them lets each capability be developed and optimized independently while still composing into a complete agent.
OmniParser demonstrates that GPT-4V fails when forced to simultaneously identify icon meanings and predict actions from raw screenshots. Pre-parsing screenshots into structured semantic elements with descriptions lets the model focus solely on action prediction, removing the composite-task bottleneck.
ScreenCoder decomposes UI-to-code into three agents to target distinct failure modes: perception errors in element identification, and planning errors in layout structure. This modular approach achieves state-of-the-art results against end-to-end MLLM baselines by injecting domain knowledge at each stage.
Modular architectures with separate decomposer and solver models outperform monolithic LLMs, with decomposition ability transferring across domains while solving ability does not. The separation prevents planning-execution interference and produces more generalizable skills.
Show all 8 sources
A behavior-indexed repository linking code to runtime actions raised plan quality, cut planner tokens by 8-13%, and let weaker models achieve the same code-localization precision as substantially stronger ones across multiple benchmarks.
UI-TARS, trained end-to-end on GUI screenshots and action traces, beats Claude- and GPT-4o-based agent frameworks on OSWorld and AndroidWorld benchmarks. The model achieves this through unified perception, action modeling, System-2 reasoning, and iterative training on filtered traces.
UI-TARS's system-2 reasoning loses to reactive system-1 on trained benchmarks at single-sample inference, but reverses to significantly outperform system-1 on out-of-distribution AndroidWorld tasks. Deliberative depth helps generalization but introduces flawed reasoning steps under single-sample constraints.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- UI-TARS: Pioneering Automated GUI Interaction with Native Agents
- ScreenCoder: Advancing Visual-to-Code Generation for Front-End Automation via Modular Multimodal Agents
- OmniParser for Pure Vision Based GUI Agent
- ShowUI: One Vision-Language-Action Model for GUI Visual Agent
- UI-TARS-2 Technical Report: Advancing GUI Agent with Multi-Turn Reinforcement Learning
- An Empirical Study of Harness Design for Coding Agents
- GameUIAgent: An LLM-Powered Framework for Automated Game UI Design with Structured Intermediate Representation
- AutoGLM: Autonomous Foundation Agents for GUIs