TextWorld: A Learning Environment for Text-based Games
Not on the map. Why?
Cited by 102 in LLM agents and tool use, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
We introduce TextWorld, a sandbox learning environment for the training and evaluation of RL agents on text-based games. TextWorld is a Python library that handles interactive play-through of text games, as well as backend functions like state tracking and reward assignment. It comes with a curated list of games whose features and challenges we have analyzed. More significantly, it enables users to handcraft or automatically generate new games. Its generative mechanisms give precise control over the difficulty, scope, and language of constructed games, and can be used to relax challenges inherent to commercial text games like partial observability and sparse rewards. By generating sets of varied but similar games, TextWorld can also be used to study generalization and transfer learning. We cast text-based games in the Reinforcement Learning formalism, use our framework to develop a set of benchmark games, and evaluate several baseline agents on this set and the curated list.
Key facts. Cited by 304 papers in the map (data through 7 Oct 2026). First posted on arXiv 29 Jun 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2018: 1; 2019: 2; 2020: 0; 2021: 33; 2022: 27; 2023: 52; 2024: 53; 2025: 60; 2026: 76.
304 papers.
Sort:
By area:
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,211
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 599
- 2023Cognitive Architectures for Language Agentscited by 422
- 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 417
- 2022ScienceWorld: Is your Agent Smarter than a 5th Grader?cited by 298
- 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 293
- 2023Auto-GPT for Online Decision Making: Benchmarks and Additional Opinionscited by 250
- 2022Pre-Trained Language Models for Interactive Decision-Makingcited by 220
- 2023Grounding Large Language Models in Interactive Environments with Online Reinforcement Learningcited by 193
- 2021Implicit Representations of Meaning in Neural Language Modelscited by 179
- 2023Do the Rewards Justify the Means? Measuring Trade-Offs Between Rewards and Ethical Behavior in the MACHIAVELLI Benchmarkcited by 174
38 more
- 2023ADaPT: As-Needed Decomposition and Planning with Language Modelscited by 172
- 2023SwiftSage: A Generative Agent with Fast and Slow Thinking for Complex Interactive Taskscited by 166
- 2021A Survey of Zero-shot Generalisation in Deep Reinforcement Learningcited by 164
- 2024Fine-Tuning Large Vision-Language Models as Decision-Making Agents via Reinforcement Learningcited by 158
- 2021Episodic Transformer for Vision-and-Language Navigationcited by 155
- 2024BALROG: Benchmarking Agentic LLM and VLM Reasoning On Gamescited by 141
- 2024Exploring the Reasoning Abilities of Multimodal Large Language Models (MLLMs): A Comprehensive Survey on Emerging Trends in Multimodal Reasoningcited by 136
- 2023SmartPlay: A Benchmark for LLMs as Intelligent Agentscited by 123
- 2024GTBench: Uncovering the Strategic Reasoning Limitations of LLMs via Game-Theoretic Evaluationscited by 118
- 2024A Survey on Large Language Model-Based Game Agentscited by 106
- 2019Help, Anna! Visual Navigation with Natural Multimodal Assistance via Retrospective Curiosity-Encouraging Imitation Learningcited by 100
- 2024AriGraph: Learning Knowledge Graph World Models with Episodic Memory for LLM Agentscited by 100
- 2024DISCOVERYWORLD: A Virtual Environment for Developing and Evaluating Automated Scientific Discovery Agentscited by 89
- 2023MindAgent: Emergent Gaming Interactioncited by 87
- 2023LMRL Gym: Benchmarks for Multi-Turn Reinforcement Learning with Language Modelscited by 84
- 2024RAP: Retrieval-Augmented Planning with Contextual Memory for Multimodal LLM Agentscited by 80
- 2025Agent Learning via Early Experiencecited by 79
- 2023Put Your Money Where Your Mouth Is: Evaluating Strategic Planning and Execution of LLM Agents in an Auction Arenacited by 78
- 2018Vision-based Navigation with Language-based Assistance via Imitation Learning with Indirect Interventioncited by 77
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 77
- 2021Chess as a Testbed for Language Model State Trackingcited by 69
- 2023Embodied Multi-Modal Agent trained by an LLM from a Parallel TextWorldcited by 65
- 2024StateFlow: Enhancing LLM Task-Solving through State-Driven Workflowscited by 65
- 2024SelfIE: Self-Interpretation of Large Language Model Embeddingscited by 63
- 2021What Would Jiminy Cricket Do? Towards Agents That Behave Morallycited by 57
- 2025OdysseyBench: Evaluating LLM Agents on Long-Horizon Complex Office Application Workflowscited by 54
- 2026Graph-of-Skills: Dependency-Aware Structural Retrieval for Massive Agent Skillscited by 53
- 2024Can Language Models Serve as Text-Based World Simulators?cited by 50
- 2022Improving Intrinsic Exploration with Language Abstractionscited by 49
- 2023Learning to Generate Better Than Your LLMcited by 49
- 2023Can Large Language Models be Good Path Planners? A Benchmark and Investigation on Spatial-temporal Reasoningcited by 49
- 2023Hoodwinked: Deception and Cooperation in a Text-Based Game for Language Modelscited by 46
- 2026AMA-Bench: Evaluating Long-Horizon Memory for Agentic Applicationscited by 46
- 2023Entity Tracking in Language Modelscited by 44
- 2024LLM-A*: Large Language Model Enhanced Incremental Heuristic Search on Path Planningcited by 44
- 2025Scaling Agent Learning via Experience Synthesiscited by 40
- 2025From Word to World: Can Large Language Models be Implicit Text-based World Models?cited by 40
- 2025Large Language Models for Planning: A Comprehensive and Systematic Surveycited by 38
50 most cited of 304 All 304 (JSON)
- 2026Code Owns the Simulation, Jev Owns the Evaluation1 Oct 2026
- 2026Graph-Conditioned On-Policy Agent Distillation from Off-the-Shelf Teachers29 Sep 2026
- 2026Act First, Reason Later: Accelerating On-Policy Distillation for Multi-Turn Agents via Reference-Conditioned Inverse Dynamics29 Sep 2026
- 2026KV-streams for Efficient Compaction in Agentic Reinforcement Learning28 Sep 2026
- 2026FromPitch2Board: Benchmarking LLM Agents in Long-Horizon Football Management28 Sep 2026
- 2026SGG-ReflAct: Sub-Goal Guided ReflAct with Structured Planning for Reliable Long-Horizon Reasoning28 Sep 2026
- 2026GlyphBench: A Playground for Language-Model Reinforcement Learning28 Sep 2026
- 2026Decision-Sufficient State Representations: Measuring and Reducing Write-Time Regret26 Sep 2026
- 2026World Agent: Can Language Models Keep a World Running?26 Sep 2026
- 2026Delayed Supervision for Test-Time Language Models26 Sep 2026
- 2026Knowing When to Yield: Grounded Arbitration of User Corrections in Text-Based Embodied Agents25 Sep 2026
- 2026Verifiable Hidden Dynamics Play: Generating Agentic RL Environments from Solved Mechanisms23 Sep 2026
38 more
- 2026ScienceIDE: Turning World's Scientific Codebase into Agent Learnable Environments16 Sep 2026
- 2026AI for Games in the Foundation Model Era15 Sep 2026
- 2026EvolveScaler: Synthesizing Information-Evolution Contexts via Executable State Machines and Natural-Language Rendering8 Sep 2026
- 2026Harbor Adapters and Harbor-Index: Infrastructure and a Curated Meta-Dataset for Large-Scale Agentic Evaluation3 Sep 2026
- 2026The Rise of Verbal Reinforcement Learning1 Sep 2026
- 2026GlossoGen: Emergent Language in Complex Multi-Agent LLM Interactions1 Sep 2026
- 2026S3Gym: Can LLMs Turn Self-Testing and Self-Judging into Self-Improvement?31 Aug 2026
- 2026One Success Isn't Reliability: Thinkingbox, a Sandbox and Benchmark for Agents in Stateful Business Workflows20 Aug 2026
- 2026FM-Bench: A Benchmark for Long-Horizon Management with Competing Agents19 Aug 2026
- 2026MemWM: Memory-Augmented Text-Based World Model7 Aug 2026
- 2026Language Equality has a Price: A Systematic Investigation of Multi-turn LLM Performance for EU-24+2 Aug 2026
- 2026Leveraging Trajectory Graphs for Pre-Execution Error Diagnosis in Agentic LLM Systems29 Jul 2026
- 2026From Agent Failures to Text Policies: What Works and What Breaks22 Jul 2026
- 2026Athena-Brain Technical Report: An Efficient Robot Brain for General Intelligence and Embodied Interaction21 Jul 2026
- 2026Instrument Effects in Language-Model Honesty Evaluation: An Auditable Single-System Demonstration15 Jul 2026
- 2026Structured Feedback Improves Repair in an LLM Agent Loop15 Jul 2026
- 2026Heavy-Tailed Memory Traces in Long-Horizon Language Agents9 Jul 2026
- 2026TurnOPD: Making On-Policy Distillation Turn-Aware for Efficient Long-Horizon Agent Training7 Jul 2026
- 2026From Personas to Plot: Character-Grounded Multi-Agent Story Generation for Long-Form Narratives1 Jul 2026
- 2026Situation Perception: A Necessary Primitive to Artificial Superintelligence29 Jun 2026
- 2026Selective Memory Retention for Long-Horizon LLM Agents28 Jun 2026
- 2026Multi-Agent Transactive Memory18 Jun 2026
- 2026Looped World Models16 Jun 2026
- 2026Experience-Sensitive Game Learning: A Behavioral Study of Humans and Language Agents15 Jun 2026
- 2026HyperWorld: Hypergraph-Structured State Serialization Improves Learned Textual World Models12 Jun 2026
- 2026HERO'S JOURNEY: Testing Complex Rule Induction with Text Games1 Jun 2026
- 2026AgentOdyssey: Open-Ended Long-Horizon Text Game Generation for Test-Time Continual Learning Agents29 May 2026
- 2026PatchWorld: Gradient-Free Optimization of Executable World Models for Agent Environments29 May 2026
- 2026PTCG-Bench: Can LLM Agents Master Pok'emon Trading Card Game?28 May 2026
- 2026HalluWorld: A Controlled Benchmark for Hallucination via Reference World Models19 May 2026
- 2026WebGameBench: Requirement-to-Application Evaluation for Coding Agents via Browser-Native Games17 May 2026
- 2026Formal Methods Meet LLMs: Auditing, Monitoring, and Intervention for Compliance of Advanced AI Systems15 May 2026
- 2026Agent-BRACE: Decoupling Beliefs from Actions in Long-Horizon Tasks via Verbalized State Uncertainty12 May 2026
- 2026When to Re-Commit: Temporal Abstraction Discovery for Long-Horizon Vision-Language Reasoning11 May 2026
- 2026Agentick: A Unified Benchmark for General Sequential Decision-Making Agents7 May 2026
- 2026Milestone-Guided Policy Learning for Long-Horizon Language Agents7 May 2026
- 2026DORA Explorer: Improving the Exploration Ability of LLMs Without Training19 Apr 2026
- 2026LACE: Lattice Attention for Cross-thread Exploration16 Apr 2026
50 newest of 304 All 304 (JSON)
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,211
- 2023Cognitive Architectures for Language Agentscited by 422
- 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 293
- 2023SmartPlay: A Benchmark for LLMs as Intelligent Agentscited by 123
- 2024A Survey on Large Language Model-Based Game Agentscited by 106
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 77
- 2023Embodied Multi-Modal Agent trained by an LLM from a Parallel TextWorldcited by 65
- 2025OdysseyBench: Evaluating LLM Agents on Long-Horizon Complex Office Application Workflowscited by 54
- 2026Graph-of-Skills: Dependency-Aware Structural Retrieval for Massive Agent Skillscited by 53
- 2026AMA-Bench: Evaluating Long-Horizon Memory for Agentic Applicationscited by 46
- 2023LLM as OS, Agents as Apps: Envisioning AIOS, Agents and the AIOS-Agent Ecosystemcited by 35
12 most cited of 84 All 84 (JSON)
- 2026KV-streams for Efficient Compaction in Agentic Reinforcement Learning28 Sep 2026
- 2026FromPitch2Board: Benchmarking LLM Agents in Long-Horizon Football Management28 Sep 2026
- 2026GlyphBench: A Playground for Language-Model Reinforcement Learning28 Sep 2026
- 2026Decision-Sufficient State Representations: Measuring and Reducing Write-Time Regret26 Sep 2026
- 2026Verifiable Hidden Dynamics Play: Generating Agentic RL Environments from Solved Mechanisms23 Sep 2026
- 2026Harbor Adapters and Harbor-Index: Infrastructure and a Curated Meta-Dataset for Large-Scale Agentic Evaluation3 Sep 2026
- 2026GlossoGen: Emergent Language in Complex Multi-Agent LLM Interactions1 Sep 2026
- 2026One Success Isn't Reliability: Thinkingbox, a Sandbox and Benchmark for Agents in Stateful Business Workflows20 Aug 2026
- 2026FM-Bench: A Benchmark for Long-Horizon Management with Competing Agents19 Aug 2026
- 2026Leveraging Trajectory Graphs for Pre-Execution Error Diagnosis in Agentic LLM Systems29 Jul 2026
- 2026Structured Feedback Improves Repair in an LLM Agent Loop15 Jul 2026
- 2026From Personas to Plot: Character-Grounded Multi-Agent Story Generation for Long-Form Narratives1 Jul 2026
12 newest of 84 All 84 (JSON)
- 2022ScienceWorld: Is your Agent Smarter than a 5th Grader?cited by 298
- 2023ADaPT: As-Needed Decomposition and Planning with Language Modelscited by 172
- 2023SwiftSage: A Generative Agent with Fast and Slow Thinking for Complex Interactive Taskscited by 166
- 2024Fine-Tuning Large Vision-Language Models as Decision-Making Agents via Reinforcement Learningcited by 158
- 2024BALROG: Benchmarking Agentic LLM and VLM Reasoning On Gamescited by 141
- 2024Exploring the Reasoning Abilities of Multimodal Large Language Models (MLLMs): A Comprehensive Survey on Emerging Trends in Multimodal Reasoningcited by 136
- 2024GTBench: Uncovering the Strategic Reasoning Limitations of LLMs via Game-Theoretic Evaluationscited by 118
- 2023Put Your Money Where Your Mouth Is: Evaluating Strategic Planning and Execution of LLM Agents in an Auction Arenacited by 78
- 2023Can Large Language Models be Good Path Planners? A Benchmark and Investigation on Spatial-temporal Reasoningcited by 49
- 2025Large Language Models for Planning: A Comprehensive and Systematic Surveycited by 38
- 2023Thought Propagation: An Analogical Approach to Complex Reasoning with Large Language Modelscited by 37
- 2025RefactorBench: Evaluating Stateful Reasoning in Language Agents Through Codecited by 28
12 most cited of 27 All 27 (JSON)
- 2026SGG-ReflAct: Sub-Goal Guided ReflAct with Structured Planning for Reliable Long-Horizon Reasoning28 Sep 2026
- 2026When to Re-Commit: Temporal Abstraction Discovery for Long-Horizon Vision-Language Reasoning11 May 2026
- 2026LUDOBENCH: Evaluating LLM Behavioural Decision-Making Through Spot-Based Board Game Scenarios in Ludo7 Apr 2026
- 2026ProCeedRL: Process Critic with Exploratory Demonstration Reinforcement Learning for LLM Agentic Reasoning2 Apr 2026
- 2026Intrinsic Stability Limits of Autoregressive Reasoning: Structural Consequences for Long-Horizon Execution6 Feb 2026
- 2026Playing With AI: How Do State-Of-The-Art Large Language Models Perform in the 1977 Text-Based Adventure Game Zork?27 Jan 2026
- 2025The Artificial Intelligence Cognitive Examination: A Survey on the Evolution of Multimodal Evaluation from Recognition to Reasoning5 Oct 2025
- 2025Learning When to Plan: Efficiently Allocating Test-Time Compute for LLM Agents3 Sep 2025
- 2025MazeEval: A Benchmark for Testing Sequential Decision-Making in Language Models27 Jul 2025
- 2025Large Language Models for Planning: A Comprehensive and Systematic Survey26 May 2025
- 2025Retrospex: Language Agent Meets Offline Reinforcement Learning Critic17 May 2025
- 2025EscapeCraft: A 3D Room Escape Environment for Benchmarking Complex Multimodal Reasoning Ability13 Mar 2025
12 newest of 27 All 27 (JSON)
- 2024AriGraph: Learning Knowledge Graph World Models with Episodic Memory for LLM Agentscited by 100
- 2025From Word to World: Can Large Language Models be Implicit Text-based World Models?cited by 40
- 2023ByteSized32: A Corpus and Challenge Task for Generating Task-Specific World Models Expressed as Text Gamescited by 22
- 2024ReSpAct: Harmonizing Reasoning, Speaking, and Acting Towards Building Large Language Model-Based Conversational AI Agentscited by 14
- 2021Modeling Worlds in Textcited by 11
- 2026World of Workflows: A Benchmark for Bringing World Models to Enterprise Systemscited by 10
- 2025From Masks to Worlds: A Hitchhiker's Guide to World Modelscited by 5
- 2026PatchWorld: Gradient-Free Optimization of Executable World Models for Agent Environmentscited by 5
- 2026Beyond State Consistency: Behavior Consistency in Text-Based World Modelscited by 4
- 2024BWArea Model: Learning World Model, Inverse Dynamics, and Policy for Controllable Language Generationcited by 3
- 2025CoEx -- Co-evolving World-model and Explorationcited by 3
- 2026HalluWorld: A Controlled Benchmark for Hallucination via Reference World Modelscited by 2
12 most cited of 18 All 18 (JSON)
- 2026World Agent: Can Language Models Keep a World Running?26 Sep 2026
- 2026AI for Games in the Foundation Model Era15 Sep 2026
- 2026MemWM: Memory-Augmented Text-Based World Model7 Aug 2026
- 2026Looped World Models16 Jun 2026
- 2026HyperWorld: Hypergraph-Structured State Serialization Improves Learned Textual World Models12 Jun 2026
- 2026PatchWorld: Gradient-Free Optimization of Executable World Models for Agent Environments29 May 2026
- 2026HalluWorld: A Controlled Benchmark for Hallucination via Reference World Models19 May 2026
- 2026Beyond State Consistency: Behavior Consistency in Text-Based World Models15 Apr 2026
- 2026World of Workflows: A Benchmark for Bringing World Models to Enterprise Systems29 Jan 2026
- 2025From Word to World: Can Large Language Models be Implicit Text-based World Models?21 Dec 2025
- 2025From Masks to Worlds: A Hitchhiker's Guide to World Models23 Oct 2025
- 2025CoEx -- Co-evolving World-model and Exploration29 Jul 2025
12 newest of 18 All 18 (JSON)
- 2019Help, Anna! Visual Navigation with Natural Multimodal Assistance via Retrospective Curiosity-Encouraging Imitation Learningcited by 100
- 2018Vision-based Navigation with Language-based Assistance via Imitation Learning with Indirect Interventioncited by 77
- 2019Action Assembly: Sparse Imitation Learning for Text Based Games with Combinatorial Action Spacescited by 7
- 2023Language Decision Transformers with Exponential Tilt for Interactive Text Environmentscited by 3
- 2023Language Decision Transformers with Exponential Tilt for Interactive Text Environments10 Feb 2023
- 2019Help, Anna! Visual Navigation with Natural Multimodal Assistance via Retrospective Curiosity-Encouraging Imitation Learning4 Sep 2019
- 2019Action Assembly: Sparse Imitation Learning for Text Based Games with Combinatorial Action Spaces23 May 2019
- 2018Vision-based Navigation with Language-based Assistance via Imitation Learning with Indirect Intervention10 Dec 2018
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 599
- 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 417
- 2023Auto-GPT for Online Decision Making: Benchmarks and Additional Opinionscited by 250
- 2022Pre-Trained Language Models for Interactive Decision-Makingcited by 220
- 2023Grounding Large Language Models in Interactive Environments with Online Reinforcement Learningcited by 193
- 2021Implicit Representations of Meaning in Neural Language Modelscited by 179
- 2023Do the Rewards Justify the Means? Measuring Trade-Offs Between Rewards and Ethical Behavior in the MACHIAVELLI Benchmarkcited by 174
- 2021A Survey of Zero-shot Generalisation in Deep Reinforcement Learningcited by 164
- 2021Episodic Transformer for Vision-and-Language Navigationcited by 155
- 2024DISCOVERYWORLD: A Virtual Environment for Developing and Evaluating Automated Scientific Discovery Agentscited by 89
- 2023MindAgent: Emergent Gaming Interactioncited by 87
- 2023LMRL Gym: Benchmarks for Multi-Turn Reinforcement Learning with Language Modelscited by 84
12 most cited of 165 All 165 (JSON)
- 2026Code Owns the Simulation, Jev Owns the Evaluation1 Oct 2026
- 2026Graph-Conditioned On-Policy Agent Distillation from Off-the-Shelf Teachers29 Sep 2026
- 2026Act First, Reason Later: Accelerating On-Policy Distillation for Multi-Turn Agents via Reference-Conditioned Inverse Dynamics29 Sep 2026
- 2026Delayed Supervision for Test-Time Language Models26 Sep 2026
- 2026Knowing When to Yield: Grounded Arbitration of User Corrections in Text-Based Embodied Agents25 Sep 2026
- 2026ScienceIDE: Turning World's Scientific Codebase into Agent Learnable Environments16 Sep 2026
- 2026EvolveScaler: Synthesizing Information-Evolution Contexts via Executable State Machines and Natural-Language Rendering8 Sep 2026
- 2026The Rise of Verbal Reinforcement Learning1 Sep 2026
- 2026Language Equality has a Price: A Systematic Investigation of Multi-turn LLM Performance for EU-24+2 Aug 2026
- 2026From Agent Failures to Text Policies: What Works and What Breaks22 Jul 2026
- 2026Athena-Brain Technical Report: An Efficient Robot Brain for General Intelligence and Embodied Interaction21 Jul 2026
- 2026Instrument Effects in Language-Model Honesty Evaluation: An Auditable Single-System Demonstration15 Jul 2026
12 newest of 165 All 165 (JSON)