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.

  • Performant Implementations

    Implements interaction transformation patterns that typically have high computational complexity. This allows users to concentrate on model design instead of low-level implementation details.

  • Functional Patterns

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

  • Built-in RL and Evolutionary Training

    Esquilax provides functionality to run multi-agent RL training 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 over 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 physics/robotics simulation.

Getting Started

Esquilax can be installed from pip

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.

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-0.2.0.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

esquilax-0.2.0-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for esquilax-0.2.0.tar.gz
Algorithm Hash digest
SHA256 23eaf72203a3e907637bb1ab749b7cc06e67f15b1586c01dcff9bc2b35df5258
MD5 8f33f7034f3fe14d3f1c223a716a4c5f
BLAKE2b-256 c49153bbcc9d7a71c87fd079d8f9e8451b025af8310e2d3b4d5a553caeb731dc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for esquilax-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3b134e5fdd765fc9a5ef3c0c261d7d960c7915093c9b22962d446825eb1c714
MD5 970e3870eeffb518b8a312df11519e7c
BLAKE2b-256 4c95fd1f91ca406e9222a5c096853bc9ce2eb476bbdf435a8f7da5439113da4a

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