Policy-Conditioned Policies for Multi-Agent Task Solving
On the map: LLM agents and tool use → Reinforcement learning for LLM agents
Abstract (arXiv)
In multi-agent tasks, the central challenge lies in the dynamic adaptation of strategies. However, directly conditioning on opponents' strategies is intractable in the prevalent deep reinforcement learning paradigm due to a fundamental ``representational bottleneck'': neural policies are opaque, high-dimensional parameter vectors that are incomprehensible to other agents. In this work, we propose a paradigm shift that bridges this gap by representing policies as human-interpretable source code and utilizing Large Language Models (LLMs) as approximate interpreters. This programmatic representation allows us to operationalize the game-theoretic concept of textitProgram Equilibrium. We reformulate the learning problem by utilizing LLMs to perform optimization directly in the space of programmatic policies. The LLM functions as a point-wise best-response operator that iteratively synthesizes and refines the ego agent's policy code to respond to the opponent's strategy. We formalize this process as textitProgrammatic Iterated Best Response (PIBR), an algorithm where the policy code is optimized by textual gradients, using structured feedback derived from game utility and runtime unit tests. We demonstrate that this approach effectively solves several standard coordination matrix games and a cooperative Level-Based Foraging environment.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 43 of its 70 references that are in the map. First posted on arXiv 24 Dec 2025.
Builds on
43 of 70 references.
Closest ancestors · 3
Same direction, newest first
- 2024GameBench: Evaluating Strategic Reasoning Abilities of LLM Agents7 Jun
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Models25 May
- 2023Reflexion: Language Agents with Verbal Reinforcement Learning20 Mar
Other references · 40
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,302
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
- 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,739
- 2017Multi-Agent Actor-Critic for Mixed Cooperative-Competitive Environmentscited by 1,519
- 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,348
- 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,172
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
- 2023ChatDev: Communicative Agents for Software Developmentcited by 893
- 2024Large Language Model based Multi-Agents: A Survey of Progress and Challengescited by 752
- 2017Value-Decomposition Networks For Cooperative Multi-Agent Learningcited by 490
28 more
- 2020Monotonic Value Function Factorisation for Deep Multi-Agent Reinforcement Learningcited by 475
- 2022LLM-Planner: Few-Shot Grounded Planning for Embodied Agents with Large Language Modelscited by 459
- 2025Agent Laboratory: Using LLM Agents as Research Assistantscited by 405
- 2024TextGrad: Automatic "Differentiation" via Textcited by 250
- 2023Exploring Large Language Models for Communication Games: An Empirical Study on Werewolfcited by 238
- 2018Machine Theory of Mindcited by 222
- 2017Learning with Opponent-Learning Awarenesscited by 218
- 2023Playing repeated games with Large Language Modelscited by 213
- 2023TaskMatrix.AI: Completing Tasks by Connecting Foundation Models with Millions of APIscited by 184
- 2024LLM Multi-Agent Systems: Challenges and Open Problemscited by 119
- 2020Shared Experience Actor-Critic for Multi-Agent Reinforcement Learningcited by 114
- 2023ProAgent: Building Proactive Cooperative Agents with Large Language Modelscited by 97
- 2016Opponent Modeling in Deep Reinforcement Learningcited by 94
- 2017A Survey of Learning in Multiagent Environments: Dealing with Non-Stationaritycited by 93
- 2020Learning to Incentivize Other Learning Agentscited by 55
- 2024RL-GPT: Integrating Reinforcement Learning and Code-as-policycited by 32
- 2025Will Systems of LLM Agents Cooperate: An Investigation into a Social Dilemmacited by 22
- 2024Synthesizing Programmatic Reinforcement Learning Policies with Large Language Model Guided Searchcited by 13
- 2023Game Theory with Simulation of Other Playerscited by 12
- 2014Robust Cooperation in the Prisoner's Dilemma: Program Equilibrium via Provability Logiccited by 11
- 2022Cooperative and uncooperative institution designs: Surprises and problems in open-source game theorycited by 11
- 2023Information Design in Multi-Agent Reinforcement Learningcited by 9
- 2023Cooperative AI via Decentralized Commitment Devicescited by 7
- 2025Verbalized Bayesian Persuasioncited by 5
- 2025Evaluating LLMs in Open-Source Gamescited by 5
- 2022Commitment games with conditional information disclosurecited by 4
- 2016Parametric Bounded L"ob's Theorem and Robust Cooperation of Bounded Agentscited by 2
- 2025Code-Driven Planning in Grid Worlds with Large Language Modelscited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Code-Space Response Oracles: Generating Interpretable Multi-Agent Policies with Large Language Models
- 2025Learning Game-Playing Agents with Generative Code Optimization
- 2024Agent-Pro: Learning to Evolve via Policy-Level Reflection and Optimization
- 2024From Novice to Expert: LLM Agent Policy Optimization via Step-wise Reinforcement Learning
- 2024YOLO-MARL: You Only LLM Once for Multi-Agent Reinforcement Learning
- 2026Hierarchical Control in Multi-Agent Games: LLM-based Planning and RL Execution
- 2025Prompted Policy Search: Reinforcement Learning through Linguistic and Numerical Reasoning in LLMs
- 2026NLPG: Natural-Language Policy Gradients for Self-Evolving Language Agents