SpeedRunner

Better, Faster, Stronger — programmatic skill learning for efficient agents

Preprint · arXiv · 2026

Helping agents turn their own interaction histories into reusable programs that reduce the cost of future tasks.

A conceptual walkthrough

Start with an interaction history

An agent solves tasks through sequences of observations and actions. These trajectories contain routines that may be useful again.

Conceptual explanation of the method. This walkthrough is not a live model or an experimental trajectory.

Read the preprint on arXiv

The question

Agents often spend substantial reasoning effort on routines they have already encountered. Can their experience become executable knowledge that makes later interactions cheaper?

The approach

SpeedRunner studies programmatic skill learning: agents compile their interaction histories into reusable Python programs. These skills can replace repeated low-level reasoning with a reusable procedure.

The walkthrough above illustrates the idea. Our experiments evaluate both task progress and agent cost, including in the Crafter environment.

My contribution

I led Crafter development and experiments and analyzed how skill libraries evolve. One focus was separating useful public skills from private helper functions, so a growing library does not overwhelm the agent with implementation details. I also contributed to cross-environment evaluation and manuscript writing.

Zixi Huang, Andrew Wang, and I contributed equally. This work is advised by Daniel Khashabi and Nicholas Andrews.