Demonstrates that coding agents can iteratively search coordination policies directly in code space for complex MAS, yielding interpretable policies without manual design or task-specific RL.
Policy Search in Code Space (PSCS) enables coding agents to iteratively refine coordination policies directly in source code, bypassing manual heuristic design and opaque neural network training. This approach yields interpretable, verifiable, and maintainable algorithms that outperform strong baselines in complex Multi-Agent Pathfinding (MAPF) scenarios.
Key outcomes include:
The material examines multi-agent pathfinding (MAPF) as a testbed for automated policy synthesis, asking whether coding agents can discover coordination policies by searching directly over executable code rather than hand-designed heuristics or task-specific reinforcement-learning policies. In this framing, a policy is represented as a small, inspectable program that maps local observations or global state information to movement decisions, and an agent iteratively generates, executes, and refines candidate code against simulated MAPF instances. The search process is therefore situated in “code space,” where program structure, control flow, and explicit rules can be mutated, recombined, or rewritten based on performance feedback.
A key contribution is the demonstration that this code-space search can produce effective coordination policies without requiring manual policy design or training a separate neural policy for each task. Because the resulting policies are written in code, they are more interpretable than opaque learned policies: the rules, priority structures, and fallback behaviors that guide agent behavior are visible and auditable. This is particularly relevant for complex multi-agent systems, where coordination failures often arise from subtle interaction effects that are difficult to diagnose in black-box controllers. The work also suggests that coding agents can leverage general-purpose programmatic priors to explore plausible policy families, turning policy search into a form of automated software engineering for coordination.
The broader significance is that the approach offers a potentially scalable and transparent alternative to both classical hand-engineered MAPF methods and task-specific RL. Interpretable code policies could be easier to debug, verify, and adapt across domains such as warehouse robotics, traffic coordination, or aerial swarms, where safety and explainability matter. At the same time, the material highlights an important open question: how well code-space policy search can generalize beyond benchmark MAPF settings while maintaining robustness, efficiency, and guarantees under real-world constraints.