AutoTailor: Automatic, User-Aligned Capability Selection and Adaptation for Web Agents
Abstract
Web agents can utilize reusable tools to reduce the cost and latency of low-level browser interaction, but automatically discovered tool collections can be large, redundant, and poorly aligned with user demand. We present AutoTailor, a meta-agentic framework for constructing and maintaining a compact set of trajectory-derived Model Context Protocol (MCP) APIs. Offline, AutoTailor converts web trajectories into parameterized browser-automation programs, applies a Quality Filter to remove APIs with unsuitable granularity and redundant functionality, and applies a Usage Likelihood Filter to prioritize broadly useful capabilities while preserving semantic coverage. Online, Dynamic Reselection monitors task outcomes and API usage, identifies recurring coverage gaps, adds relevant candidates, and prunes persistently unused capabilities. We evaluate AutoTailor on 106 WebArena Postmill tasks. Offline filtering reduces the initial 1,283 unrefined APIs to 87, and Dynamic Reselection produces a 33-API set. With reasoning and acting (ReAct) fallback, this set achieves 90.6% correctness, compared with 87.5% for ReAct alone, while reducing average total request-token cost by 57.8% and latency by 29.4%. Without ReAct, it achieves 60.1% correctness, marginally matching the performance of unrefined set, while reducing request-token usage by 94.9%. Together, these results show that static filtering produces a compact inventory of APIs expected to support core, high-likelihood tasks, while dynamic reselection further tailors that inventory to observed user needs. This combination improves accuracy and latency while sharply reducing token usage and end-to-end cost, demonstrating the value of user-aligned capability management for efficient web agents.
Create a lesson
Metadata
- Categories
- cs.AI, cs.SE
Related papers
TACT-Bench: Testing Adaptive Conversational Threats against Tool-Use Agents
Shared title terminologycs.AIIlia Hashemi Rad, Feijie Wu, Haoyu Wang et al.
Multi-agent System for Automatic Discovery of Pareto-optimal Meta-solvers for PDEs
Shared title terminologycs.AIYoungkyu Lee, Shanqing Liu, Jerome Darbon et al.
COGENT: A Modular Cognitive Architecture for Agentic User Simulation
Shared title terminologycs.AIYikun Chi, Adam Davies, Debarati Das et al.
Navigating Sparse Evidence: Agentic Visual RAG via Explicit Context Selection and Consolidation
Shared title terminologycs.AIYucheng Shen, Lingyong Yan, Jiulong Wu et al.
Are LLMs Good Financial User Simulators? Multi-view Investor Logic Alignment (MILA)
Shared title terminologycs.AIJiajie He, Jiangyuan Hong, Xintong Chen et al.
Asclepius: An Adaptive Harness for Long-Horizon Clinical Agents
Shared title terminologycs.AIGrace Chang Yuan, Xiaoman Zhang, Sung Eun Kim et al.