Automated markets increasingly route order flow from learning trading agents through automated market makers (AMMs). We model trader archetypes as AI agents defined by their reward functions and analyze the feedback they create on a constant-product AMM. Herd-dominated and arbitrage-dominated markets of equal size have identical return distributions and turnover, so no rule based on volatility, value-at-risk, stress frequency, or volume can tell them apart; yet their stress episodes differ in length by a factor unbounded in the feedback-to-noise ratio β/s. Serial statistics identify the feedback sign from Θ((s/β)2log(1/δ)) observations, and this rate is tight. When agents trade together, profit-seeking agents ride herds rather than lean against them, leading to all-or-nothing participation. Spread-earning market makers restore stability but make liquidity fragile, with discontinuous collapse and hysteresis; maker--taker pricing, not a uniform fee, is the effective instrument.
Figures & tables
Figure 1: (a) Theorem 4.2 : expected stress-episode length ( c=0 , Gaussian news) in a herd-dominated and an arbitrage-dominated market. The two have identical volatility and stress frequency at every ∣β∣ . (b) Theorem 6.1 (v): expected down-run length against rider capital Xˉ ( λ=s=1 , h=0.3 , ϕ=0.2 , σˉ=1 ). Market makers exit at Xˉc=0.51 and return only below Xˉlo=0.21 ; in the shaded band both outcomes are stable.