Skip to main content

A library for creating multi-agent grid-world environments for reinforcement learning.

Project description

PyPI version Python License Coverage

CoGrid

CoGrid Logo

CoGrid is a library for creating multi-agent grid-world environments for reinforcement learning research. It features a functional array-based simulation core, pluggable components (rewards, features, objects), and dual NumPy/JAX backend support.

CoGrid utilizes the parallel PettingZoo API to standardize the multi-agent environment interface.

Example

Installation

Install from PyPI:

pip install cogrid

To install with JAX backend support:

pip install cogrid[jax]

For development (includes test, lint, and docs tools):

pip install cogrid[dev]

Citation

If you use CoGrid in your research, please cite the following paper:

@article{mcdonald2024cogrid,
  author  = {McDonald, Chase and Gonzalez, Cleotilde},
  title   = {CoGrid and Interactive Gym: A Framework for Multi-Agent Experimentation},
  year    = {forthcoming},
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cogrid-0.2.0.tar.gz (146.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cogrid-0.2.0-py3-none-any.whl (171.0 kB view details)

Uploaded Python 3

File details

Details for the file cogrid-0.2.0.tar.gz.

File metadata

  • Download URL: cogrid-0.2.0.tar.gz
  • Upload date:
  • Size: 146.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for cogrid-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ed6d196eedb5c28a152ebfc893b297fdb6c00f40b4571a69d4fcf483e851b9bd
MD5 c2ac63748c974fc1aa48268ccc4ed02d
BLAKE2b-256 1675b44fc07493fd16176af1d036d397f39a05864db8dd5385a43a6e7d821800

See more details on using hashes here.

File details

Details for the file cogrid-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: cogrid-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 171.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for cogrid-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6932c2b2c70cce5d4cdcb79013e76ded315856b0e333176ca1728ba4627b05fe
MD5 c099e8921ae44e71090009cc0daced1c
BLAKE2b-256 b66d87c0578ddf80157baef44c10a5ee2dd22cd0fdd8db97243b3d5c62a7241e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page