IDEAS home Printed from https://ideas.repec.org/p/bog/wpaper/371.html

From equations to prompts: integrating LLMs into a hybrid macroeconomic ABM

Author

Listed:
  • Georgios Papadopoulos

    (Bank of Greece)

Abstract

Agent-based models (ABMs) typically rely on equations to incorporate agents' decision-making, ranging from ad-hoc rules or simple heuristics to complex, theory- or data-driven approaches. Recent advances in large language models (LLMs) make it possible to represent economic decision-making through information-conditioned decisions rather than explicitly specified behavioural equations. However, whether LLM-driven agents can feasibly replace individual components in an ABM and the degree to which they can replicate observed economic dynamics remains insufficiently understood. In particular, it is unclear whether the integration of LLM-driven agents in a macroeconomic ABM can generate historically plausible macroeconomic trajectories and how their performance depends on the information provided to them and on the scale of the underlying model. This paper addresses these questions by introducing an LLM-driven bank agent into a data-driven macroeconomic model of the Greek economy, where it determines consumer credit and lending rates. Results show that the LLM-driven agent's decisions can reproduce historical consumer credit dynamics relatively well, although their performance in replicating lending rates is weaker and more heterogeneous; broader economic information generally improves performance, while larger models do not systematically outperform smaller ones. Overall, the study provides encouraging evidence that LLM-driven agents can be feasibly integrated into macroeconomic ABMs, assimilating economically relevant information and producing outcomes that closely match observed data, without requiring explicit functional forms for behavioural relationships - pointing towards the possibility of enabling economic simulations to shift from equations to prompts.

Suggested Citation

  • Georgios Papadopoulos, 2026. "From equations to prompts: integrating LLMs into a hybrid macroeconomic ABM," Working Papers 371, Bank of Greece.
  • Handle: RePEc:bog:wpaper:371
    DOI: 10.52903/wp2026371
    as

    Download full text from publisher

    File URL: https://doi.org/10.52903/wp2026371
    File Function: Full Text
    Download Restriction: no

    File URL: https://libkey.io/10.52903/wp2026371?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    JEL classification:

    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • E17 - Macroeconomics and Monetary Economics - - General Aggregative Models - - - Forecasting and Simulation: Models and Applications
    • G21 - Financial Economics - - Financial Institutions and Services - - - Banks; Other Depository Institutions; Micro Finance Institutions; Mortgages

    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:bog:wpaper:371. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Anastasios Rizos (email available below). General contact details of provider: https://edirc.repec.org/data/boggvgr.html .

    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.