Reproduce “SkillWeaver: Web Agents can Self-Improve by Discovering and Honing Skills” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Boyuan Zheng, Michael Y. Fatemi, Xiaolong Jin, Zora Zhiruo Wang, Apurva Gandhi, Yueqi Song, Yu Gu, Jayanth Srinivasa and 3 more

SkillWeaver turns successful website interactions into reusable Python functions containing Playwright commands, then tests and debugs them. An agent proposes browsing tasks, practices them, and converts successful trajectories into functions for later reuse. On WebArena, GPT-4o task success rose from 22.6% to 29.8%, a 32% relative gain; live-site results varied, with no gain on Car.

Key insights

  • Weaker agents can achieve 40-133% relative improvements by leveraging APIs discovered by stronger agents
  • Auto-generated APIs perform comparably to human-crafted ones on websites with varying API support levels
  • Compositional APIs emerge naturally after sufficient exploration iterations

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.