Skip to main content

JAX multi-agent simulation and ML toolset

Project description


JAX Multi-Agent RL, A-Life, and Simulation Framework

Esquilax is set of transformations and utilities intended to allow developers and researchers to quickly implement models of multi-agent systems for rl-training, evolutionary methods, and a-life.

It is intended for systems involving large number of agents, and to work alongside other JAX packages like Flax and Evosax.

Full documentation can be found here

Features

  • Built on top of JAX

    This has the benefits of JAX; high-performance, built in GPU support etc., but also means Esquilax can interoperate with existing JAX ML and RL libraries.

  • Interaction Algorithm Implementations

    Implements common agent interaction patterns. This allows users to concentrate on model design instead of low-level algorithm implementation details.

  • Scale and Performance

    JIT compilation and GPU support enables simulations and multi-agent systems containing large numbers of agents whilst maintaining performance and training throughput.

  • Functional Patterns

    Esquilax is designed around functional patterns, ensuring models can be readily parallelised, but also aiding composition and readability

  • Built-in RL and Evolutionary Training

    Esquilax provides functionality for running multi-agent RL and multi-strategy neuro-evolution training, within Esquilax simulations.

Should I Use Esquilax?

Esquilax is intended for time-stepped models of large scale systems with fixed numbers of entities, where state is updated in parallel. As such you should probably not use Esquilax if:

  • You want to use something other than stepped updates, e.g. continuous time, event driven models, or where agents are intended to update in sequence.
  • You need variable numbers of entities or temporary entities, e.g. message passing.
  • You need a high-fidelity physics/robotics simulation.

Getting Started

Esquilax can be installed from pip using

pip install esquilax

You may need to manually install JAXlib, especially for GPU support. Installation instructions for JAX can be found here.

Examples

Example models and multi-agent policy training implemented using Esquilax can be found here.

For a larger project using Esquilax see this Boid flock RL environment.

Contributing

Issues

Please report any issues or feature suggestions here.

Developers

Developer notes can be found here, Esquilax is under active development and contributions are very welcome!

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

esquilax-1.0.2.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

esquilax-1.0.2-py3-none-any.whl (38.6 kB view details)

Uploaded Python 3

File details

Details for the file esquilax-1.0.2.tar.gz.

File metadata

  • Download URL: esquilax-1.0.2.tar.gz
  • Upload date:
  • Size: 28.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.7

File hashes

Hashes for esquilax-1.0.2.tar.gz
Algorithm Hash digest
SHA256 8a0bfecf267cc5ba04ddd67627f9c7b4f172e9fdd69f709f99fb574a81eacad4
MD5 4315e9b111caccde5b51202bb8d203b0
BLAKE2b-256 6167fa2d29a69b301e1f21c6321f00776b20e0c69cca73138ce6b69db0650729

See more details on using hashes here.

File details

Details for the file esquilax-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: esquilax-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 38.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.7

File hashes

Hashes for esquilax-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9696e8cfee6206566dd41dc4c75de3982fac20924a5e6e1be6176fcf316678c2
MD5 8ba2d28a5e384176dc96aeee16eab601
BLAKE2b-256 868b0410a53f3f2e01ce3946c8ad9d54b81ce702e9d1f059d240d6da6fda7356

See more details on using hashes here.

Supported by

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