{"repo":"niveck/LLMafia","free":true,"listed":false,"github":"https://github.com/niveck/LLMafia","clone":"git clone https://github.com/niveck/LLMafia.git","description":"Asynchronous LLM Agent playing games of Mafia against human players","language":"Python","stars":24,"topics":["agent","agentic-ai","ai","ai-agents","async","asynchronous","game","llm","llm-agent","llm-evaluation"],"license":"MIT","category":"ai-agents","readme_excerpt":"LLMafia - Asynchronous LLM Agent Our Mafia games code for an Asynchronous LLM Agent playing games of Mafia with multiple human players. 🌐 Project 📃 Paper 📚 Dataset A virtual game of Mafia, played by human players and an LLM agent player. The agent integrates in the asynchronous group conversation by constantly simulating the decision to send a message. Time to Talk: 🕵️‍♂️ LLM Agents for Asynchronous Group Communication in Mafia Games Niv Eckhaus, Uri Berger, Gabriel Stanovsky https://aclanthology.org/2025.findings-emnlp.608/ Abstract: LLMs are used predominantly in synchronous communication, where a human user and a model communicate in alternating turns. In contrast, many real-world settings are asynchronous . For example, in group chats, online team meetings, or social games, there is no inherent notion of turns. In this work, we develop an adaptive asynchronous LLM agent consisting of two modules: a generator that decides what to say , and a scheduler that decides when to say it . To evaluate our agent, we collect a unique dataset of online Mafia games, where our agent plays with human participants. Overall, our agent performs on par with human players, both in game performance metrics and in its ability to blend in with the other human players. Our analysis shows that the agent's behavior in deciding when to speak closely mirrors human patterns, although differences emerge in message content. We make all of our code and data publicly available. This work paves the way","default_branch":null,"files":null,"tree":[],"storefront":"/r/niveck","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/niveck/LLMafia/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}