IN THIS BREAKDOWN · 10 SECTIONS
You can read 21% of this breakdown.
The paper in one minute
People who use a website often learn routines: how to search for a product, how to find an order, how to filter results. Web agents usually do not; they get a fixed prompt and solve each task as if it were the first. Zora Zhiruo Wang, Jiayuan Mao, Daniel Fried and Graham Neubig at CMU and MIT built Agent Workflow Memory (AWM), which lets an agent extract such routines from its own experience and use them on later tasks.
A workflow has a short description of the goal ("find a place by its name") and a series of steps, each with a description of the page state, the reasoning, and an executable action. Workflows are induced by prompting the model with past trajectories and asking for common sub-routines at a finer grain than whole tasks, with example-specific values abstracted into placeholders, so "dry cat food" becomes {product-name}. Induced workflows are added to the agent's prompt as memory, grouped per website.
AWM runs in two modes. Offline, when annotated training examples exist, it induces workflows from all of them first and gives every test task the same memory. Online, with no labels, it processes test tasks as a stream: after each task, an LLM evaluator judges whether the attempt succeeded, and if so, the trajectory is turned into workflows for the next task. Workflows compound: "find a place by its name" becomes a step inside "get the zip code of a place".
On WebArena, online AWM with GPT-4 solved 35.5% of 812 tasks, above BrowserGym's 23.5% (the best autonomous agent reported), and above SteP's 33.0%, which uses 14 workflows written by human experts. It also took fewer steps. On Mind2Web, AWM improved step-level success in cross-task, cross-website and cross-domain tests, most where the test domain differed from training.
Research notes: the problem, approach and results
WebArena success with online AWM and GPT-4, against 15.0% for the same BrowserGym agent on accessibility trees
on the 197-task cross-template subset, one task per template, so gains are not only template repeats
average steps per WebArena task, against 7.9 for the BrowserGym baseline and 46.7 for AutoEval
Web agents solve each task from scratch. They repeat the same sub-tasks (searching, filtering, opening an order) with the same mistakes, and fixed few-shot examples do not adapt to new sites or tasks.
Induce workflows: ask the model to extract common sub-routines from past trajectories, replace example-specific values with placeholders, and keep them in memory. Offline from training examples, or online from the agent's own runs that an LLM evaluator judges successful.
With GPT-4, WebArena success rose to 35.5%, above BrowserGym (23.5%) and the human-workflow method SteP (33.0%), with fewer steps. On Mind2Web, step success rose on all splits, most across domains, though whole-task success stayed under 5%.
Why it matters to an FDE
Agents that operate a customer's admin consoles, CRMs or ticketing systems repeat the same sub-tasks all day. AWM shows a cheap way to make them learn those routines: no fine-tuning, just text in the prompt, induced from runs that worked.
Sub-routines, not whole tasks. The useful unit is "open the order by ID" or "filter tickets by assignee", reused across many requests. Whole-task examples transfer poorly and bias the agent toward the specific values in them.
The success judge is the gatekeeper. Online learning stores whatever the evaluator calls a success. A judge that accepts failures fills memory with misleading routines. Use real signals where you can: a confirmation page, a database change, an API response.
Keep memory per application. AWM keeps workflows per website, which keeps prompts small and relevant. The same applies to per-system memory in a customer's environment.
Expect UI changes to break workflows. Workflows encode page structure. When the application changes, stored routines go stale; plan for re-verification.
Understand the mechanism. Try it on a real problem.
Unlock this breakdown and 99 more papers.
Premium opens every paper in full, plus every answer, concept, course and guide on the site. One payment for six months of access.
6 months · One payment · No auto-renewal
- ◇1 architecture diagram
- </>1 runnable code experiment
- ▦2 results tables
- ?5 interview questions with answers
- 03Key takeaways
The workflow format, induction, online and offline modes, results, and misreadings to avoid
Free account - 04How it works
Representation, the induction prompt, the online loop with its evaluator, and the benchmark setup
Premium - 05The numbers that matter
Absolute and relative gains, the cross-template check, Mind2Web per split, and two inconsistencies
Premium - 06Try it yourself
Online workflow memory on a WebArena-shaped stream: template repeats, a noisy judge, cross-template
Premium - 07Where it breaks
The limits of induced workflows and of the evaluation
Premium - 08Using it on a deployment
Running workflow memory for an agent on a customer's applications
Premium - 09Interview angles
Five questions this paper prepares you for, with answer hints
Premium - 10Read next
Where to go from here on this site
Premium
