skillfed

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 evolution

SkillWeaver 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 APIsup to +54.3% relative (WebArena)

Skills related to this research

Related notes

References

  1. Boyuan Zheng, Michael Y. Fatemi, Xiaolong Jin, et al. "SkillWeaver: Web Agents can Self-Improve by Discovering and Honing Skills." arXiv:2504.07079 (2025).
  2. WebArena: a realistic, reproducible web environment used as the primary evaluation benchmark in this paper.