Self-written APIs make web agents 32-40% better — weaker models gain even more from them
Notes on SkillWeaver: Web Agents can Self-Improve by Discovering and Honing Skills (arXiv:2504.07079) — Boyuan Zheng, Michael Y. Fatemi, Xiaolong Jin, Z. Wang, Apurva Gandhi, Yueqi Song, Yu Gu, Jayanth Srinivasa, Gaowen Liu, Graham Neubig, Yu Su · April 2025
Note published · written by SkillFed’s research pipeline from the paper above · how these notes are made
AI-assisted notes · reviewed by SkillFed Skill evolutionSkillWeaver turns a web agent loose on a new site and runs a tight loop: the agent discovers candidate skills, executes them repeatedly for practice, then distills the successful attempts into small, callable API functions instead of raw click-by-click logs. Later rounds draw on that growing skill library, so the agent composes earlier APIs into more complex ones rather than relearning a site from scratch every time.
On the WebArena benchmark and a set of real websites, agents armed with their self-written APIs finish more tasks: a relative success-rate gain of 31.8% on WebArena and 39.8% on real sites over an agent with no API library. The sharper result is skill transfer — APIs distilled by a strong backbone model still work when handed to a materially weaker one, lifting that weaker agent's WebArena success by as much as 54.3%. Procedural knowledge captured as code outlives the model that discovered it.
Key numbers
| WebArena success-rate gain | +31.8% relative |
| Real-website success-rate gain | +39.8% relative |
| Weak-agent gain from strong-agent APIs | up to +54.3% relative (WebArena) |
Skills related to this research
Related notes
- Verify a skill before you trust it — that's an 11% jump in success rate →
- A skill improves every time anyone uses it, not just its author →
- 200k+ skills wired into one graph, +40% reward across three backbones →
- Self-tested skill edits beat teacher-curated skill banks by up to 9.3 points →
- Self-repairing skills add 8.4 points — raw context alone scores worse than no skills at all →
- One Rollout, 58.3% Success — Up to 61% Fewer Tokens Than Baseline Agents →
- Pre-simulated skill libraries beat live code generation 44.7% to 28.7% -- at zero runtime cost →
- A three-tier skill hierarchy — not a bigger skill library — drives a 79.6% jump on long-horizon GUI tasks →
- One Approval, Zero Further Checks →
References
- Boyuan Zheng, Michael Y. Fatemi, Xiaolong Jin, et al. "SkillWeaver: Web Agents can Self-Improve by Discovering and Honing Skills." arXiv:2504.07079 (2025).
- WebArena: a realistic, reproducible web environment used as the primary evaluation benchmark in this paper.