CoGames

0.24.3 · active · verified Thu Apr 09

CoGames is a collection of multi-agent cooperative and competitive environments designed for reinforcement learning research. It serves as the game environment for the Alignment League Benchmark (ALB), a suite of multi-agent games to measure AI alignment, coordination, and collaboration. It currently features the 'Cogs vs Clips' game, offering environments for creating new games, training agents, and submitting them to the ALB leaderboard.

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to install CoGames, list the available game missions, and then run a single episode of a mission using a simple random policy via the command-line interface. The CLI is the primary interaction method for CoGames.

# Install CoGames (if you haven't already)
pip install cogames

# List available missions
cogames missions

# Play an episode of the 'training_facility_1' mission with a random policy
cogames play -m training_facility_1 -p random

view raw JSON →