ReUseIt: Synthesizing Reusable AI Agent Workflows for Web Automation
Yimeng Liu, Misha Sra, Jeevana Priya Inala, Chenglong Wang
TL;DR
ReUseIt tackles unreliable AI-powered web agents performing repetitive tasks by automatically synthesizing reusable workflows from a history of successful and failed executions. The synthesized workflows include execution guards with pre-/post-condition checks and fallback actions to guide agent behavior, improve self-recovery, and surface failures for user inspection. Benchmark results across 15 task families show the average success rate rising from 24.2% (baseline) to 70.1% with ReUseIt, while a user study demonstrates easier failure understanding and higher trust. The work also investigates user interaction patterns, showing that execution guards reduce guidance burden and enhance interpretability, with potential for scaling via a RAG-based workflow-unit library. Overall, ReUseIt demonstrates a practical path to reliable, reusable web automation through automated guard synthesis and human-in-the-loop feedback.
Abstract
AI-powered web agents have the potential to automate repetitive tasks, such as form filling, information retrieval, and scheduling, but they struggle to reliably execute these tasks without human intervention, requiring users to provide detailed guidance during every run. We address this limitation by automatically synthesizing reusable workflows from an agent's successful and failed attempts. These workflows incorporate execution guards that help agents detect and fix errors while keeping users informed of progress and issues. Our approach enables agents to successfully complete repetitive tasks of the same type with minimal intervention, increasing the success rates from 24.2% to 70.1% across fifteen tasks. To evaluate this approach, we invited nine users and found that our agent helped them complete web tasks with a higher success rate and less guidance compared to two baseline methods, as well as allowed users to easily monitor agent behavior and understand failures.
