• Stars
    star
    270
  • Rank 152,189 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created about 4 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A framework for multi-agent reinforcement learning.

Marley

Marley is a framework for multi-agent reinforcement learning. It lets you design a game and run experiments with multiple AI-powered agents playing that game.

Marley isn't ready for use yet; it works for my research purposes, but I haven't yet made the work needed to make it easy to understand for others. If you're still interested in using it, feel free to read the code or email me for help.

I'm using Marley in my research mission to use machine learning to understand human society. I want to produce emergent reciprocation in selfish RL agents and use that to show social behavior. Talk video, slides, sign up for updates.

I hope to make Marley easier to use soon.

GridRoyale

View the live version here!

GridRoyale is a life simulation. It's a case study that's bundled with Marley.

GridRoyale is similar to Game of Life or GridWorld, except I added game mechanics to encourage the players to behave socially. These game mechanics are similar to those in the battle royale genre of computer games, which is why it's called GridRoyale.

Players get 10 points for eating food, i.e. the dots that regenerate randomly. Players lose 5 points for colliding with other agents or walls. Players lose 10 points for being shot.

How to run GridRoyale

Installation:

$ pip install marley

Run the server:

$ marley grid_royale demo

This will automatically open a browser window and show you your simulation.