BeforeIT.jl: High-Performance Agent-Based Macroeconomics Made Easy

Aldo Glielmo, Mitja Devetak, Adriano Meligrana, Sebastian Poledna
2/18/2025
cs.MAcs.CEecon.GN

Official code: bancaditalia/BeforeIT.jl (124 stars, AGPL-3.0, last commit 2026-04-20).

Abstract

BeforeIT is an open-source software for building and simulating state-of-the-art macroeconomic agent-based models (macro ABMs) based on the recently introduced macro ABM developed in [1] and here referred to as the base model. Written in Julia, it combines extraordinary computational efficiency with user-friendliness and extensibility. We present the main structure of the software, demonstrate its ease of use with illustrative examples, and benchmark its performance. Our benchmarks show that the base model built with BeforeIT is orders of magnitude faster than a Matlab version, and significantly faster than Matlab-generated C code. BeforeIT is designed to facilitate reproducibility, extensibility, and experimentation. As the first open-source, industry-grade software to build macro ABMs of the type of the base model, BeforeIT can significantly foster collaboration and innovation in the field of agent-based macroeconomic modelling. The package, along with its documentation, is freely available at https://github.com/bancaditalia/BeforeIT.jl under the AGPL-3.0.

View on arXivView PDF

Code Implementations(1)

AGPL-3.0

High-Performance Agent-Based Macroeconomics Made Easy

12423Julia, ShellApr 18, 20246 months agoAGPL-3.0
abmagent-based-modelingbehavioural-economicscomputational-economicseconomics+3 more

Similar Papers

Cite this paper

@article{glielmo2025beforeitjl,
  title  = {BeforeIT.jl: High-Performance Agent-Based Macroeconomics Made Easy},
  author = {Aldo Glielmo and Mitja Devetak and Adriano Meligrana and Sebastian Poledna},
  year   = {2025},
  eprint = {2502.13267},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.13267v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.13267.svg)](https://codeofpaper.com/paper/2502.13267)

Discussion