Skip to main content

GAMMS (Graph based Adversarial Multiagent Modelling Simulator) is a Python library designed for simulating large scale multi-agent scenarios on environments represented as graphs

Project description

GAMMS v0.2.5

GAMMS (Graph based Adversarial Multiagent Modelling Simulator) is a Python library designed for simulating large scale multi-agent scenarios on environments represented as graphs. The library is a framework which focuses on providing a flexible and extensible architecture to facilitate implementing interactions between agents and the environment as well as controlling the information flow between them. The library is geared towards easing development of high level scenario dynamics and testing agent behaviours rather than low level details like the actual physics of real world interactions. GAMMS tries to solve the following problems:

  1. Run large simulations involving multiple agents on an everyday laptop.
  2. Provide a simple interface to the user to define the agents and the environment.
  3. Allow the user to work with the agents and the environment without worrying about the underlying packages.
  4. Create a simulater that is easy to use on any operating system (Windows, Mac, Linux) and is easy to install.

The uniqueness of GAMMS comes from what it is not trying to be. It is not a physics engine, game engine, deep learning library, or a reinforcement learning library. The goal of GAMMS is to provide a framework where the user can use any of these libraries to implement their own agents and environments. Other libraries like Unity, PyBullet, and OpenAI Gym are great for simulating environments but they are not designed to be used as a framework for multi-agent simulations on graphs. GAMMS is trying to address the niche use for researchers and developers who want to do a quick iterations on their ideas and test them in simulated environments that have limited interactions. GAMMS want to be a tool to create a standardized way for simulating multi-agent systems, making it easier to share and reproduce results.

Requirements

Python 3.9+ installed with pip.

Package dependecies:

  • pygame
  • shapely
  • networkx
  • cbor2
  • aenum
  • osmnx

Installation

Direct pip installation from PyPI:

pip install gamms

Installation support is directly from the source code. If you have git installed,

pip install "git+https://github.com/GAMMSim/gamms.git"

Another option is to download the source code locally and run the following command in the root directory of the project:

pip install .

Detailed installation and setup instructions are available in the Installation Guide.

Documentation

The documentation is available at GAMMS Documentation. The documentation is generated using mkdocs-materials with mike for versioning. You can do a local build by cloning the repository and serving the documentation using mkdocs. For new users, Tutorials is a good place to start.

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

gamms-0.2.5a0.tar.gz (10.4 MB view details)

Uploaded Source

Built Distribution

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

gamms-0.2.5a0-py3-none-any.whl (65.0 kB view details)

Uploaded Python 3

File details

Details for the file gamms-0.2.5a0.tar.gz.

File metadata

  • Download URL: gamms-0.2.5a0.tar.gz
  • Upload date:
  • Size: 10.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gamms-0.2.5a0.tar.gz
Algorithm Hash digest
SHA256 9b70f620ad60f05a143d95c552c19f3d98c945cc1c5334de2bd7c465cdd7feef
MD5 90900e00803fa9d515f2d16e53839704
BLAKE2b-256 e6a3cda2f4d9ce67310d9684607b8fd130631179abceb3993339d35507f625cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for gamms-0.2.5a0.tar.gz:

Publisher: workflow.yaml on GAMMSim/gamms

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gamms-0.2.5a0-py3-none-any.whl.

File metadata

  • Download URL: gamms-0.2.5a0-py3-none-any.whl
  • Upload date:
  • Size: 65.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gamms-0.2.5a0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3dd22d330ef8b15980a7fd27d6bbdd1ab30d0cc5ce026f456954defc1d710a9
MD5 7bbc12e94c52e6fe4e3ea670fb4f5622
BLAKE2b-256 3e6170f2497d0ce99f359e9c6219b2fa0eb7f28a24003662e16ce0390d1f6485

See more details on using hashes here.

Provenance

The following attestation bundles were made for gamms-0.2.5a0-py3-none-any.whl:

Publisher: workflow.yaml on GAMMSim/gamms

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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