Agent-based market simulation builds a market from simulated traders and the rules they trade under, then checks what emerges against real market data or against an outcome fixed before the run [1, 2, 3]. Economists have built markets this way since the early 1990s to ask where fat tails, bubbles and crashes come from, and how much of a market's efficiency its rules supply on their own [5, 6, 10]. This explainer covers what such a model contains, how it is checked, why calibration is hard and where LLM agents fit.
What an agent-based market simulation contains
An agent-based model is a computer simulation of decision-makers, the agents, and institutions that interact through prescribed rules [1]. Agents can range from consumers to professional traders, and institutions can include banks and the government [1]. One review splits a market model into three building blocks: the design of the agents, the market mechanism that fixes a price and the environment, meaning any extra coupling among agents [4].
In practice the agents are trader types. A widely adopted order-driven model mixes fundamentalist, chartist and noise-trader expectations, and finds the chartist part mainly responsible for the fat tails and clustering in its simulated prices [12, 17]. The mechanism can be a specialist who declares a clearing price, as in the 1996 Santa Fe artificial stock market [5], or a continuous double auction at nanosecond resolution, as in the ABIDES simulator [18].
Another family of order book simulators replays historical messages in place of modeled agents [23]. The data work behind a replay is the subject of rebuilding an order book from snapshots and diffs.
What the early models showed
The Santa Fe market held 25 adaptive agents, each with 100 forecasting rules, run for 250,000 periods and repeated 25 times [5]. When agents explored new rules slowly, the market settled into the rational-expectations equilibrium. When they explored faster, technical trading emerged, temporary bubbles and crashes occurred, and prices and volume showed the GARCH behavior of real market data [5]. A 1999 Nature paper reached a related result: news with no power-law scaling or volatility dependence still produced both once agents interacted [15].
Zero-intelligence traders took the intelligence out. Dhananjay Gode and Shyam Sunder's 1993 programs bid and offered at random [6]. With a budget constraint, so that no trader sold below cost or bought above value, their double auctions reached allocative efficiency close to 100 percent [6]. The reported averages are 98.7 percent for budget-constrained random traders, 78.3 percent without the constraint and 97.6 percent for human subjects [7]. Gode and Sunder concluded that a double auction's efficiency derives largely from its structure [6]. The result has limits. With large avoidable costs, random traders did significantly worse than people, and with supply and demand refreshed continuously their prices showed no tendency to converge [7].
Stylized facts: the usual test
Stylized facts are statistical regularities found in price changes across a wide variety of markets and instruments [8]. One review counts at least thirty besides fat tails, volatility clustering and the absence of autocorrelation in returns [4]. The Get Real simulator test adds order flow facts such as intraday volume shaped like a U [2].
Reproducing them is the usual pass mark. A 2019 paper on calibration observed that in most studies, especially of large models, validation is qualitative and seldom goes beyond showing that a model reproduces a set of stylized facts [9]. The Bank of England has warned that a model with many construction options can spuriously reproduce data that look similar to empirical data [10].
A quantitative check is harder to pass. The 2019 Get Real study ran two ABIDES setups against minute returns of 50 U.S. equities sampled afresh each trading day of 2011, and order book data from June 2019 [2]. One held 100 zero-intelligence agents [2]. The other mixed a market maker with zero-intelligence, belief-learning and momentum agents [2]. Both showed heavy tails. Neither captured the absence of autocorrelation, neither matched the skewed, widely spread volume-volatility correlations of real data, and the mixed setup reversed the U shape of intraday volume [2]. The authors reported "significant discrepancies between simulated markets and real ones" [2].
Pass marks matter as much as the facts. One 2025 study's stylized-fact checks required only the right sign, so a simulated return-volume correlation of 0.07 to 0.08 passed against 0.46 in real data [12].
Calibration and its limits
Calibration fits a model to the known facts, and the Bank of England calls it even more difficult for agent-based models, because they typically produce stylized facts rather than quantitative forecasts [10]. A 2019 comparison of calibration methods on five models, from an AR(1) process to a large agent-based model of the UK housing market, found that Bayesian estimation consistently outperformed frequentist methods [9]. Its author concluded that calibration techniques "require further development" before they can definitively calibrate large-scale models [9].
Compute is part of the problem. At 5 seconds a run on one CPU core, a grid of 10 values for each of 5 parameters needs 100,000 runs, about 6 CPU days [11]. Twenty values each takes about 6 months, and a sixth parameter pushes the search past 10 years [11]. A machine-learning surrogate in the same study predicted 500 times faster on average than running one model, and 3,750 times faster than another [11]. Another approach skips per-trader calibration and learns a single "world" agent from historical data, because labeled data on each trader's strategy is not public [20].
Simulators in use: ABIDES and JAX-LOB
ABIDES, described in 2019, runs tens of thousands of trading agents against an exchange agent, with network latencies between them and messages modeled after NASDAQ's ITCH and OUCH protocols [18]. One seed fixes every agent's random numbers, so the same seed and configuration give an identical run [18]. That lets a researcher re-simulate a day with known, limited changes, to study questions such as the market impact of large orders that historical data alone cannot answer [18]. ABIDES-Gym later wrapped it for reinforcement learning [22].
JAX-LOB, from 2023, moves limit order book simulation onto GPUs to process thousands of books in parallel, for calibrating agent-based models or training reinforcement learning agents [23]. It reported 550 training steps per second against 74 for an equivalent CPU-based simulator on the same hardware [23]. Its authors name the main limit of agent-based models as the difficulty of creating realistic enough agent behavior [23]. Generative simulators such as MarS, presented at ICLR 2025, take another route and generate orders with an order-level generative foundation model [24].
LLM agents as a new kind of trader
LLM agents have joined these models as one more trader type. A 2023 survey named the main challenges as environment perception, human alignment, action generation and evaluation [26].
Designs differ in how much the LLM decides. In one 2025 preprint, an LLM makes each buy or sell decision while order price and volume follow rules [12]. The study replaced up to 5 of 1,000 rule-based agents with such agents, running an 8-billion-parameter open-weight model [12]. In the paper's Table 2, a coefficient on nearness to the all-time high moved from -0.01 with no LLM agents to between -0.32 and -1.31 with one to five, with wide spreads across trials [12]. The authors say these values tend to fall within the range of real Japanese stock data, -1.27 to -0.20 [12].
Markets made only of LLM agents go further. LLM traders in a simulated stock market kept to their assigned strategies and produced price discovery and bubbles, and their prompts could create correlated behavior [27]. In a bond market study, slight trade aversion encoded in the LLM stopped trading entirely [31]. The wider research on how LLM agents behave as bidders, sellers and traders is reviewed in LLM agents as market participants.
Calibrated replicas and induced-value markets
The two designs answer different questions. A calibrated replica asks whether a model reproduces the statistics of a real market, and it is judged by how close its statistics come to real data [2, 9].
An induced-value market comes from experimental economics. Each agent receives a private value or cost before the run, a method first suggested by Chamberlin and developed by Vernon Smith that became a standard tool of the field [3]. In Smith's double auctions, subjects who could not compute the equilibrium still traded at prices close to it [3]. Because every value is set in advance, the efficient allocation and the equilibrium are known before the first trade, and each outcome can be scored against them [3, 7].
The zero-intelligence results set the caveat. If random traders within a budget reach near-full efficiency, efficiency needs reading beside behavior such as convergence and differences from human markets [6, 7]. A 2026 replication of classic double auction experiments with LLM agents found slower or no convergence and less efficient allocations than in human markets [33]. The formats and measures are set out in Measuring LLM agents in simulated auctions.
Rillor's market simulation is built on the designs of experimental economics: agents receive induced values, so the efficient outcome is known before the first bid.
Read the full report
The full report adds the Santa Fe and Get Real setups, a table of stylized facts, calibration methods and their compute costs, the pass marks of the 2025 LLM-agent study, the two designs side by side and all 33 sources.

