Manuscript Offprint

arXiv:2610.24033

LLM Evolution in a Simple Simulated Market

Charlie Pilgrim, Christopher Krupenye, Dora Biro, Richard P. Mann

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Arguments that AI systems will evolve in harmful ways are largely made in the abstract. We provide a concrete empirical example. We simulate simple markets consisting of populations of twenty Large Language Model agents tasked with solving arithmetic problems. Agents differ only in their system prompt; those that go bankrupt are removed and replaced by mutated copies of the prompts of successful agents. Two market conditions select for opposite phenotypes: a market that rewards accuracy produces agents with high accuracy (94%) and high token use; a market that charges per token produces agents with low accuracy (10%) and low token use. In the second market, only tokens are incentivised yet we see a collapse in accuracy. Token use and accuracy are correlated traits such that selection on one also moves the other, and behaviour adapts along an unpriced dimension. A third neutral condition with no selection allows us to separate these effects from bias in the mutation operator. Adaptation occurs through a collective optimisation process that operates above the level of individual agents, who are never told the payment rule, do not receive feedback, and have no memory.

1 Introduction

As AI agents become increasingly embedded in economic activity [Xi et al., 2025], they will come under competitive pressure from other agents, both artificial and human, for the same limited resources. Market competition can be understood as an evolutionary dynamic [Nelson and Winter, 1985] in which market incentives determine which agents survive, propagate, and influence the next generation of agents. Relatedly, a number of authors have warned that AI systems may begin to evolve in uncontrolled ways [Hendrycks, 2023, Hendrycks et al., 2023, Müller et al., 2026a, Ramsey and Tao, 2026]. These arguments are largely made in the abstract: they establish that AI evolution is possible in principle, predict the conditions and scenarios in which it can take hold, and warn of selection towards dangerous behaviours. Overall, this paints a worrying picture but without concrete details of when and how selection will occur, an uncertainty that leaves questions about how serious or near-term the threat is [Boudry and Friederich, 2025, Boudry, 2026, Müller et al., 2026b]. Our contribution is to provide an empirical demonstration in which AI agents evolve in minimal conditions and develop traits that are both undesirable and not directly incentivised.

In order to understand evolution in the wild, it is helpful to study evolution in controlled laboratory conditions, a long-standing approach in microbial evolution [Lenski and Travisano, 1994, Kawecki et al., 2012]. Selection requires variation, heredity and differential propagation [Lewontin, 1970]. While Hendrycks [2023] argues that these conditions will eventually be met by AI systems in the wild, we design an experiment to meet them deliberately in a way inspired by real-world markets. In our experiment Large Language Model (LLM) agents answer arithmetic problems in a simple market. Agents earn currency for answering questions and go bankrupt if their balance drops below zero. Bankrupt agents are removed from the population and are replaced with new agents.

Figure

Figure 1: The experimental loop. Each run, a population is seeded with 20 agents whose system prompts are mutated copies of the initial prompt: “You are an AI assistant for an arithmetic-answering service. Submit your numeric answer using the submit_answer tool.” Each round, the agents are given a numerical task. In the accuracy condition and token condition, their performance on this task updates their balances and any bankrupt agents are removed; in the neutral condition 2 agents are removed at random. Any removed agents are replaced with new agents through mutation of a parent prompt drawn randomly from the top 5 most profitable agents (or randomly from the population in the neutral condition). The system prompt is the only thing that varies between agents and the only thing transmitted from parents.

that are generated through copying with variation (mutation) of the system prompts of successful agents. We run this experiment in two market conditions that incentivise either accuracy or low token usage. We also run a neutral condition with no incentives that retains variation and heredity without differential propagation, to enable us to separate selection effects from mutation bias. The conditions are not designed to isolate a single causal parameter, but to demonstrate that two simple market rules produce divergent phenotypes.

Straightforwardly, we find that each market generates adaptation towards the trait it incentivises: high accuracy in the accuracy condition and low token usage in the token condition. More interestingly, we also find adaptation towards a trait that was not incentivised through a collapse in accuracy in the token condition. This is an example of correlated traits: characteristics that change together under evolution due to a shared mechanistic basis [Lande and Arnold, 1983]. The shared basis here is the well studied connection between accuracy and token usage in mathematical reasoning in LLMs through e.g. chain-of-thought reasoning [Wei et al., 2022]. This known mechanism was chosen in our experimental design in order to demonstrate evolution along correlated traits. In general such correlations may be harder to anticipate, and present a challenge for predicting and controlling LLM agents through mechanism design and market incentives.

The behaviour emerges from a collective optimisation process that operates above the level of the individual agent. Our experiment is designed such that the LLMs are never told what market they are in, what the incentives are, or that they can go bankrupt, and they receive no feedback about their performance. This means that there is no possibility of scheming or strategising: the multi-agent interaction is one of blind competition. As in biology and economics, evolution drives behaviour even without the individuals being “aware” of it [Alchian, 1950, Dennett, 1995]. Collective behaviour of this kind cannot easily be understood through studying individual agent behaviour, and theoretical approaches can only take us so far, as evidenced by continuing debates in the literature about the conditions and degree to which evolutionary processes might occur in AI systems [Müller et al., 2026a, Boudry, 2026]. In this light, our contribution is a data point towards an empirical evidence base that moves beyond theoretical arguments and towards a science of emergent collective AI behaviour in markets.

References (32)