Skip to main content

Foragax is an Agent Based Modelling (ABM) package based on JAX. It provides scalable and efficient ABM simulations by leveraging JAX's automatic vectorization and just-in-time compilation capabilities. The main features of Foragax include:

  • Agent manipulation (adding, removing, updating, selecting, and sorting agents) with just-in-time compilation.
  • Vectorized ray-casting and wall-detection for simulating agents moving in a continuous 2D environment with custom boundaries and obstacles.
  • Tutorials and examples to help users get started with ABM using JAX.
  • Familiar ABM interface for creating and manipulating agents.

Installation

pip install foragax

Requires Python 3.10+, JAX 0.4.13+, and flax 0.7.4+

Citation

If this framework was useful in your work, please consider starring and cite: (arXiv link)

@misc{chaturvedi2024foragaxagentbasedmodelling,
      title={Foragax: An Agent Based Modelling framework based on JAX}, 
      author={Siddharth Chaturvedi and Ahmed El-Gazzar and Marcel van Gerven},
      year={2024},
      eprint={2409.06345},
      archivePrefix={arXiv},
      primaryClass={cs.MA},
      url={https://arxiv.org/abs/2409.06345}, 
}

Metadata

Release files for foragax 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for foragax 0.0.5
File Size Uploaded Provenance
foragax-0.0.5.tar.gz 10.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for foragax 0.0.5
File Interpreter ABI Platform
foragax-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 27.4 kB

Release files / foragax-0.0.5.tar.gz

Download URL foragax-0.0.5.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2045bedb7dd145d0443f3c0a018ae63de233dcd0e8e9a4d0f0ce23802a61a8ab
BLAKE2b-256 checksum
How to use checksums
6ce3360b136b32f5e68090a38776274f915ce6a2478af70795a498f87a108dd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.10

Release files / foragax-0.0.5-py3-none-any.whl

Download URL foragax-0.0.5-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
781f8c6e367401ab440e5cbebd7833346faa977c211d2affe2029d363136791c
BLAKE2b-256 checksum
How to use checksums
44526d9faa69b2d249191e892925fceed411e21a0b2aee47ebcce22f621e5a2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.10

Security for foragax 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page