Multi-agent environment for LLM research
Top 28.2% on sourcepulse
ChatArena provides a framework for developing and benchmarking multi-agent language game environments for LLMs, enabling research into AI communication and collaboration. It offers a flexible abstraction for defining players and interactions, a suite of language game environments, and user-friendly Web UI and CLI interfaces for agent development.
How It Works
ChatArena structures interactions using a Markov Decision Process (MDP) framework. An "Arena" encapsulates an environment and players, managing the game loop and providing interfaces. "Environments" define game state and logic, rendering observations as natural language. "Language Backends" provide LLM capabilities, processing text inputs and generating responses, which act as "Player" agents' actions.
Quick Start & Requirements
pip install chatarena
pip install chatarena[all_backends]
, chatarena[all_envs]
, or chatarena[all]
for broader LLM and environment support.pip install chatarena[gradio]
and gradio app.py
after cloning the repository.Highlighted Details
Environment
class.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project is version 0.1, indicating potential for breaking changes. While an arXiv paper is mentioned as forthcoming, no direct link is provided in the README.
1 year ago
Inactive