Skip to content

diambra/agents

Repository files navigation

diambra

DocumentationWebsite

LinkedinDiscordTwitchYouTubeTwitter

Python

Agents main branc tests

Last Docs Update

A collection of Agents interfaced with DIAMBRA Arena

This repository contains many examples of Agents that interact with DIAMBRA Arena, our exclusive suite of Reinforcement Learning environments.

They show how to use the standard OpenAI Gym/Gymnasium API, and how to train state-of-the-art Deep Reinforcement Learning agents using the most advanced libraries in the field.

The dedicated section of our Documentation provides all the details needed to get started!

Basic scripted agents (No-Op, Random)

The classical way to create an agent able to play a game is to hand-code the rules governing its behavior. These rules can vary from very simple heuristics to very complex behavioral trees, but they all have in common the need of an expert coder that knows the game and is able to distill the key elements of it to craft the scripted bot.

Agents contained in this section, are examples of (very simple) scripted bots interfaced with our environments.

References: Code - Docs

Deep Reinforcement Learning Agents

An alternative approach to scripted agents is adopting (deep) reinforcement learning, and the examples provided in this repository show how to do that with the most important libraries in the domain.

DIAMBRA Arena natively provides interfaces to both Stable Baselines 3 and Ray RLlib (and Stable Baselines, but it is now deprecated), allowing to easily train models with them on our environments. Each library-dedicated section contains some basic and advanced examples.

Stable Baselines 3

References: Code - Docs

Ray RLlib

References: Code - Docs

Stable Baselines (Deprecated)

References: Code

DIAMBRA, Inc. © Copyright 2018-2024. All Rights Reserved.