Environment-Grounded Automated Prompt Optimization for LLM Game Agents
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
LLM agents in interactive environments are highly sensitive to their prompts, yet prompt engineering remains a manual, task-specific process. We introduce an automated prompt optimization framework for LLM agents that decomposes the observation-to-action pipeline into a goal-conditioned descriptor agent and an action selection agent, and iteratively refines each module's prompt through an LLM-driven evolutionary loop guided by environment returns. We propose a behavior analyzer to attribute episode outcomes to specific prompt components, and a mutator to propose targeted revisions to the prompt, before validating them through environment rollouts. We evaluate on all five BabyAI tasks in the BALROG benchmark, comparing our pipeline against BALROG's RobustCoTAgent under both plain and guided prompt initializations. Optimization improves performance consistently across tasks and conditions, without requiring updates to the model weights. On PutNext, a multi-step coordination task where the RobustCoTAgent achieves 0% success, our framework reaches up to 72.5% success rate using the same underlying LLM with optimized prompts. These results suggest that a multi-agent framework, combined with automatic prompt optimization, enhances LLMs without the need for fine-tuning or extensive human supervision.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 33 of its 88 references that are in the map. First posted on arXiv 16 Jun 2026.
Builds on
33 of 88 references.
Closest ancestors · 9
Same direction, newest first
- 2026EvoTool: Self-Evolving Tool-Use Policy Optimization in LLM Agents via Blame-Aware Mutation and Diversity-Aware Selection5 Mar
- 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligence28 Jul
- 2025LogicGuard: Improving Embodied LLM agents through Temporal Logic based Critics4 Jul
- 2025Agentic Large Language Models, a survey29 Mar
- 2025MPO: Boosting LLM Agents with Meta Plan Optimization4 Mar
- 2025Multi-Agent Design: Optimizing Agents with Better Prompts and Topologies4 Feb
- 2024RePrompt: Planning by Automatic Prompt Engineering for Large Language Models Agents17 Jun
- 2024AutoManual: Constructing Instruction Manuals by LLM Agents via Interactive Environmental Learning25 May
- 2023ExpeL: LLM Agents Are Experiential Learners20 Aug
Other references · 24
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
- 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,002
- 2023Large Language Models as Optimizerscited by 830
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 449
- 2023Language Models can Solve Computer Taskscited by 371
- 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 300
- 2018BabyAI: A Platform to Study the Sample Efficiency of Grounded Language Learningcited by 238
- 2023Grounding Large Language Models in Interactive Environments with Online Reinforcement Learningcited by 193
- 2024Fine-Tuning Large Vision-Language Models as Decision-Making Agents via Reinforcement Learningcited by 158
12 more
- 2024BALROG: Benchmarking Agentic LLM and VLM Reasoning On Gamescited by 141
- 2023Language Model Crossover: Variation through Few-Shot Promptingcited by 119
- 2025MLGym: A New Framework and Benchmark for Advancing AI Research Agentscited by 111
- 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?cited by 105
- 2024Self-evolving Agents with reflective and memory-augmented abilitiescited by 52
- 2024Limits to scalable evaluation at the frontier: LLM as Judge won't beat twice the datacited by 46
- 2025MedAgentGym: A Scalable Agentic Training Environment for Code-Centric Reasoning in Biomedical Data Sciencecited by 22
- 2024From Words to Actions: Unveiling the Theoretical Underpinnings of LLM-Driven Autonomous Systemscited by 17
- 2024Reinforcing Language Agents via Policy Optimization with Action Decompositioncited by 16
- 2024On the Modeling Capabilities of Large Language Models for Sequential Decision Makingcited by 9
- 2025General Modular Harness for LLM Agents in Multi-Turn Gaming Environmentscited by 9
- 2026Meta-TTL: Meta-Learning Self-Improvement Policies for Language Agentscited by 2
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026MAS-PromptBench: When Does Prompt Optimization Improve Multi-Agent LLM Systems?
- 2025AutoPDL: Automatic Prompt Optimization for LLM Agents
- 2024AgentSquare: Automatic LLM Agent Search in Modular Design Space
- 2024PRompt Optimization in Multi-Step Tasks (PROMST): Integrating Human Feedback and Heuristic-based Sampling
- 2024Minstrel: Structural Prompt Generation with Multi-Agents Coordination for Non-AI Experts
- 2026Naive Prompt Optimization: Rethinking the Need for Complex Prompt Search
- 2026MASkills: Continual Skills Optimization for Multi-Agent LLM Systems
- 2025Meta-Prompt Optimization for LLM-Based Sequential Decision Making