Better, Faster, Stronger: Programmatic Skill Learning Best Reduces Agent Cost

Zixi Huang, Xiheng Wang, Andrew Wang, William Jurayj, Bernal Jiménez Gutiérrez +2 more
8/11/2026
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Recently, the practice of augmenting LLM agent capability with skills has gained prevalence. We explore the cost effective adaptation of agents to novel domains by means of learning skills.

Show full abstract

Existing works focus on performance gain over cost effectiveness. As a result, little is known about what skill learning strategies save cost. We argue that among all the different skill learning methods, those that view skills as programs can achieve the best cost reduction. By executing sequences of actions deterministically, a program-augmented agent can reliably and cheaply achieve goals that would otherwise require trial and error and risk degenerate behavior over long horizons. An agent can learn at inference time by incrementally discovering these programs and equipping them for future tasks. We hypothesize that past trajectories contain enough signal to guide skill learning, even without replay or validation, provided the agent can learn to analyze them. To test our claims, we propose SpeedRunner, a coding agent that analyzes trajectories and refactors skills for better performance on future tasks. Across three different embodied environments, we show that SpeedRunner consistently achieves the frontier in learning and cost reduction while remaining robust against distribution shifts and environmental randomness.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{huang2026better,
  title  = {Better, Faster, Stronger: Programmatic Skill Learning Best Reduces Agent Cost},
  author = {Zixi Huang and Xiheng Wang and Andrew Wang and William Jurayj and Bernal Jiménez Gutiérrez and Daniel Khashabi and Nicholas Andrews},
  year   = {2026},
  eprint = {2608.11338},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.11338v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.11338.svg)](https://codeofpaper.com/paper/2608.11338)

Discussion