A Rust based implementation of the AgentPy library, to speed up both development and runtime of agent-based models.
To quickly start a new project, all that you need is Nix (only the package manager, not the OS).
To install, simply run sh nix-install.sh
(this will also go through some extra setup steps for you).
If you are on MacOS, please see how to setup a linux-builder (and don't forget to nix run nixpkgs#darwin.linux-builder
whenever you build with Nix)
Assume that you have Nix installed, it's as easy as:
mkdir my-abm
cd my-abm
nix flake init -t github:Benni-Math/agentrs
Then, you can start developing with nix develop
, or open a Jupyter Notebook with nix run .
, or build a Docker image for your model with nix build .#docker
.