MEgooneh/MafiaGPT

Python Moderator for a Mafia(Werewolf) game with GPT players!

37
/ 100
Emerging

This project lets you run a full game of Mafia (Werewolf) entirely with AI players powered by GPT models. You input your OpenAI API key and choose your desired GPT model, and the system outputs a detailed log file of the game's progression, including player speeches, votes, and actions. It's designed for AI researchers, game designers, or anyone curious about observing AI models' social and logical reasoning in a complex game.

Use this if you want to observe and analyze how GPT models interact, strategize, and communicate with each other in a social deduction game without human intervention.

Not ideal if you want to play a game of Mafia with human players or use this as a general game moderation tool for live games.

AI research social deduction games large language models AI behavior analysis game simulation
No Package No Dependents
Maintenance 10 / 25
Adoption 6 / 25
Maturity 16 / 25
Community 5 / 25

How are scores calculated?

Stars

16

Forks

1

Language

Python

License

MIT

Last pushed

Feb 05, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/MEgooneh/MafiaGPT"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.