IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2502.13267.html
   My bibliography  Save this paper

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

Author

Listed:
  • Aldo Glielmo
  • Mitja Devetak
  • Adriano Meligrana
  • Sebastian Poledna

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.

Suggested Citation

  • Aldo Glielmo & Mitja Devetak & Adriano Meligrana & Sebastian Poledna, 2025. "BeforeIT.jl: High-Performance Agent-Based Macroeconomics Made Easy," Papers 2502.13267, arXiv.org.
  • Handle: RePEc:arx:papers:2502.13267
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2502.13267
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Poledna, Sebastian & Miess, Michael Gregor & Hommes, Cars & Rabitsch, Katrin, 2023. "Economic forecasting with an agent-based model," European Economic Review, Elsevier, vol. 151(C).
    2. Herbert Dawid & Domenico Delli Gatti & Luca Eduardo Fierro & Sebastian Poledna, 2024. "Implications of Behavioral Rules in Agent-Based Macroeconomics," CESifo Working Paper Series 11411, CESifo.
    3. Cars Hommes & Sebastian Poledna, 2023. "Analyzing and forecasting economic crises with an agent-based model of the euro area," Tinbergen Institute Discussion Papers 23-013/II, Tinbergen Institute.
    4. Federico D’Ambrosio & Hans L. Bodlaender & Gerard T. Barkema, 2022. "Dynamic sampling from a discrete probability distribution with a known distribution of rates," Computational Statistics, Springer, vol. 37(3), pages 1203-1228, July.
    5. Baptista, Rafa & Farmer, J. Doyne & Hinterschweiger, Marc & Low, Katie & Tang, Daniel & Uluc, Arzu, 2016. "Macroprudential policy in an agent-based model of the UK housing market," Bank of England working papers 619, Bank of England.
    6. Giovanni Dosi & Andrea Roventini, 2019. "More is different ... and complex! the case for agent-based macroeconomics," Journal of Evolutionary Economics, Springer, vol. 29(1), pages 1-37, March.
    7. Turrell, Arthur, 2016. "Agent-based models: understanding the economy from the bottom up," Bank of England Quarterly Bulletin, Bank of England, vol. 56(4), pages 173-188.
    8. Samuel Wiese & Jagoda Kaszowska-Mojsa & Joel Dyer & Jose Moran & Marco Pangallo & Francois Lafond & John Muellbauer & Anisoara Calinescu & J. Doyne Farmer, 2024. "Forecasting Macroeconomic Dynamics using a Calibrated Data-Driven Agent-based Model," Papers 2409.18760, arXiv.org.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Aldo Glielmo & Marco Favorito & Debmallya Chanda & Domenico Delli Gatti, 2023. "Reinforcement Learning for Combining Search Methods in the Calibration of Economic ABMs," Papers 2302.11835, arXiv.org, revised Dec 2023.
    2. Adrian Carro & Marc Hinterschweiger & Arzu Uluc & J Doyne Farmer, 2023. "Heterogeneous effects and spillovers of macroprudential policy in an agent-based model of the UK housing market," Industrial and Corporate Change, Oxford University Press and the Associazione ICC, vol. 32(2), pages 386-432.
    3. Christian Kimmich & Klaus Weyerstraß & Thomas Czypionka & Norman FRM Fauster & Maurice Kinner & Elisabeth Laa & Liliana Mateeva & Kerstin Plank & Leonhard Ulrici & Hannes Zenz & Michael Miess & Sebast, 2025. "Economic impact of labor productivity losses induced by heat stress: an agent-based macroeconomic approach," Climatic Change, Springer, vol. 178(3), pages 1-21, March.
    4. Hałaj, Grzegorz, 2018. "Agent-based model of system-wide implications of funding risk," Working Paper Series 2121, European Central Bank.
    5. Giovanni Dosi & Andrea Roventini, 2019. "More is different ... and complex! the case for agent-based macroeconomics," Journal of Evolutionary Economics, Springer, vol. 29(1), pages 1-37, March.
    6. Jean-Philippe Bouchaud, 2024. "Navigating through Economic Complexity: Phase Diagrams & Parameter Sloppiness," Papers 2412.11259, arXiv.org.
    7. Leonardo Ciambezi & Mattia Guerini & Mauro Napoletano & Andrea Roventini, 2023. "Accounting for the Multiple Sources of Inflation: an Agent-Based Model Investigation," GREDEG Working Papers 2023-14, Groupe de REcherche en Droit, Economie, Gestion (GREDEG CNRS), Université Côte d'Azur, France, revised Jun 2024.
    8. Carro, Adrian, 2023. "Taming the housing roller coaster: The impact of macroprudential policy on the house price cycle," Journal of Economic Dynamics and Control, Elsevier, vol. 156(C).
    9. Bauermann, Tom & Roos, Michael W. M. & Schaff, Frederik, 2020. "POSA: Policy implementation sensitivity analysis," Ruhr Economic Papers 854, RWI - Leibniz-Institut für Wirtschaftsforschung, Ruhr-University Bochum, TU Dortmund University, University of Duisburg-Essen.
    10. Jan Schulz & Kerstin Hötte & Daniel M. Mayerhoffer, 2024. "Pluralist economics in an era of polycrisis," Review of Evolutionary Political Economy, Springer, vol. 5(2), pages 201-218, September.
    11. Emiliano Alvarez & Volker Grimm, 2024. "The added value of using the ODD Protocol for agent-based modeling in Economics: go for it!," Working Papers 307, Red Nacional de Investigadores en Economía (RedNIE).
    12. Herbert Dawid & Domenico Delli Gatti & Luca Eduardo Fierro & Sebastian Poledna, 2024. "Implications of Behavioral Rules in Agent-Based Macroeconomics," CESifo Working Paper Series 11411, CESifo.
    13. Franziska Klein & Jeroen van den Bergh & Joël Foramitti & Théo Konc, 2025. "Agentizing a General Equilibrium Model of Environmental Tax Reform," Environmental & Resource Economics, Springer;European Association of Environmental and Resource Economists, vol. 88(2), pages 459-502, February.
    14. Romain Plassard, 2020. "Making a Breach: The Incorporation of Agent-Based Models into the Bank of England's Toolkit," GREDEG Working Papers 2020-30, Groupe de REcherche en Droit, Economie, Gestion (GREDEG CNRS), Université Côte d'Azur, France.
    15. Deborah Noguera & Gabriel Montes-Rojas, 2023. "Minskyan model with credit rationing in a network economy," SN Business & Economics, Springer, vol. 3(3), pages 1-26, March.
    16. Federico Guglielmo Morelli & Michael Benzaquen & Marco Tarzia & Jean-Philippe Bouchaud, 2020. "Confidence collapse in a multihousehold, self-reflexive DSGE model," Proceedings of the National Academy of Sciences, Proceedings of the National Academy of Sciences, vol. 117(17), pages 9244-9249, April.
    17. Lamperti, Francesco & Bosetti, Valentina & Roventini, Andrea & Tavoni, Massimo & Treibich, Tania, 2021. "Three green financial policies to address climate risks," Journal of Financial Stability, Elsevier, vol. 54(C).
    18. Samuel Wiese & Jagoda Kaszowska-Mojsa & Joel Dyer & Jose Moran & Marco Pangallo & Francois Lafond & John Muellbauer & Anisoara Calinescu & J. Doyne Farmer, 2024. "Forecasting Macroeconomic Dynamics using a Calibrated Data-Driven Agent-based Model," Papers 2409.18760, arXiv.org.
    19. Massimiliano Carlo Pietro Rizzati & Emanuele Ciola & Enrico Turco & Davide Bazzana & Sergio Vergalli, 2025. "Beyond Green Preferences: Demand-side and Supply-side Drivers in the Low-Carbon Transition," Environmental & Resource Economics, Springer;European Association of Environmental and Resource Economists, vol. 88(5), pages 1239-1295, May.
    20. Giovanni Dosi & Andrea Roventini & Emmanuele Russo, 2020. "Public Policies And The Art Of Catching Up," Working Papers hal-03242369, HAL.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2502.13267. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.