TextArena/TextArena

A Collection of Competitive Text-Based Games for Language Model Evaluation and Reinforcement Learning

What it solves

TextArena provides a standardized way to benchmark and train Large Language Models (LLMs) using text-based games. It addresses the need for environments where models can be tested on their ability to reason, strategize, and interact in multi-player scenarios without relying on traditional visual interfaces.

How it works

The framework uses an OpenAI Gym-style interface, allowing it to be integrated with various reinforcement learning (RL) and language model frameworks. It provides a suite of over 100 games (including single, two-player, and multi-player games) where agents—which only need a call function that takes a string observation and returns a string action—can compete or solve puzzles.

Who it’s for

It is designed for AI researchers and developers focusing on LLM training, evaluation, and the reasoning capabilities of models, particularly those interested in multi-agent reinforcement learning and theory of mind.

Highlights

  • Over 100 text-based games for benchmarking and training.
  • OpenAI Gym-style interface for easy integration with RL frameworks.
  • Support for single, two-player, and multi-player game environments.
  • Compatible with various LLM agents via a simple string-in, string-out interface.

Related

  • Dispatch
  • Project
  • Project
  • Project
  • Project