Back to showcase

QuueMart research paper

We ran a 100-agent AI company 56 times. Here's where the smart model should go.

A standalone simulator ran the agents. The companion film replays the study logs in Quue’s office view.

An honest small experiment with QuueMart, a made-up retail chain staffed entirely by AI agents.


Everyone is building "AI teams" now: a planner agent, worker agents, a reviewer agent, sometimes a "CEO" agent on top. Three questions keep coming up, and almost nobody tests them:

  1. If only some agents can get the smart model, which ones? The CEO, the managers, or the agents doing the work?
  2. Does the shape of the organisation matter? Flat (few managers, many workers) or deep (layers of managers)?
  3. Does the boss's personality matter? A calm CEO vs. a short-tempered one?

So we built a company out of 100 AI agents and ran it 56 times, changing one thing at a time. Every job has a right answer that a program can check, so no AI grades another AI. Then a colleague asked a sharp question (is a smarter CEO worth its token cost?), so we ran two follow-up tests and then added salaries to the results. The whole study, including choosing the models and the follow-ups, cost $7.16 in model fees.

TL;DR


Step 1: Before the company, test the brains

The obvious plan is "expensive model = smart, cheap model = dumb". We checked that first. It's wrong.

We wrote retail jobs whose right answer a program can compute: how many cases to reorder, what a customer pays after stacked coupons, which lots to pull in a food recall, whether to pay an invoice that carries a fake "pre-approved by the CEO" note, how to load trucks for the most profit, which actions break a promise buried in a long log, refund decisions, and pricing.

Then we gave them to 18 cheap model versions.

How smart is each model?

Three surprises:

We also found three bugs in our own questions, because several strong models "failed" them in the same way. Reading their answers showed that our question was unclear, not that the models were wrong. We fixed the questions and re-ran everything. (If you build evals: when good models agree against your answer key, check your key.)

We picked three tiers with big, reliable gaps:

Tier Model Hard-test score Cost per 8-job workday
Smart GPT-6 Luna, reasoning on 100% $0.0016
Mid gpt-oss-20b (open weights) 82% $0.0010
Weak GPT-6 Luna, reasoning off 45% $0.0006

Step 2: Build the company

Three org shapes

QuueMart has four departments: Supply, Finance, Logistics & Safety, and Customer & Legal. Every org has exactly 100 agents.

A day at QuueMart:

  1. Front-line agents get today's jobs (up to 2 each), solve them, and note anything unusual.
  2. Managers (and, in bigger orgs, directors and VPs, working bottom-up) see a one-line list of every job in their area, with the money at risk and the current answer. Each one picks 2 jobs to re-check personally, passes at most 3 notes up to their boss, and writes a short message to their team.
  3. The CEO reads their direct reports' notes and yesterday's loss report, then chooses which of 7 investment proposals to fund within a budget. Three standing commitments apply, for example "no deals with Tarn Co while the lawsuit runs".
  4. A program scores everything.

Two traps hide in the CEO's proposals every day:

That second trap tests the whole chain, not one agent.

We wrote down our design, hypotheses and money cap before the first run, and ran a go/no-go check first: the all-smart company had to beat the all-weak company by more than 20 points on job accuracy. It did, 95% vs 41%.

Each run is 3 simulated days, repeated on 3 different sets of jobs ("seeds"). Every configuration gets exactly the same jobs and proposals on the same seed, so the comparisons are paired.

Finding 1: Put the smart model where the work is done

We kept the medium org (CEO, 4 VPs, 12 managers, 83 front-line agents) and moved the smart model around.

Front-line losses by model placement

Every setup with a smart or mid front line lost $32k-$179k. Every setup with a weak front line lost $534k-$769k, no matter how smart the CEO or the managers were. A smart CEO on top of a weak workforce ("Smart CEO only") lost almost as much as the all-weak company.

The cheapest top performer was the "inverted" company: a weak CEO, mid managers, smart front line. It matched the all-smart company ($32k vs $34k in losses) at about 70% of the model cost.

The rescue question

Imagine the all-weak company is failing and you can upgrade one layer. Which one?

Which layer to upgrade

Upgrading the front line avoided $590k of losses, and it did so on every seed ($526k, $570k, $675k). Upgrading all 16 managers avoided $235k. Upgrading the CEO avoided $26k, which is indistinguishable from zero. In money terms the model bill is a rounding error: the front-line upgrade cost 5 cents more per 3-day run.

Finding 2: A weak boss checking smart work makes it worse

This one surprised us. Managers re-check 2 jobs a day. We counted every re-check that turned a wrong answer right (a fix) and every one that turned a right answer wrong (a break).

Fixes vs breaks

That is why "Smart front line only" lost $179k while "Inverted" (the same smart workers with mid managers) lost $32k. Review by a weaker model isn't a safety net. It is a second chance to be wrong, with the authority to overrule.

Finding 3: A smarter CEO was steadier, but barely better

CEO investment value

Across all placement runs, smart CEOs captured 54% of the best possible investment value and weak CEOs 48%. The real difference is spread: smart CEOs stayed between 48% and 70%, while weak CEOs ranged from 21% to 86%. Sometimes the weak CEO got lucky.

Two other things are worth knowing:

This finding turned out to be too modest; see the follow-up below, where the same question is tested properly.

Finding 4: Bad news travels badly

The warning trap is the best test of an organisation as a whole. One front-line agent sees "Pike Co's main plant failed a food-safety inspection" in a side note. Does it reach the CEO?

Did the warning reach the CEO?

We checked our "did it arrive" detector by hand: 52 of 55 detections were clearly the warning, and 2 of the other 3 were paraphrases of it.

Finding 5: Structure barely matters, until you get busy

All agents on the mid model; same 100 agents arranged three ways; normal load (100 jobs/day) and busy (150 jobs/day).

Structure and workload

At normal load the three structures lost almost exactly the same ($135k-$143k). More layers meant more re-checks, but also more breaks (Deep: 17 fixes and 8 breaks per run; Flat: 7 and 1), so the net effect was small.

When busy, Deep lost the most ($316k) because it had only 71 people doing the work. It could not finish 24 jobs and paid for late work. Flat and Medium lost $236k and $217k. Our hypothesis that deep would win at normal load was wrong. It didn't win, it tied.

Finding 6: The angry boss did nothing

We gave the CEO and/or the managers a "short-tempered, blames people" personality. They did sound harsher. A typical manager message: "Double-check your work; mistakes will be dealt with immediately." The work didn't change:

CEO Managers Front-line losses (3 seeds) CEO investment value (% of best)
calm calm $137k 53%
harsh calm $141k 49%
calm harsh $145k 50%
harsh harsh $152k 58%

All the differences are well inside the run-to-run noise. Our hypothesis that harsh bosses would filter out bad news was not supported at this sample size. That is a useful negative result: today's models play a personality in their tone far more than in their decisions.

Follow-up 1: Is a smart CEO worth its token cost?

A colleague pushed back on Finding 3: "Even a few percent better CEO is worth the higher cost. It's a single thread, so measure the token cost against the incremental benefit." He is right that the CEO is cheap. It is one agent making one decision a day, so upgrading it costs almost nothing next to upgrading 83 workers. The question is whether the benefit is real, or just noise from 3 seeds. So we tested the CEO on its own.

The test. We gave the same CEO decision to a weak, a mid and a smart model, 3 times each, and scored every answer against the best possible choice: - 150 fresh decision days (new proposals, never seen in the company runs). The CEO got the notes a well-run company would send: the real safety warning plus two harmless notes. This was the main test, with its pass rule written down before running. - The 148 real CEO days from the company runs, rebuilt exactly from the logs: the same proposals, the same notes that actually reached the CEO.

CEO test

CEO Fresh days: share of best value Picked the exact best set Same answer on all 3 tries Real company days: share of best value Cost per decision
Weak 72% 35% 11% 36% $0.00013
Mid 95% 92% 81% 60% $0.00025
Smart 99% 96% 89% 56% $0.00026

Follow-up 2: If you can only afford a few smart agents, where do they go?

The CEO test raises the next question: with a fixed token budget, where does each dollar do the most? We gave the company exactly 21 smart front-line agents (a quarter of the front line) and placed them two ways, with everyone else weak: - Safety team only: all 21 on Logistics & Safety, where the jobs carry the biggest stakes (a missed recall costs $15k). - Spread evenly: 5 or 6 in each department.

We predicted the safety team would win. It lost, on every seed.

Targeted upgrade

Setup Losses avoided vs all weak (3 days) Extra token cost per run
21 smart, spread evenly $181k ($210k, $210k, $122k) $0.019
21 smart, Safety team only $140k ($169k, $159k, $91k) $0.017
All 83 smart $590k $0.051

The safety team did what it should: its own losses fell from $146k to $23k. But that team was not where the company was bleeding. The weak model was already fairly good at safety jobs; it lost far more on invoices and customer promises (Finance $262k, Customer & Legal $254k). The money at risk is stakes times error rate, and you only learn the error rate by measuring. A team with scary-looking jobs that your model already handles well is the wrong place for your upgrade.

(Also visible again: with weak managers above smart workers, the spread setup suffered 16 to 24 "corrections" of right answers into wrong ones per run. Finding 2 keeps showing up.)

Follow-up 3: What if the roles had salaries?

Our score so far ignored one thing every real company pays for: managers. A deep hierarchy has 28 managers where a flat one has 4, and managers earn more. So we asked: if QuueMart's roles were paid like a real US retailer, which shape would be cheapest to run? This needed no new runs; we added payroll to the results we already had.

We fixed the salaries from US government wage data before recomputing anything: front-line associate $34,550 a year, first-line supervisor $47,050, VP $134,940, CEO $206,420, and an assumed $100,000 for directors (no direct match). We add 40% for benefits and taxes and use 260 working days a year. (Sources: US Bureau of Labor Statistics, retail sales workers, top executives, occupational wage tables.)

Payroll lens

Org Payroll (3 days) Normal load: payroll + losses Busy load: payroll + losses
Flat (4 managers, 95 workers) $59k $203k $296k
Medium (16 managers and VPs, 83 workers) $67k $205k $285k
Deep (28 managers, directors and VPs, 71 workers) $77k $212k $393k

What we can and cannot claim

Pre-registered hypotheses: how we did

Hypothesis (written before running) Result
H1 Smart front line beats smart CEO and smart managers Supported, by a wide margin
H2 Smart managers help, but less than a smart front line Supported, plus the surprise that weak managers actively hurt smart workers
H3 A smart CEO avoids the commitment trap more often; the warning trap depends on the layers below First part untestable (no CEO ever fell for it); second part supported
H4 Deep beats Flat at normal load but loses when busy Half wrong: tie at normal load, Deep loses when busy
H5 Harsh bosses filter bad news and do worse Not supported
H6 (follow-up) A smart CEO beats a weak one by a small but real margin, worth far more than its token cost Supported, and the margin is not small (+27.5 points) when the information is good
H7 (follow-up) 21 smart agents on the safety team beat the same 21 spread evenly Wrong: spread won on every seed

The practical takeaway for anyone building agent teams

  1. Spend your intelligence budget on the agents that do the work. It's cheap: in our runs the front-line upgrade cost 5 cents.
  2. Always give the single top agent the smart model. It costs a hundredth of a cent per decision. But fix the information flow first: a smart CEO with missing warnings still makes bad calls.
  3. Upgrade where you measurably lose money, not where the stakes look scary. Measure each team's error rate before you choose.
  4. Never let a weaker model overrule a stronger one. If your reviewer is cheaper than your worker, let it flag problems, not rewrite answers.
  5. Measure your messengers. Passing a single important warning upward is its own skill, and models differ a lot at it. Keep the number of notes each manager must read small.
  6. Turn on reasoning before you buy a bigger model. It was the single biggest jump in ability we saw.
  7. Don't bother with personality prompts if what you care about is results.

How we ran it

Plain Python, no libraries. The simulator, the job generators, every prompt, the pre-registration and every agent's decision log are included. Models came through OpenRouter. Model spend: $1.46 to choose the models (including fixing our own test), $4.56 for the 50 company runs, and $1.14 for the follow-ups (2,682 CEO decisions for $0.79, 6 company runs for $0.35). Total $7.16.


QuueMart is fictional. Any resemblance to a real retailer is by design only in the broad shape of the business.