Lune

ACL2025Top-tier venue

AgentGym: Evaluating and Training Large Language Model-based Agents across Diverse Environments

Zhiheng Xi, Yiwen Ding, Wenxiang Chen, Boyang Hong, Honglin Guo, Junzhe Wang, Xin Guo, Dingwen Yang, Chenyang Liao, Wei He, Songyang Gao, Lu Chen

Abstract

Large language models (LLMs) have emerged as a promising foundation to build generally-capable agents (LLM-based agents) that can handle multi-turn decision-making tasks across various environments. However, the community lacks a unified interactive framework that covers diverse environments for comprehensive evaluation of agents, and enables exploration and learning for their self-improvement. To address this, we propose A GENT G YM , a framework featuring 7 real-world scenarios, 14 environments, and 89 tasks for unified, real-time, and concurrent agent interaction. We construct expanded instruction set, high-quality trajectories, and comprehensive benchmarking suite for developing LLM-based agents. Moreover, A GENT G YM supports interactive exploration and learning for agents through multi-turn interactions and real-time feedback. Based on A GENT G YM , we take the initial step to develop LLM-based agents that can handle diverse tasks via methods like self-improvement or reinforcement learning. Experimental re-sults show that the trained agents can achieve results comparable to commercial models. We hope our work can help the community develop more advanced LLM-based agents. We release the code, dataset, benchmark, and checkpoints at https://agentgym.github.io/.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

14 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • RoboAgent: Chaining Basic Capabilities for Embodied Task Planning cites ALFWorld: Aligning Text and Embodied Environments for Interactive Learning
  • Agent Data Protocol: Unifying Datasets for Diverse, Effective Fine-tuning of LLM Agents cites WebArena: A Realistic Web Environment for Building Autonomous Agents
  • Agent Data Protocol: Unifying Datasets for Diverse, Effective Fine-tuning of LLM Agents cites WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents
  • SciAgentGym: Benchmarking Multi-Step Scientific Tool-Use in LLM Agents cites WebArena: A Realistic Web Environment for Building Autonomous Agents
  • WebArena: A Realistic Web Environment for Building Autonomous Agents cites ALFWorld: Aligning Text and Embodied Environments for Interactive Learning
  • WebArena: A Realistic Web Environment for Building Autonomous Agents cites WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents
  • Does Reinforcement Fine-Tuning Improve Generalization of LLM Agents? An Empirical Study cites ALFWorld: Aligning Text and Embodied Environments for Interactive Learning
  • Does Reinforcement Fine-Tuning Improve Generalization of LLM Agents? An Empirical Study cites WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents
  • Uncertainty Quantification in LLM Agents: Foundations, Emerging Challenges, and Opportunities cites ALFWorld: Aligning Text and Embodied Environments for Interactive Learning
  • Uncertainty Quantification in LLM Agents: Foundations, Emerging Challenges, and Opportunities cites LLM-Planner: Few-Shot Grounded Planning for Embodied Agents with Large Language Models
  • Uncertainty Quantification in LLM Agents: Foundations, Emerging Challenges, and Opportunities cites WebArena: A Realistic Web Environment for Building Autonomous Agents
  • Uncertainty Quantification in LLM Agents: Foundations, Emerging Challenges, and Opportunities cites WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. Agent Data Protocol: Unifying Datasets for Diverse, Effective Fine-tuning of LLM AgentsYueqi Song, Ketan Ramaneti, Zaid Sheikh, Ziru Chen et al.ICLR 2026 · 18 citations
  2. Uncertainty Quantification in LLM Agents: Foundations, Emerging Challenges, and OpportunitiesChangdae Oh, Seongheon Park, To Eun Kim, Jiatong Li et al.ACL 2026 · 8 citations
  3. RoboAgent: Chaining Basic Capabilities for Embodied Task PlanningPeiran Xu, Jiaqi Zheng, Yadong MuCVPR 2026 · 6 citations
  4. SciAgentGym: Benchmarking Multi-Step Scientific Tool-Use in LLM AgentsYujiong Shen, Yajie Yang, Zhiheng Xi, Binze Hu et al.ICML 2026 · 6 citations
  5. Does Reinforcement Fine-Tuning Improve Generalization of LLM Agents? An Empirical StudyZhiheng Xi, Xin Guo, Jiaqi Liu, Jiazheng Zhang et al.ICML 2026 · 3 citations

Builds on14

  1. WebShop: Towards Scalable Real-World Web Interaction with Grounded Language AgentsShunyu Yao, Howard Chen, John Yang, Karthik NarasimhanNeurIPS 2022 · 1,477 citations
  2. WebArena: A Realistic Web Environment for Building Autonomous AgentsShuyan Zhou, Frank F. Xu, Hao Zhu, Xuhui Zhou et al.ICLR 2024 · 1,197 citations
  3. STaR: Bootstrapping Reasoning With ReasoningEric Zelikman, Yuhuai Wu, Jesse Mu, Noah D. GoodmanNeurIPS 2022 · 1,126 citations
  4. ALFWorld: Aligning Text and Embodied Environments for Interactive LearningMohit Shridhar, Xingdi Yuan, Marc-Alexandre Côté, Yonatan Bisk et al.ICLR 2021 · 819 citations
  5. LLM-Planner: Few-Shot Grounded Planning for Embodied Agents with Large Language ModelsChan Hee Song, Brian M. Sadler, Jiaman Wu, Wei-Lun Chao et al.ICCV 2023 · 685 citations

Related papers

  1. AgentGym-RL: An Open-Source Framework to Train LLM Agents for Long-Horizon Decision Making via Multi-Turn RLZhiheng Xi, Jixuan Huang, Chenyang Liao, Baodai Huang et al.ICLR 2026
  2. LMRL Gym: Benchmarks for Multi-Turn Reinforcement Learning with Language ModelsMarwa Abdulhai, Isadora White, Charlie Victor Snell, Charles Sun et al.ICML 2025
  3. GEM: A Gym for Generalist LLMsZichen Liu, Anya Sims, Keyu Duan, Changyu Chen et al.ICLR 2026
  4. AgentBench: Evaluating LLMs as AgentsXiao Liu, Hao Yu, Hanchen Zhang, Yifan Xu et al.ICLR 2024 · 748 citations
  5. VirtualEnv: A Platform for Embodied AI ResearchKabir Swain, Sijie Han, Ayush Raina, Jin Zhang et al.AAAI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines