Strategic social deduction games are invaluable for testing the understanding and inference skills of language models. They offer critical insights into fields such as social science, artificial intelligence, and strategic gaming. This repository introduces AmongAgents, a text-based game environment inspired by the popular game Among Us. AmongAgents serves as a tool for studying simulated agent behavior, where language agents act as crew members aboard a spaceship. Their objective is to identify impostors sabotaging the ship and eliminating the crew.
conda create -n among-agents python=3.10
pip install -r requirements.txt
pip install -e .
python main.py
You can also try notebooks/run_game.ipynb
include_human
(True/False): add a human player to the gamepersonality
(True/False): assign personas to agentsagent_config
(ALL_LLM/ALL_RANDOM/CREWMATE_LLM/IMPOSTOR_LLM): LLM agent assignments