cs.AIMar 30, 2026

COvolve: Adversarial Co-Evolution of Large-Language-Model-Generated Policies and Environments via Two-Player Zero-Sum Game

Authors: Alkis Sygkounas, Rishi Hazra, Andreas Persson, Pedro Zuidberg Dos Martires, Amy Loutfi

Organizations: Machine Perception and Interaction Lab, Örebro University, Sweden

Abstract

A central challenge in building continually improving agents is that training environments are typically static or manually constructed. This restricts continual learning and generalization beyond the training distribution. We address this with COvolve, a co-evolutionary framework that leverages large language models (LLMs) to generate both environments and agent policies, expressed as executable Python code. We model the interaction between environment and policy designers as a two-player zero-sum game, ensuring adversarial co-evolution in which environments expose policy weaknesses and policies adapt in response. This process induces an automated curriculum in which environments and policies co-evolve toward increasing complexity. To guarantee robustness and prevent forgetting as the curriculum progresses, we compute the mixed-strategy Nash equilibrium (MSNE) of the zero-sum game, thereby yielding a meta-policy. This MSNE meta-policy ensures that the agent does not forget to solve previously seen environments while learning to solve previously unseen ones. Experiments in urban driving, symbolic maze-solving, and geometric navigation showcase that COvolve produces progressively more complex environments. Our results demonstrate the potential of LLM-driven co-evolution to achieve open-ended learning without predefined task distributions or manual intervention.

Figures & tables

Appendix figures & tables11 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. CoEvolve: Training LLM Agents via Agent-Data Mutual Evolution

    Apr 17, 2026Shidong Yang, Ziyu Ma, Tongwen Huang +3LLM Agent TrainingRL for LLM Agents

  2. Learning What to Remember and What to Internalize in LLM Self-Evolution via Adaptive Memory-Parameter Coordination

    Aug 2, 2026Tianyun Ji, Zhenya Huang, Jiayu Liu +3Continual Learning for LLM AgentsAgent Harness Optimization

  3. Role-Agent: Bootstrapping LLM Agents via Dual-Role Evolution

    Jun 9, 2026Xucong Wang, Ziyu Ma, Shidong Yang +4LLM Agent Self-ImprovementLLM Agent Training