Back to list

Tech Blog · Paper Reviews

[Paper Review] When LLM agents decide the orders — the MANGO Arena supply chain testbed

When four LLM agents each ran one company in a supply chain and decided its orders, every model amplified demand variability. The bigger lesson is about evaluation: rerunning under the same conditions changed results by up to 17 times.

Nov 23, 2026 · OPTI-X

The work handed to LLM agents is widening from answering questions to making operational decisions. Where decisions are linked, one agent's choice becomes another agent's input. The problem this paper addresses is "when several agents decide orders in a linked supply chain, what happens to the whole chain, and what does it take to measure the results reliably?"

What the paper built

MANGO Arena is an open testbed based on MANGO, a classroom factory-management game. Four companies, a retailer, a distributor, a factory and a raw-material supplier, are linked in a line, and each company has its own LLM agent that decides the order quantity (the production quantity for the supplier).

The MANGO Arena supply chain

Orders arrive one period later and shipments take two more, so goods normally arrive three periods after ordering

01RetailerReceives customer demand · sees a forecast range for the next period
02DistributorReceives the retailer's orders and orders from the factory
03FactoryCapacity 50 units per period
04SupplierCapacity 60 units per period · production stops in periods 5–7 under the fire condition
Source: Amar, arXiv 2611.23613, Figure 1 and Table 1, reconstructed

The engine enforces the rules. An order is capped at 60 units per period (one truck), a company cannot spend more cash than it has, and unfilled orders are lost. A company that fills less than 90% of customer orders is disqualified. A game lasts 12 periods, and customer demand is 12±3 units per period. Companies can post messages on a public board, but side deals involving money are forbidden.

Each decision is one API call. The agent receives the rules, its own company's state, the last six periods of history, any announced disruptions and the previous message board, and answers in JSON with an order quantity, a message and a short reasoning. It cannot see the other companies' states.

The comparison covers three small reasoning models (DeepSeek V4.1 Flash, GLM 5.3 Flash and GPT-6 Luna, reasoning effort "low") and two scripted policies. One passes through exactly what it was ordered; the other is a textbook order-up-to (base-stock) policy with exponential smoothing (α=0.2) and a safety stock of 12 units. A baseline condition with no disruption and a condition with a fire at the supplier's plant in period 5 were each played with three demand seeds, giving 6 games and 288 decisions per agent type. The whole pilot cost under $1 in API fees.

Results: variability grew moving upstream

The key metric is the bullwhip ratio: the variance of a company's orders divided by the variance of customer demand. Above 1 means the company amplified the swings in demand and passed them upstream.

Bullwhip ratio at the retailer (baseline)

All three LLM agents varied their orders more than the base-stock policy

Pass-through
1.0
Base-stock policy
5.8
GLM 5.3 Flash
7.0
GPT-6 Luna
12.7
DeepSeek V4.1 Flash
17.5
Source: Amar, arXiv 2611.23613, Table 2 (mean of 3 seeds)

The scripted policies behaved as theory predicts. Pass-through created almost no amplification except at the supplier during the fire, and base-stock amplified about 6 times at the retailer and about 41 times at the supplier. Across both conditions, the LLM agents' ratios were 7 to 25 times at the retailer and 13 to 179 times at the supplier.

The models also differed widely. DeepSeek amplified more than base-stock at every tier in both conditions, while GLM stayed close to or below base-stock below the supplier. Every model filled at least 94% of customer orders in every game, but the whole chain's score was lower than under the scripted policies in 5 of 6 model–condition combinations. The seed-to-seed spread was large: GLM's retailer ratio, for example, had a mean of 7.0 and a standard deviation of 8.6.

The cause: ordering in batches

The cause the author points to is order batching: not ordering until inventory runs down, then ordering a large lot at once. A typical GPT-6 Luna retailer sequence was 0, 18, 18, 18, 12, 0, 0, 24, 24, 0, 12, 0.

Share of decisions that ordered zero (baseline)

GPT-6 Luna ordered nothing in 60% of its decisions

Pass-through
0%
GLM 5.3 Flash
15%
Base-stock policy
17%
DeepSeek V4.1 Flash
47%
GPT-6 Luna
60%
Source: Amar, arXiv 2611.23613, Table 2

According to the paper, order batching is one of the four classic causes of the bullwhip effect, yet this game has no fixed ordering cost to justify it. The agents' stated reasoning ("current stock and incoming shipments should cover demand") shows that they tracked on-hand and in-transit stock, but reacted to it in bursts.

Rule violations were rare. Excluding failed API calls, the engine blocked 1 (DeepSeek), 7 (GLM) and 1 (Luna) of 288 decisions per model, mostly orders exceeding available cash. No agent proposed a money side deal. Because the message screens are keyword-based, however, the author does not claim that collusion did not occur, only that none was proposed in terms the screens detect.

Where the evaluation wobbled

The author considers this the most useful part of the paper. First, API failures were recorded as decisions. In round 1, DeepSeek failed 22 of 288 calls by hitting the output cap (4,000 tokens), and Luna failed 8 by hitting a rate limit. The environment treated a failure as "order zero" and as a rule violation, which inflated both the bullwhip ratio and the violation count. Even in round 2, with the cap raised to 12,000 tokens, DeepSeek failed 7 times by spending its whole budget on hidden reasoning without giving an answer.

Second, rerunning under the same conditions gave very different results. For Luna under the fire condition, neither run had any failed calls, yet tier-level ratios for the same seed differed by up to 17 times.

Two runs with the same seeds (GPT-6 Luna, fire condition)

Same prompts, seeds and settings with no failed calls, yet up to 17 times apart

Seed 1 supplier · run 1
8.0
Seed 1 supplier · run 2
134.2
Seed 2 factory · run 1
6.9
Seed 2 factory · run 2
113.4
Source: Amar, arXiv 2611.23613, Table 4

This difference changes the conclusions. From round 2 alone, the fire multiplied Luna's factory-tier variability by about 6 (17.1 → 99.4); from round 1 alone, it barely moved (63.6 → 59.5, and round 1's baseline games included failed calls). The author explains that a chain amplifies small differences in early decisions, so the same model can produce calm and chaotic games from the same demand cards. The conclusions that held in both runs are roughly "both rerun models amplified more than pass-through at every tier" and "DeepSeek amplified more than base-stock at every tier."

The author now records failed calls separately from decisions, with their cause and output length, reserves each call's worst-case cost in advance, reports a reliability table per model next to the results, and keeps superseded runs instead of deleting them.

Limitations stated in the paper

This is a pilot: three small models, one prompt, one reasoning effort, three seeds and 12 periods per game. Ratios computed over 12 periods are noisy. Agents see only a history table each period and do not remember their own earlier reasoning. They were told that violations are recorded, so the rule-adherence results describe behavior under monitoring. It is a single-author arXiv preprint, and the author plans a classroom study in which student teams play the same rules, for a comparison with humans.

What to take to the factory floor

What to take from this paper

When designing a test that hands operational decisions to LLM agents

BaselineCompare side by side with simple rules
Pass-through and base-stock made it possible to interpret the LLM results
Failure loggingSeparate "chose zero" from "never chose"
If an API failure is logged as an order of zero, it looks like agent behavior
RepetitionRun the same conditions many times
Conclusions from three seeds and one run reversed on a rerun

Factories also have many structures in which an upstream decision becomes a downstream input: a raw-material order feeds the production plan, and one process's setpoint becomes the next process's condition. If you test an LLM agent's judgment in such a place, this paper says to look first at how the results were measured and recorded, before what the agent chose.

The clearest conclusion of this paper is about evaluation method, not agent performance. The gap between runs was too large to say "this model handles disruptions well" from a handful of runs.

References

Could this work for your process?

Talk to us