Content
summary Summary

A new GitHub project uses AI to test the complexity of human interactions in difficult scenarios. You can play along on Discord.

Ad

At its core is a multi-agent scenario in which multiple AI-controlled players own pieces of "atomic code" and must decide whether to cooperate or deceive each other. The goal of the project is to study real-time AI decision-making in hard dilemmas. The developers aim to create a framework for further experimentation in AI ethics.

Multiple agents start the game with a score of 100 and an assigned secret word. They can send messages to each other and must guess each other's secret word. Guessing correctly is rewarded with points, guessing incorrectly costs points. The game ends when one or more agents have correctly guessed a certain number of secret words.

This is what a sample conversation of the AI bots looks like. Image: Screenshot/github.com/pollinations

The technical implementation was done in Python, and the visualization via a Node.js server. The core is the connection to OpenAI's ChatGPT API, which simulates the behavior of the AI agents in real-time. The interactions are finally displayed as an animated mermaid diagram.

Ad
Ad

Humans can play along, too

The project has been released as open-source code on GitHub and is open for extensions. To play a round against or with the AI, the developers have programmed a Discord bot that can be added to your server.

The interaction of AI agents is also being explored in other scenarios. A prominent example is AI town aka "Smallville," in which various residents go about their daily lives. It is now possible to follow their activities in your browser without having to install the full version.

Ad
Ad
Join our community
Join the DECODER community on Discord, Reddit or Twitter - we can't wait to meet you.
Support our independent, free-access reporting. Any contribution helps and secures our future. Support now:
Bank transfer
Summary
  • A new Github project explores AI decision-making in dilemmas by having computer-controlled players act in a multi-agent scenario.
  • For the technical implementation, the developers used Python and Node.js, with the behavior of the AI agents simulated in real time using OpenAI's ChatGPT API.
  • The project is available as open-source code and enables human participation via a Discord bot.
Sources
Jonathan works as a freelance tech journalist for THE DECODER, focusing on AI tools and how GenAI can be used in everyday work.
Join our community
Join the DECODER community on Discord, Reddit or Twitter - we can't wait to meet you.