TL;DR
Why do we force AI agents to click through calendar pop-ups and parse messy HTML like a human squinting at a screen? Instead of training bigger models to survive human-centric interfaces, this paper flips the script with CI4A—a protocol that turns standard UI components into clean, callable tools for agents. Think of it as "ARIA for AI," boosting web automation success rates to 86.3% while cutting the required steps in half.
What Problem Does This Paper Address?
Large Language Models (LLMs) are fantastic at high-level planning, yet they routinely trip over basic web tasks like picking a date or navigating nested menus.
The root cause is a fundamental mismatch in how humans and AIs experience the web. Websites are built for creatures with continuous visual feedback and millisecond motor control. To save screen space, designers use progressive disclosure—hiding options inside lazy-loaded dropdowns and collapsible panels.
Agents, however, operate in a slow, discrete "Observe-Reason-Act" loop. When forced to interact via visual coordinates or raw HTML/DOM trees, an agent has to translate a simple goal ("set date to Dec 31, 2025") into a fragile chain of micro-actions: click input, click previous month, find "31", click "OK". One misclick or hidden DOM state, and the whole task derails. Rather than throwing more Reinforcement Learning at agents to make them better clickers, the authors ask: what if the UI just spoke the agent's language?
Methods
The authors introduce CI4A (Component Interface for Agent), a protocol that exposes the existing modular architecture of modern frontend frameworks (like React or Vue) directly to agents.
Every UI component is abstracted into a semantic contract with three parts:
- Semantic State View ($\mathcal{S}$): Bypasses the rendered HTML to read the component's internal memory state directly—exposing hidden or lazy-loaded options in $O(1)$ context cost without clicking around.
- Executable Toolset ($\mathcal{T}$): Replaces physical clicks and keystrokes with clean function calls like
setValueornavigateTo. - Interaction Metadata ($\mathcal{M}$): Explicitly tells the agent parameter types, constraints, and valid formats (e.g.,
YYYY-MM-DD), eliminating blind trial-and-error.
At runtime, components register themselves in a global browser object (window.__ci4a__) and tag their DOM root with a unique ID (data-cid).
To prove this works in the real world, the authors built two things:
- AntDX: A reference implementation instrumenting 23 core components (tables, menus, date pickers, etc.) of the industrial-grade Ant Design UI library. Because AntDX keeps the exact same developer APIs, existing apps can adopt it just by swapping the package dependency.
- Eous: A hybrid web agent (built on a standard Planner-Decider-Reflector loop) that dynamically updates its action space based on the page. Eous follows a Semantic First strategy—prioritizing CI4A tools (paired with either text trees or Set-of-Mark annotated screenshots) and falling back to standard WebDriver
click/typeactions only when a component isn't instrumented.
Datasets
No datasets were used for model training (the evaluated agents use off-the-shelf models without domain-specific fine-tuning).
For evaluation, the authors tackled a classic "cold start" problem: existing benchmarks use legacy HTML that doesn't support CI4A. They refactored the Playground scenarios (182 tasks) of the WebArena benchmark using Ant Design, strictly preserving the original layout, content, and business logic, and then swapped in AntDX to create an infrastructure-enabled testbed.
Key Insights and Ideas
- Collapsing the Action Chain: By shifting from mechanical simulation to contract-based invocation, multi-step physical interactions collapse into single deterministic calls.
- Penetrating "Progressive Disclosure": Traditional screen/DOM parsers are blind to lazy-loaded menus until they click them, and often misread ambiguous CSS toggles. Reading component memory directly gives agents X-ray vision into the UI's true state.
- Decoupling Task Logic from Horizon Length: Normally, longer tasks mean exponentially more chances to hallucinate or misclick. Semantic shortcuts intercept these long sequences at the decision layer, keeping agents remarkably resilient even on complex tasks.
Key Results
Tested across 182 refactored WebArena tasks (using GPT-5 with temperature 0 for Eous and main baselines, plus Seed-1.8 for the end-to-end visual baseline MidScene):
- High Task Success: Visual-mode Eous (V) achieved an 86.3% success rate, beating the multimodal AgentOccam baseline (70.3%) and the specialized end-to-end GUI model MidScene (61.5%). In text-only structural mode, Eous (S) hit 75.3% vs. WebArenaBase's 26.4% and AgentOccam's 69.2%.
- Massive Efficiency Gains: Eous cut the average interaction steps more than in half—dropping from 10.4 steps (AgentOccam V) and 13.0 steps (MidScene) down to 4.7 steps (visual) and 4.2 steps (structural).
- Long-Horizon Resilience: On "Long" tasks (>10 baseline steps), baseline average success plummeted from 81.1% (Short) to 37.15%, whereas Eous (V) maintained a 74.3% success rate.
Limitations and Future Work
- Manual Instrumentation Effort: AntDX required manually instrumenting Ant Design's source code. Doing this by hand for every UI framework is labor-intensive; the authors suggest using LLMs or static analysis to auto-generate CI4A wrappers for legacy libraries.
- Open-World Scalability: Most live websites don't run CI4A yet. Future work envisions an online adaptation mechanism that recognizes common UI patterns on the fly and injects temporary CI4A interfaces via real-time JavaScript, saving them as reusable skills.
- Safety Guardrails: Because CI4A uses explicit semantic contracts rather than opaque coordinate clicks, the authors plan to build safety middleware that intercepts and validates high-risk calls (like payments) for human-in-the-loop approval.
Summary updated