SPROUT lets a Agent modeA mode in which one agent can inspect, edit, run commands, and iterate toward an outcome.Full definition → retry a failed approach from an earlier working StateInformation describing a system at a particular moment, such as its current text, settings or saved records.Full definition → instead of repeating the entire task. It saves the agent's conversation Context and context windowContext is the information available for a generation; the context window is the capacity available to hold it.Full definition → together with the filesystem after each turn. Test feedback guides where to resume, and each new branch receives its own restored environment. Framework.
Saving both matters because the files alone do not capture what the agent has learned, while the conversation alone cannot restore installed dependencies or build outputs. SPROUT preserves those earlier steps and spends new execution on the continuation. Its implementation requires commands to finish within a turn and disallows background processes, so restoring disk state and context is sufficient under that execution model. Restoration contract.
Key takeaways · AI-distilled
Restoring only the context and working directory misses environment state such as installed dependencies, so SPROUT snapshots both the filesystem and agent context after every assistant turn.
Across several LLMs on long-horizon coding tasks, SPROUT's resume-and-branch rollouts improved on pass@k by up to 23.6% while using 32 to 52% of the tokens, per the authors.
In RL TrainingThe process that adjusts a model using examples and a measure of how well it performs.Full definition → of Qwen3.8-27B, the authors report it beat standard GRPO by 13.9 points on three long-horizon coding benchmarks while cutting time per training step by 39.5%. The paper is marked work in progress.
Terms in this piece · Glossary
Agent mode — A mode in which one agent can inspect, edit, run commands, and iterate toward an outcome.
State — Information describing a system at a particular moment, such as its current text, settings or saved records.
Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
Training — The process that adjusts a model using examples and a measure of how well it performs.