Bank agent
A financial institution with full balance sheet: assets (loans Lj, interbank claims IBj+, securities Sj, reserves Rj), liabilities (deposits Dj, interbank obligations IBj−, bonds Bj, equity Ej). Decisions: lend, borrow, rebalance portfolio, default.
The banking system ABM assembles five agent populations interacting through a layered network structure. Commercial banks are the primary agents: each carries a full balance sheet with assets (loans to firms and households, interbank loans, securities holdings, central bank reserves), liabilities (deposits, interbank borrowing, bonds, equity), and behavioral rules for lending, borrowing, portfolio allocation, and default. The bank population ranges from 20 to 500 agents in research implementations and 10 to 30 in browser-scale toy models. Firms form the second population: each borrows from one or more banks, generates revenue, and may default on its loans, imposing credit losses on its lending banks. Households form the third population, primarily as depositors whose withdrawal behavior creates funding risk. The central bank is the fourth agent: it sets the policy rate, operates standing lending facilities, and may intervene as lender of last resort during stress episodes. A regulatory authority is the fifth agent: it sets and enforces capital adequacy requirements (Basel-style risk-weighted capital ratios), conducts stress tests, and may impose systemic risk buffers on designated institutions.
Interaction occurs through four distinct network layers, following Poledna et al. (2015). The interbank lending network connects banks through unsecured overnight and term loans - this is the primary contagion channel for credit losses. The derivatives network connects banks through bilateral OTC contracts whose mark-to-market values create exposure. The securities network connects banks through common asset holdings - fire sales by one bank depress the market value of assets held by others, creating indirect contagion even without direct bilateral exposure. The payment system network connects banks through intraday settlement obligations that create operational liquidity risk. Each layer has its own topology (scale-free, core-periphery, or random), and shocks propagate differently through each layer. The multi-layer structure means that two banks with no direct interbank loans can still be connected through common securities holdings or derivatives exposure.
State variables update each period in a fixed sequence: macro shocks arrive and update firm revenues, firms make default decisions, banks mark loan portfolios to current values, interbank market opens and banks borrow or lend to meet reserve requirements, banks rebalance portfolios (selling securities if capital is tight), fire-sale price impacts are computed, the central bank processes liquidity requests, the regulator checks capital ratios and imposes corrective actions on undercapitalized banks, bank defaults are resolved (either through orderly wind-down or fire sale of assets), contagion losses propagate through the network, and aggregate statistics are recorded. The ordering is critical: interbank lending precedes portfolio rebalancing because banks first try to borrow before they sell assets, and fire-sale prices are computed after all selling decisions are aggregated.