How do heterogeneous firms competing through innovation, adaptive pricing, and credit-constrained investment generate endogenous business cycles, Zipf-distributed firm sizes, and long-run growth without any exogenous shock process?
Agent-based models · Model guide
How do heterogeneous firms competing through innovation, adaptive pricing, and credit-constrained investment generate endogenous busine...
How do heterogeneous firms competing through innovation, adaptive pricing, and credit-constrained investment generate endogenous business cycles, Zipf-distributed firm sizes, and long-run growth without any exogenous shock process?
The K+S (Keynes meets Schumpeter) Mark I model, introduced by Dosi, Fagiolo, and Roventini (2010), is the baseline closed-economy macro ABM. It was built to answer a question that neither RBC nor New Keynesian DSGE models handle well: can aggregate fluctuations, fat-tailed growth-rate distributions, and power-law firm sizes all emerge from the decentralized interaction of boundedly rational firms without imposing any exogenous shock process or representative-agent aggregation? The answer is yes, and the mechanism runs through Schumpeterian innovation at the micro level feeding into Keynesian demand multipliers at the macro level. The model descends from the evolutionary economics tradition of Nelson and Winter (1982) and the Keynesian-structuralist lineage of Dosi (1988), but it was the first to weld both into a single closed macro system with explicit labor, credit, and goods markets. Key predecessors include Russo et al. (2007) and the Eurace project; key successors include the K+S Mark II (Dosi et al. 2013), which adds fiscal and monetary policy, and the Dawid-Delli Gatti (2018) survey that positions K+S Mark I as the reference macro ABM.
The core mechanism has two interlocking loops. Loop 1 is Schumpeterian: capital-goods firms invest in R&D, generate stochastic innovations that improve machine productivity, and sell new-vintage machines to consumption-goods firms. A firm that draws a good innovation captures market share through lower unit costs, grows, hires more workers, and generates demand for other firms' output. Loop 2 is Keynesian: aggregate demand is the sum of wage income (workers spend all wages) and firm investment. When a cluster of consumption-goods firms faces weak demand, they cut production, fire workers, reduce investment orders from the capital-goods sector, and the contraction propagates through the income-expenditure multiplier. Business cycles emerge from the interaction of these two loops: innovation clusters create booms, demand shortfalls create busts, and the amplitude depends on the distribution of firm productivities and financial positions rather than on any imposed stochastic forcing.
The model has been used across several institutional settings. Dosi et al. (2010, 2013, 2015, 2017) at the Sant'Anna School of Advanced Studies have produced the core sequence of K+S papers. The European Commission's Joint Research Centre has used K+S-family models for industrial policy evaluation. The OECD has referenced ABM-generated results on inequality and growth in its policy reports. The Bank of Italy has explored K+S-type structures for financial stability analysis. Academic adoption spans computational economics (Journal of Economic Dynamics and Control, Journal of Economic Behavior and Organization, Journal of Evolutionary Economics) and policy-oriented outlets (Industrial and Corporate Change, Research Policy). The model's role in the ABM ecosystem is analogous to the Solow model in neoclassical growth or the three-equation NK model in DSGE: it is the simplest structure that closes all markets and generates the canonical stylized facts, and nearly every subsequent macro ABM is either an extension of it or a reaction against it.
The model family has evolved along several axes since the 2010 baseline. Mark II (Dosi et al. 2013) adds a government sector with fiscal policy, a central bank with a Taylor-type interest rate rule, and unemployment benefits. Mark III variants (Dosi et al. 2015, 2017) introduce an explicit banking sector with endogenous credit rationing and capital adequacy constraints, allowing the model to address financial crises and macroprudential policy. Further extensions include labor market institutions (minimum wages, collective bargaining), international trade (two-country K+S), climate damage functions, and skill-biased technical change. The active research frontier includes machine-learning-assisted calibration (Lamperti et al. 2018), surrogate-model estimation, and coupling with input-output networks.
The economy consists of three agent populations plus market mechanisms. Population 1 is capital-goods firms (F1 firms, typically 50 in research runs): each carries a technology frontier (the best machine productivity it can produce), an R&D budget rule, a pricing rule, and a client list of consumption-goods firms. Population 2 is consumption-goods firms (F2 firms, typically 200): each holds an inventory of machines with heterogeneous vintages and productivities, sets output based on expected demand, hires labor to operate machines, orders new machines from capital-goods firms to expand or replace capacity, and finances investment from internal funds or bank credit. Population 3 is workers/consumers (N, typically 1,000 to 5,000): each supplies one unit of labor inelastically, earns a wage, and consumes all income. A single bank provides credit to consumption-goods firms subject to a credit multiplier constraint.
Interaction occurs through three markets cleared each period. The capital-goods market is a customer-market mechanism: F2 firms send orders to their incumbent F1 suppliers, and occasionally switch suppliers if a competing F1 firm offers a lower price or better machine productivity. The consumption-goods market clears through a competitiveness-based replicator dynamic: each F2 firm's market share evolves as a function of its price and unfilled-demand ratio relative to the industry average. Firms with lower prices and fewer stockouts gain share; firms with higher prices or frequent stockouts lose share. The labor market is a sequential-hiring mechanism: firms post vacancies proportional to desired production, workers are matched to vacancies (with some friction), and the aggregate wage adjusts based on labor market tightness and productivity growth.
State variables update each period in a fixed sequence: (1) F1 firms invest in R&D and draw innovation outcomes, (2) F1 firms set prices for new machines, (3) F2 firms form demand expectations and plan production, (4) F2 firms compute investment demand (expansion + replacement), (5) F2 firms apply for bank credit if internal funds are insufficient, (6) the bank screens loan applications, (7) F2 firms order machines from F1 suppliers, (8) the labor market clears, (9) F2 firms produce and sell, (10) market shares update via the replicator dynamic, (11) wages update, (12) profits are computed and retained earnings accumulated, (13) entry and exit are processed. This 13-step sequence is not arbitrary: the ordering ensures that investment decisions are conditioned on current-period financial positions and that production is conditioned on actual labor availability.
The primary use of the K+S Mark I and its descendants is as a laboratory for macroeconomic policy experiments where heterogeneity and nonlinearity matter. Dosi et al. (2013) used the Mark II extension to compare fiscal austerity versus fiscal stimulus in a recession, finding that austerity deepens and lengthens downturns because the demand multiplier operates through the firm-size distribution: cutting government spending disproportionately hits small, credit-constrained firms that are already at the margin of exit, triggering a cascade of firm deaths and unemployment that is invisible in representative-agent models. The European Commission's JRC has used K+S-family models to evaluate industrial policy instruments (R&D subsidies, patent policy, competition policy) in settings where the distribution of firm capabilities is the policy-relevant object rather than the representative firm's optimality condition.
The model also works as a benchmark for validating ABM methodology itself. Lamperti et al. (2018) used K+S Mark I as the test case for machine-learning-assisted calibration (training a surrogate model on simulation output to speed up estimation). Barde and Van der Hoog (2017) used it to compare different approaches to ABM validation (simulated method of moments, Bayesian estimation, indirect inference). Dosi et al. (2018) used it to study which micro-level behavioral rules are necessary and sufficient to reproduce the canonical macro stylized facts (Okun's law, Beveridge curve, firm-size distribution, growth-rate distribution). In this methodological role, K+S Mark I functions like the Solow model does for neoclassical growth theory: the simplest structure you need to understand before building anything more complicated.
The model is not appropriate for several classes of questions. It cannot address asset pricing, financial market microstructure, or housing dynamics because it has no financial asset market. It cannot address monetary policy transmission because the baseline has no interest rate channel (the Mark II extension adds a rudimentary Taylor rule, but it is still thin compared to a full NK DSGE). It cannot address supply-chain disruptions because the two-sector structure has no input-output network. It is poorly suited to short-run forecasting because ABMs are not optimized for point prediction - they are scenario generators. For questions about optimal monetary policy, use a NK DSGE. For questions about financial contagion, use a firm-bank ABM or a network model. For forecasting, use a BVAR or a dynamic factor model.
Stochastic productivity increment for capital-goods firm j at time t. Drawn from a Beta distribution scaled by a search range parameter. The Schumpeterian engine of the model.
Consumption-goods firm i's share of total demand. Evolves via a replicator dynamic driven by relative competitiveness (price and unfilled demand). The Keynesian demand-allocation mechanism.
Firm i's installed machine stock, a vector of vintages with heterogeneous productivities. Determines maximum output capacity and average labor productivity.
Firm i's accumulated profits net of investment spending. The primary source of investment finance in the pecking-order hierarchy. When retained earnings fall short of investment plans, the firm applies for bank credit.
Economy-wide wage rate. Adjusts each period based on average labor productivity growth and the unemployment rate. The wage bill is the primary source of aggregate demand.
Fraction of workers not matched to a firm. Emerges from the gap between aggregate labor demand (summed firm hiring plans) and labor supply (fixed population). Feeds back into wage adjustment and aggregate demand.
Firm i's adaptive forecast of next-period demand, formed as a weighted average of recent sales. Drives production planning and investment decisions. Forecast errors generate inventory cycles.
Maximum ratio of total bank lending to bank equity. Constrains credit supply to F2 firms and creates an endogenous financial accelerator when firm defaults erode bank capital.
Firms form demand expectations using adaptive rules (weighted average of recent sales) rather than model-consistent rational expectations.
If violated: Rational expectations would require firms to solve the full general equilibrium of the ABM, which is computationally intractable and conceptually incoherent in a heterogeneous-agent setting. Replacing adaptive expectations with perfect foresight eliminates inventory cycles and dampens business cycle amplitude by 60-80% in calibrated runs.
Consumption-goods firms invest to expand capacity when expected demand exceeds current capacity, and to replace old machines when newer vintages offer sufficiently higher productivity. There is no intertemporal optimization of the capital stock.
If violated: Optimal investment rules would require firms to know the distribution of future innovations, future demand, and future credit availability. The satisficing rule matches survey evidence on firm investment behavior (Fazzari et al. 1988, Coad 2010) and generates investment volatility consistent with aggregate data.
Firms finance investment first from retained earnings, then from bank credit. No equity issuance, no bond market, no trade credit.
If violated: Adding equity markets or bond markets would introduce asset pricing dynamics that are outside the model's scope. The pecking-order assumption matches the empirical regularity that most firm investment is internally financed (Myers and Majluf 1984).
Workers have a marginal propensity to consume of 1. No household saving, no asset accumulation, no intertemporal consumption smoothing.
If violated: This is the strongest Keynesian assumption in the model. It makes aggregate demand exactly equal to the wage bill plus firm investment spending. Allowing household saving would introduce a consumption-smoothing buffer that dampens demand fluctuations and weakens the multiplier. Mark II extensions allow partial saving.
Each worker supplies one unit of labor inelastically. The labor participation rate is constant.
If violated: Endogenous labor supply (workers responding to wages by adjusting hours or participation) would add a supply-side channel to the business cycle. The fixed-supply assumption isolates demand-side dynamics and keeps the model's cycle mechanism clean.
The two-sector structure (capital goods, consumption goods) has no input-output network. Capital goods are the only intermediate product.
If violated: Input-output extensions (e.g., Russo et al. 2007, Dosi et al. 2019) allow for supply-chain disruptions and sectoral comovement. The baseline model cannot generate supply-side recessions or sector-specific shocks that propagate through production networks.
No international trade, no capital flows, no exchange rate. All production is consumed domestically.
If violated: Two-country K+S extensions exist (Dosi et al. 2019) but add substantial complexity. The closed-economy assumption is appropriate when the question is about domestic business cycle mechanics rather than trade dynamics.
Firm entry replaces exiting firms one-for-one, maintaining a constant number of firms. Entrants draw initial conditions from the current cross-sectional distribution.
If violated: Endogenous entry and net firm creation would allow for long-run changes in market structure. The fixed-population assumption keeps the model in a statistical steady state where business cycle properties are well-defined.
Continue reading
Open the concept, data series, policy setting, or neighboring model that anchors this page.