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:
- If only some agents can get the smart model, which ones? The CEO, the managers, or the agents doing the work?
- Does the shape of the organisation matter? Flat (few managers, many workers) or deep (layers of managers)?
- 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
- Put the smart model where the work is done. Upgrading the 83 front-line agents cut losses by $590k in 3 simulated days. Upgrading the 16 managers saved $235k. Upgrading the CEO saved $26k, which is within the noise.
- A weak boss checking smart work makes it worse. Weak managers "corrected" about 31 right answers into wrong ones per run and fixed about 2. Their checking cost the company roughly $145k more than mid-level checkers did.
- A smart CEO is worth it, but only if good information reaches it. Given the same clean inputs, the smart CEO captured 99% of the best possible investment value and the weak one 72%, for $0.0001 more per decision. Inside the real company runs the gap shrank (54% vs 48%), because what the managers sent up mattered as much as the CEO's own skill.
- Bad news travels badly. A safety warning seen by one front-line agent reached the CEO on 89% of days with smart managers, 37% with mid-level managers, and only 6% in the flat org, where each manager had 24 people's notes to read.
- Structure barely mattered at normal workload. When the company got busy, the deep hierarchy lost the most ($316k vs $217-236k), simply because it had fewer people doing the work.
- Adding salaries does not change the picture much. Paying everyone like a US retailer, the deep org's extra managers cost $17k more per 3 days than the flat org. At normal load all three shapes cost about the same; when busy, deep is still clearly the worst.
- Boss personality made no measurable difference. Our "short-tempered" bosses sounded harsher; the work did not change.
- Put a few smart agents where you actually lose money, not where the stakes look biggest. 21 smart agents spread across all departments beat the same 21 placed on the high-stakes safety team, on every seed.
- Price is not intelligence. In our model tests, the same model went from 45% to 100% just by turning "thinking" on, and a model that cost twice as much scored 66%.
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.

Three surprises:
- Price did not predict ability. Gemini 2.5 Flash-Lite cost about twice as much per "workday" as GPT-6 Luna and scored 66% vs 100%.
- "Thinking" mattered more than the model. The same GPT-6 Luna scores 45% with reasoning off (it writes about 28 words and guesses) and 100% with reasoning on, for about 2.7x the money.
- Easy tests hide differences. On single, clear questions, almost every model that "thinks" scored 95-100%. Only when we packed 8 jobs into one long prompt, closer to a real workday, did the models spread out.
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

QuueMart has four departments: Supply, Finance, Logistics & Safety, and Customer & Legal. Every org has exactly 100 agents.
A day at QuueMart:
- Front-line agents get today's jobs (up to 2 each), solve them, and note anything unusual.
- 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.
- 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".
- A program scores everything.
Two traps hide in the CEO's proposals every day:
- The commitment trap: an attractive project that breaks a standing commitment.
- The warning trap: an attractive deal with a vendor whose plant just failed a safety inspection. The CEO can only know this if one front-line agent noticed a side note in one job, and every manager between them and the CEO decided to pass it on.
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.

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?

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).

- Smart managers over weak workers fixed about 55 jobs per run and broke almost none. Checking works when the checker is better than the worker.
- Weak managers over smart workers broke about 31 jobs per run and fixed about 2. They picked exactly the right jobs to look at, the high-stakes invoices and truck plans, and then "corrected" them into wrong answers.
- Mid managers over smart workers broke about 3 and fixed about 3: roughly harmless.
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

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:
- No CEO ever fell for the commitment trap, at any tier. Our test of that was too easy.
- Careful managers can talk the CEO into doing nothing. Smart managers sent up many "hold pending verification" notes. On those days the CEO sometimes funded nothing at all, most often (4 of 9 days) when a weak CEO sat above smart managers. That is safe, but it leaves value on the table.
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?

- With smart managers it reached the CEO on 89% of days, and the CEO never funded the trap deal.
- With mid managers (gpt-oss-20b) only 37%, and the trap deal was funded on 11 of 27 days. Interestingly, the weak model was a better messenger (74%) than the mid model. Being a good messenger is a separate skill from solving problems.
- In the flat org (24 staff per manager) the warning got through on only 6% of days. A manager reading 24 people's notes and allowed to pass up 3 dropped it almost every time. Smaller teams (Medium, Deep) did better: 28-33%.
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).

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 | 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 |
- Yes, the smart CEO is really better: +27.5 points over the weak CEO (95% CI +23.6 to +31.7) and +4.5 over the mid CEO (CI +2.2 to +7.1). The pre-registered rule (the whole CI above zero) passed.
- And it is absurdly cheap. The upgrade costs about a hundredth of a cent per decision. On our made-up stakes the gain is worth about $92,000 per decision; it would still pay for itself if the stakes were a million times smaller. Our colleague's intuition holds: for a single agent at the top, just buy the smart model.
- But the CEO is only as good as what reaches it. On the real company days, all three CEOs did much worse, and the smart one no longer beat the mid one. A big reason: on most of those days the safety warning never made it up the chain. When the warning arrived, the smart CEO never funded the risky vendor; when it did not arrive, it funded it on 52% of days (mid: 67%). That one trap explains 31% of all the value the smart CEO lost (47% for mid). A brilliant CEO with bad information makes bad decisions.
- The weak CEO is a coin toss. It gave the same answer on all 3 tries only 11% of the time, even with randomness turned off.
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.

| 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.)

| 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 |
- The manager layers cost less than you might think. Every extra manager replaces a worker, so the deep org's payroll is only $17k higher than the flat org's over 3 days. That is small next to the losses, and the losses swing more than that between seeds.
- At normal load, flat is cheapest, but only just. The three shapes are within $9k of each other. Medium's extra checking about pays for its extra managers; deep's extra layers do not pay for themselves.
- When busy, medium is cheapest and deep is worst ($393k), because deep has the fewest people doing the work.
- The ranking holds under other assumptions (managers paid 1.5x, benefits at 20% or 60%). The one change: if job stakes were 4 times smaller, the flat org becomes cheapest under both loads, because payroll then matters more than mistakes.
- Salaries do not change the model-placement findings. Every agent here is an AI, and its "salary" is its token bill: about 10 cents for the whole company over 3 days. That is not a fair comparison with a human payroll, because our agents do one or two short jobs a day. What it does show is that the model bill is tiny next to the cost of mistakes, so choose models by quality.
What we can and cannot claim
- This is a simulation with simple rules. Jobs are assigned mechanically; managers can re-check 2 jobs a day; each day is one round of messages. Different rules (for example more re-checks, or a slower deep hierarchy) could change the structure results. The placement findings come from the models' own behaviour, and they were large and consistent on every seed.
- The "money" is ours. We set the money at risk for each job type (a missed recall lot $15k, a wrong invoice $6k, and so on) and the proposal sizes. Front-line losses dominate partly because there are many jobs. We report the CEO's part separately so you can weigh it yourself.
- Three seeds per setup. Big effects (front line vs. CEO, weak checkers breaking work) are clear on every seed. Small ones (personality, structure at normal load) are not distinguishable from noise.
- Three specific models. "Smart", "mid" and "weak" are three particular cheap models. The mid model's poor messenger behaviour may be a quirk of that model, not of mid-sized models in general.
- A design flaw we found and disclose: some vendor names used inside job scenarios also appear in the CEO's proposals, so a few notes reaching the CEO mixed scenario facts with company facts. This was the same for every configuration.
- The follow-up CEO test is cleaner than reality. On the fresh days the warning was always delivered; that measures the CEO's own skill, not the company's. The "3 tries" were at temperature 0, so they show how unstable a model is even without added randomness.
- The targeted-upgrade test has 3 seeds and one alternative. We did not test "upgrade Finance and Customer only", which the loss numbers suggest would do best; that is a guess, not a result.
- The salary figures are a re-analysis, not a new experiment. They use US median wages, an assumed director salary and a 40% benefits add-on, and they were added after the runs (salaries were fixed before recomputing). Our job stakes are large for a 100-person retailer, which is why we also show stakes 4 times smaller.
- Some replies could not be read (broken JSON): 4% of weak front-line replies, 5% of mid front-line replies, 4% of mid managers' replies, and 14% of the mid CEO's daily decisions (that day nothing was funded). The smart model never failed. We count failures as wrong answers, as a real company would, but note that the mid-model CEO numbers are partly a formatting problem.
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
- Spend your intelligence budget on the agents that do the work. It's cheap: in our runs the front-line upgrade cost 5 cents.
- 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.
- Upgrade where you measurably lose money, not where the stakes look scary. Measure each team's error rate before you choose.
- Never let a weaker model overrule a stronger one. If your reviewer is cheaper than your worker, let it flag problems, not rewrite answers.
- 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.
- Turn on reasoning before you buy a bigger model. It was the single biggest jump in ability we saw.
- 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.