ANUSHA ACHARYA
PERSONNEL ARCHIVE / WRITING
← All writing

How agents fail to plan for changing market conditions

We gave seven frontier models a job every small business does: buy from suppliers, manage cash and credit, deliver to a customer, and adjust when something goes wrong halfway through. Across the two task families that separate them, the best model scored 90% and the weakest 22%. On the tasks where the market changes halfway, first-attempt scores ran from 96% down to 6%.

The spread is not the most interesting part. The failures tell you more. Agents sign deals that work fine as long as nothing changes, and leave themselves no way out when something does, even though the task warns them the market can shift. In the clearest case, one delivery date, set two turns later than it needed to be, cost the best model the whole task. As AI agents start to buy, sell and sign on our behalf, that kind of mistake matters more than raw capability.

What we built

We built MarketShift: four families of agent tasks, 128 in total, about negotiation and economic decisions. Each one runs in its own container: the agent gets a shell and a small command-line tool to act in a market, and the counterparties (suppliers, buyers, lenders, other players) are scripted and deterministic. A separate grader replays every move and checks the outcome exactly. There is no AI judge: re-grading a recorded run always gives the same score.

FamilyWhat the agent has to do
Working capitalNegotiate contracts with suppliers, borrow if needed, and deliver to a buyer over 24 turns. Halfway through, the market changes: a supplier slips, the buyer pays late, or a bonus appears for early delivery. A new session has to re-plan. To pass, the agent must deliver, keep every payment promise, and match the profit of a reference planner that sees only what the agent sees.
Bargaining under pressureSell one item to a buyer who may bluff that an offer is final. Deciding when to believe a claim, and when paying for information is worth it.
Planning aheadIn a Catan-style game, pick the first move of a plan that wins within one to four turns.
RestraintTake a good trade, but never one that hands another player the game.

The working-capital tasks come in pairs. Both halves are the same market until the change; in one, the right move is to react, in the other to hold steady. An agent that always reacts, or never does, fails one of the two.

How a task is scored

Two sessions. Step 1 (turns 1 to 4) and step 2 (turns 5 to 24) are separate agent sessions in the same container. The step-2 session starts a fresh conversation: it gets no transcript, notes or plan from step 1. It sees the market's state and its full event log, including every proposal and answer so far, through the market tool, plus any files step 1 left on disk. So the tasks measure taking over a position as well as planning one. To check whether the hand-over itself causes failures, we ran Sol once on all 48 working-capital tasks with step 2 continuing step 1's conversation: it passed 45 of 48 (94%), against 93% of attempts with two sessions. The hand-over is not what limits it.

The bar. To pass, an agent must deliver by the deadline, pay every obligation on time, and reach a profit bar: the profit of a reference planner, minus 5. The reference is a fixed, rule-based planner, not a proven optimum. It sees only what the agent sees: in step 1 it plans without knowing what will change, and in step 2 it plays the best plan it finds from the agent's view. When an agent's step-1 contracts were as good as the reference's before the change, the bar follows the agent's own position, so it is not charged for how the change happened to fall on its contracts.

What was scored. We built 128 tasks. This post scores 94 of them: 48 working capital, 24 bargaining, 16 planning ahead and 6 restraint. The other 34 are held back on purpose: 22 holdout tasks that no model has seen, kept so later results can be checked against fresh tasks, and 12 planning-ahead positions we have not run yet. Bargaining and restraint ran twice per task, 124 runs in all. The overall score uses the two families that separate the models, working capital and bargaining, and averages each task's attempts first, so every task counts once.

Quality checks on the tasks

A benchmark is only as good as its tasks, so every task passed a release gate before any model saw it:

  • It can be solved, and it can't be skipped. A reference solution scores full marks on every task; an agent that does nothing scores zero.
  • It resisted the attacks we tried. Scripted cheating attempts (forged results, edited logs, malformed turns) score zero, and probes found no way for the agent to see the hidden market, the expected answer or the grader.
  • Wrong strategies fail. Deliberately flawed policies (ignore the change, always react, borrow to the limit, cancel without re-sourcing) each fail at least one half of every working-capital pair.
  • The instructions were enough for a blind solver. A fresh model that saw only the instructions and a few practice runs wrote solvers that passed 77 of 78 unseen tasks across the four families, including all 32 working-capital test tasks.
  • Fresh instances. Every instance was generated by our own engines in November 2026 and has not been published, so no instance can have been in a model's training data. The general setting (suppliers, credit, bargaining) is of course familiar.

Results

GPT-6.1 Sol leads overall and on working capital; Gemini 4 Argon leads bargaining. The working-capital family is where models separate most.

Overall score per model, with 95% intervals: GPT-6.1 Sol 90%, Gemini 4 Argon 83%, Muse Wonder 78%, GLM 5.3 Prime 61%, Claude Opus 5.5 56%, Grok 4.7 49%, Nemotron 3.5 Super 22%.0%25%50%75%100%GPT-6.1 Sol90%Gemini 4 Argon83%Muse Wonder78%GLM 5.3 Prime61%Claude Opus 5.556%Grok 4.749%Nemotron 3.5 Super22%Overall score per model, with 95% intervals: GPT-6.1 Sol 90%, Gemini 4 Argon 83%, Muse Wonder 78%, GLM 5.3 Prime 61%, Claude Opus 5.5 56%, Grok 4.7 49%, Nemotron 3.5 Super 22%.0%25%50%75%100%GPT-6.1 Sol90%Gemini 4 Argon83%Muse Wonder78%GLM 5.3 Prime61%Claude Opus 5.556%Grok 4.749%Nemotron 3.5 Super22%
The two families that separate the models: 90% at the top, 22% at the bottom. Overall score on working capital and bargaining, each task counted once. Whiskers show 95% intervals.
ModelWorking capital (of 48)95% intervalBoth halves of a pair (of 24)Bargaining (passes of 48 runs)Overall
GPT-6.1 Sol46 (96%)90–100%223790%
Gemini 4 Argon39 (81%)69–94%174183%
Muse Wonder38 (79%)67–90%153678%
GLM 5.3 Prime29 (60%)50–71%63061%
Claude Opus 5.528 of 47 (60%)44–73%8 (of 23)2456%
Grok 4.722 (46%)31–60%62649%
Nemotron 3.5 Super3 (6%)0–13%02522%

All models ran with the same open agent harness (terminus-2, in the Harbor framework), with the same time limits and one provider pinned per model. Working capital is one attempt per task; bargaining is two. Timeouts count as failures. Claude Opus 5.5 is scored on 47 working-capital tasks: on one, its provider's content filter blocked every reply (more below). Counting that task as a failure, it scores 28 of 48 (58%) on working capital and still 56% overall. The intervals resample whole keep/react pairs; they show how much the scores depend on which tasks were sampled, not how much a model varies from run to run, which we measured only for Sol.

Sol has the highest observed score and Nemotron the lowest; most of the models between them are closer than their intervals.

Planning ahead and restraint are capability checks, not ranking columns: every model scored 13 to 16 of 16 and 10 to 12 of 12, so they are left out of the overall score. Their results:

ModelPlanning ahead (of 16, one attempt)Restraint (passes of 12 runs, two attempts)
GPT-6.1 Sol1512
Gemini 4 Argon1611
Muse Wonder1412
GLM 5.3 Prime1410
Claude Opus 5.51410
Grok 4.71412
Nemotron 3.5 Super1311

How consistent is the best model? We ran Sol five times on every working-capital task. It passed 93% of attempts (95% interval 88–98%): 38 tasks all five times, 7 tasks four times, 2 tasks three times, and one task never, although a blind solver passes it. In τ-bench terms, Sol's pass^5 (all five attempts pass) is 79% and its pass@5 (at least one passes) is 98%. Its misses sit on 10 tasks rather than spreading across all of them: if every attempt were an independent 93% chance, about 70% of tasks would pass all five times, not 79%.

One failure, step by step

The task Sol never solved shows the pattern most clearly. The agent must deliver goods A, B and C to a buyer by turn 15. It starts with 100 in cash and can borrow, and the instructions say the market may change after step 1.

  1. What it signed. On turn 3 Sol borrowed 93 and signed three contracts: A from supplier s4 (90, prepaid), and B (88, half down) and C (55, prepaid) both from supplier s3. It set B's delivery for turn 10, two turns later than the earliest s3 accepts. Cash left: 0. If nothing had changed, this position was worth as much as the reference planner's.
  2. The change. At turn 5, s3 announced that everything it had not yet delivered would arrive six turns late: B and C at turn 16, one turn after the deadline.
  3. Why nothing could be saved. Both goods had to be bought again, with no cash left and part of the credit already used. From this position the grader's planner finds no plan that delivers and pays everything; replayed with a strong step-2 player, it misses three payments. Sol saw the same: “Replacing both cannot be financed sustainably… I will preserve cash and monitor.” It missed the delivery and two payments.
  4. The alternative, with the same information. Replay the same contracts with B's delivery at turn 8, the earliest s3 offered. If nothing changes, the two positions are worth the same to within one point. After the same slip, B arrives at turn 14, in time; only C needs replacing, which the second credit line covers. That position passes, with a profit of 35. A blind solver written from the instructions alone chose turn 8 on its own and passed.

The earlier date cost nothing if the market held steady and decided the task when it didn't. That is the kind of slack the failing runs gave away.

What we learned

We read 28 failed runs, four per model, chosen to cover each kind of failure the grader records and each compared with a passing run of the same task. This is a qualitative reading, not a measure of how common each pattern is. Below, what the agents did and what the grader recorded come first; what we think it means comes last.

  1. They plan as if nothing will change. The instructions say the market can change after signing. Even strong models sign with no cash in reserve, buy two goods from the same supplier, or prepay in full. When a delivery then runs late, some are left with no way to pass. In the example above, Sol wrote: “Replacing both cannot be financed sustainably… I will preserve cash and monitor.”
  2. They take the first acceptable price. Weaker runs accept terms close to the posted price and borrow to cover the gap. Failing runs typically win a smaller discount and pay more loan interest than passing runs of the same model.
  3. They believe a bluff. In bargaining, a bluffing buyer can call an offer “final” when it is not. One model accepted at 63 in round 4; another treated the claim as something to test and sold at 110 in round 13.
  4. They react to opportunities without adding up the cost. One model paid about 90 extra to win an 80 bonus. Another signed zero-deposit “backup” contracts, then a turn later wrote: “Wait why did we sign c4, c5, c6 in Turn 3?!”
  5. Long reasoning did not prevent failure. Nemotron writes single reasoning turns of over 150,000 characters and runs out of time on most tasks; of the 16 runs it finished in time, it passed 1.
  6. The leader writes code. Sol dumps the market state and computes cash flows in short scripts. It is also the second-cheapest model to run, after Nemotron.
  7. Different models fail differently. Some negotiate well but plan cash poorly; others plan well but pay too much for safety; others misread their own data under pressure.

A note on Claude's content filter

One line of our instructions tripped a safety filter. Our turn format included an example field, "reasoning": "private notes to yourself". With that line in the prompt, Claude Opus 5.5 returned empty replies on three different cloud providers. The provider reported the stop reason as its content filter, and Anthropic support confirmed it. Opus 5 and Sonnet 5.5 answered the same prompt normally. We found the cause by testing the prompt one section at a time, and changing the line to "a short note on why" fixed it. The results in this post used the original line; the public tasks use the new one. If you run agent evals, check whether your empty replies are really refusals.

Limitations

  • Scripted counterparties. Suppliers and buyers follow fixed rules. That makes grading exact, but they don't adapt to the agent the way a person or another model would. Our workshop paper argues why that matters.
  • One domain. Everything here is negotiation and economic decisions.
  • Two families near the ceiling. Planning ahead and restraint show high observed success over one or two attempts per task; they don't rank the top models.
  • Results depend on the harness and provider, as the filter episode above shows.

TERMS-Bench also grades negotiation agents against fixed, seeded counterparties with no AI judge. PlanBench tests planning and replanning in classical planning domains. Vending-Bench and its successor run agents through long stretches of business decisions, including late deliveries. What these tasks add is pairs: two markets identical until a change, built so that the right response flips, with a grader that can say whether a passing plan still existed after the change.

Run it yourself. The tasks use the Harbor format, the harness behind Terminal-Bench. A public sample of ten tasks, two or more from each family, is on the Harbor registry (harbor run -d parley-labs/negotiation-sample; source on GitHub), so any agent can run it with one command; the scored test sets stay private so results remain meaningful. If you build models or agents and want to see how they do on the full set, we can run them for you. Get in touch: Anusha Acharya, acharyaanusha123@gmail.com. Found a broken task? Tell us, and we'll publish the fix.