{"name":"ChatArena: Multi-Agent Language Game Environments for LLMs","description":"ChatArena is a Python library designed to provide multi-agent language game environments for Large Language Models (LLMs), aiming to foster the development of communication and collaboration capabilities in AI. It offers a flexible framework for defining players, environments, and interactions based on Markov Decision Processes. Please note that as of August 11, 2025, this project has been deprecated due to a lack of widespread community use and is no longer receiving updates or support.","github":"https://github.com/Farama-Foundation/chatarena","url":"https://osrepos.com/repo/farama-foundation-chatarena","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/farama-foundation-chatarena","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/farama-foundation-chatarena.md","json":"https://osrepos.com/repo/farama-foundation-chatarena.json","topics":["AI","Large Language Models","Multi-Agent Systems","Python","Natural Language Processing","Game Environments","LLM Agents","Reinforcement Learning"],"keywords":["AI","Large Language Models","Multi-Agent Systems","Python","Natural Language Processing","Game Environments","LLM Agents","Reinforcement Learning"],"stars":null,"summary":"ChatArena is a Python library designed to provide multi-agent language game environments for Large Language Models (LLMs), aiming to foster the development of communication and collaboration capabilities in AI. It offers a flexible framework for defining players, environments, and interactions based on Markov Decision Processes. Please note that as of August 11, 2025, this project has been deprecated due to a lack of widespread community use and is no longer receiving updates or support.","content":"## Introduction\n\nChatArena (or Chat Arena) is a library that provides multi-agent language game environments for Large Language Models (LLMs) like GPT-3, GPT-4, and ChatGPT. The primary goal of ChatArena is to facilitate research into autonomous LLM agents and their social interactions, helping to develop their communication and collaboration capabilities.\n\nIt offers several key features:\n*   **Abstraction**: A flexible framework for defining multiple players, environments, and their interactions, based on Markov Decision Process.\n*   **Language Game Environments**: A collection of environments to aid in understanding, benchmarking, or training agent LLMs.\n*   **User-friendly Interfaces**: Both Web UI and CLI are provided to develop and prompt engineer LLM agents within these environments.\n\n**Important Note**: As of August 11, 2025, this project has been deprecated due to a lack of widespread community use and is no longer planned to receive any additional updates or support.\n\n## Installation\n\nTo get started with ChatArena, ensure you have Python >= 3.7. An OpenAI API key is optional if you plan to use GPT-3.5-turbo or GPT-4 as an LLM agent.\n\nInstall with pip:\n\nbash\npip install chatarena\n\n\nAlternatively, install from source:\n\nbash\npip install git+https://github.com/chatarena/chatarena\n\n\nTo use GPT models, set your OpenAI API key:\n\nbash\nexport OPENAI_API_KEY=\"your_api_key_here\"\n\n\nOptional dependencies can be installed for full functionality:\n\nbash\npip install chatarena[all_backends] # for all supported backends\npip install chatarena[all_envs]     # for all environments\npip install chatarena[all]          # for full functionality\n\n\nYou can also launch a demo Web UI locally:\n\nshell\npip install chatarena[gradio]\ngit clone https://github.com/chatarena/chatarena.git\ncd chatarena\ngradio app.py\n\n\n## Examples\n\nChatArena provides a variety of language game environments:\n\n*   **Conversation**: A multi-player environment simulating a conversation, such as the \"NLP Classroom\" example.\n*   **Moderator Conversation**: Based on conversation, but with a moderator controlling game dynamics. Examples include \"Rock-paper-scissors\" and \"Tic-tac-toe\".\n*   **Chameleon**: A multi-player social deduction game where players describe clues about a secret word, and a \"chameleon\" tries to blend in without knowing the word.\n*   **PettingZooChess**: A two-player chess game environment integrated with PettingZoo.\n*   **PettingZoo TicTacToe**: A two-player tic-tac-toe game environment driven by hard-coded rules, distinct from the moderator-driven version.\n\n## Why Use It\n\nChatArena was designed to be a valuable tool for researchers and developers interested in the capabilities of Large Language Models in multi-agent settings. Its structured approach allows for:\n\n*   **Research and Development**: A dedicated platform for exploring and benchmarking LLM agents' communication and collaboration skills.\n*   **Flexible Experimentation**: The abstract framework enables easy definition and customization of new language games, players, and interaction rules.\n*   **Diverse Environments**: A suite of pre-built environments, from simple conversations to complex social deduction games and classic board games, provides immediate testing grounds.\n*   **User-Friendly Interaction**: Both command-line and web-based interfaces simplify the process of developing and prompt engineering LLM agents.\n\nWhile the project is now deprecated, its design principles and the environments it offered provide insights into the challenges and opportunities in multi-agent LLM research.\n\n## Links\n\n*   **GitHub Repository**: <a href=\"https://github.com/Farama-Foundation/ChatArena\" target=\"_blank\" rel=\"noopener noreferrer\">https://github.com/Farama-Foundation/ChatArena</a>\n*   **PyPI**: <a href=\"https://pypi.org/project/chatarena/\" target=\"_blank\" rel=\"noopener noreferrer\">https://pypi.org/project/chatarena/</a>\n*   **HuggingFace Demo**: <a href=\"https://chatarena-chatarena-demo.hf.space\" target=\"_blank\" rel=\"noopener noreferrer\">https://chatarena-chatarena-demo.hf.space</a>\n*   **Colab Notebook**: <a href=\"https://colab.research.google.com/drive/1vKaskNMBtuGOVgn8fQxMgjCevn2wp1Ml?authuser=0#scrollTo=P5DCC0Y0Zbxi\" target=\"_blank\" rel=\"noopener noreferrer\">https://colab.research.google.com/drive/1vKaskNMBtuGOVgn8fQxMgjCevn2wp1Ml?authuser=0#scrollTo=P5DCC0Y0Zbxi</a>\n*   **Vimeo Demo Videos**:\n    *   WebUI Demo: <a href=\"https://vimeo.com/816979419\" target=\"_blank\" rel=\"noopener noreferrer\">https://vimeo.com/816979419</a>\n    *   CLI Demo: <a href=\"https://vimeo.com/816989884\" target=\"_blank\" rel=\"noopener noreferrer\">https://vimeo.com/816989884</a>\n*   **Twitter**: <a href=\"https://twitter.com/_chatarena?style=social&label=ChatArena\" target=\"_blank\" rel=\"noopener noreferrer\">https://twitter.com/_chatarena</a>\n*   **Discord (Farama Server)**: <a href=\"https://discord.gg/Vrtdmu9Y8Q\" target=\"_blank\" rel=\"noopener noreferrer\">https://discord.gg/Vrtdmu9Y8Q</a>","metrics":{"detailViews":3,"githubClicks":1},"dates":{"published":null,"modified":"2026-07-01T16:11:32.000Z"}}