Code-driven planning in grid worlds with large language models
An iterative programmatic planning framework that solves grid-based tasks by using large language models to synthesize interpretable, executable programs that act as agent policies mapping environment states to action sequences, underscoring the advantages of planning as program synthesis over per-instance inference.