ash3spho3nix / marley

A framework for multi-agent reinforcement learning.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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.

About

A framework for multi-agent reinforcement learning.

License:MIT License


Languages

Language:Python 90.2%Language:Vue 4.3%Language:JavaScript 4.0%Language:HTML 1.3%Language:Shell 0.1%Language:CSS 0.1%