Continuation-Guided LLM Evolution of Program Policies and Goal Compilers in Craftax
On the map: LLM agents and tool use → Software engineering coding agents also fits: Agent skill learning and evolution
Abstract (arXiv)
Coding agents can synthesize and optimize code-based policies from simulator feedback, allowing the resulting program to act with zero inference model calls. But for long horizon tasks, two challenges arise: local improvements can hurt final success and switching to a new objective requires another expensive synthesis run. We propose a framework that first develops competence by refining the policy through a feedback cascade, moving from episode returns to hierarchical goals and belief updates which can be scored densely from simulator. In the Craftax game, a partially observed and procedurally generated environment, refinements via episode level feedback stall at <1% final-level arrival, whereas with the feedback cascade the optimized policy reaches the final stage 50% of time (28% final boss defeats). Furthermore, to make this competence reusable towards new goals, we factor the previous controller into an environment interpreter I (models, memory, skills) and a rule program p0, and we show that coding agents can optimize a reusable goal compiler Cθ that maps structured tasks g into new rule programs pg. Across five independent compiler searches trained only on short tasks, the resulting compilers successfully transfer zero-shot to longer tasks without any task-specific tuning nor inference-time LLM calls: continuation-scored feedback and a fixed machine with an editable program together turn a single-task competent policy into a reusable one. Code at: https://github.com/vicgalle/craftax-program-policies
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 14 of its 22 references that are in the map. Submitted 14 Nov 2026.
Builds on
14 of 22 references.
Closest ancestors · 1
Same direction, newest first
Other references · 13
- 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,323
- 2017Hindsight Experience Replaycited by 1,176
- 2020First return, then explorecited by 286
- 2016Modular Multitask Reinforcement Learning with Policy Sketchescited by 207
- 2018Programmatically Interpretable Reinforcement Learningcited by 201
- 2020Reward Machines: Exploiting Reward Function Structure in Reinforcement Learningcited by 200
- 2024WorldCoder, a Model-Based LLM Agent: Building World Models by Writing Code and Interacting with the Environmentcited by 121
- 2024Craftax: A Lightning-Fast Benchmark for Open-Ended Reinforcement Learningcited by 100
- 2021Learning to Synthesize Programs as Interpretable and Generalizable Policiescited by 62
- 2023Hierarchical Programmatic Reinforcement Learning via Learning to Compose Programscited by 21
- 2024Synthesizing Programmatic Reinforcement Learning Policies with Large Language Model Guided Searchcited by 16
- 2025On-line Policy Improvement using Monte-Carlo Searchcited by 9
1 more
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026MetaSkill-Evolve: Recursive Self-Improvement of LLM Agents via Two-Timescale Meta-Skill Evolution
- 2026ANTE: Anticipate, Then Execute -- Learning Internal World Models for Coding Agents from Verified Beliefs
- 2026Opera: A Verbal Critic Framework for Long-horizon Coding Agents
- 2026CODESKILL: Learning Self-Evolving Skills for Coding Agents
- 2026SpecForge: Recursive Self-Improvement for Coding Agents via Behavioral Specifications
- 2026Where Autonomy Belongs: A Separation of Powers for Agentic Program Evolution
- 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning
- 2026Improving Environment-Agnostic Coding Agents: The Role of Scaffolding