TextArena/TextArena
A Collection of Competitive Text-Based Games for Language Model Evaluation and Reinforcement Learning
What it solves
TextArena provides a standardized framework for evaluating and training language-model agents. It addresses the lack of diverse, interactive environments where LLMs can be tested for reasoning, negotiation, and social deduction through competitive and cooperative play.
How it works
The framework uses an interface styled after OpenAI Gym, allowing users to plug in LLM agents that interact with over 100 text-based games. These games range from classic board and card games to complex multi-agent reasoning tasks. The system supports self-play and model-vs-model evaluations and can be presented in up to 192 different languages, allowing for cross-lingual agent evaluation.
Who it’s for
It is designed for AI researchers and developers who want to benchmark LLM agents, build training pipelines using reinforcement learning, or study theory of mind in language models.
Highlights
- 100+ Games: Includes a wide variety of single-, two-, and multi-player environments.
- Multilingual Support: UI localization for 192 languages, enabling agents to play in different languages independently.
- Gym-like Interface: Easy integration for agents that only need to implement a
__call__function. - ** webinars/competitions**: Associated with the MindGames competition for training LLMs on tasks requiring theory of mind.
Related
- Project
- Dispatch
- Project
- Project
- Project