Tool use in stateful environments
In these environments the agent acts on a simulated world: bookings, payments, orders, registrations, a fleet, a ward, stock, a house, a server room. The grader reads what the world holds at the end, or the log of what was done, not the agent's account of it.
The grader reads the world, not the agent's report
- Interfaces
- Command‑line tools that talk to a world service or simulator in 10 of the 19; a text browser with no shell in the two trip rebookings and the room furnishing; a live portal shown as numbered lines of text, one action a turn, in the two course registrations.
- Other ways in
- In the two server‑room jobs, one command, wa, acts in a 3D building; in two app builds, the agent's own app buys train seats on a practice site or runs a simulated house.
- What changes
- Bookings, payments and transfers; a bakery's orders and rota; truck plans; airline bookings, refunds and seats; registered classes; purchase orders; stock plans; ward tasks and pages; weekly offers and auction lots; furniture orders; tickets an app buys; a house's devices; server‑room cooling; an order desk's work orders and remedies.
- What's graded
- The final state and the action log. The course registrations read only what the portal holds when the agent stops: classes left in the cart and the closing message count for nothing. On the ward, the grader reads only the logged commands.
- Mistakes let through
- The registration portal blocks nothing: it registers clashes, full classes as waitlist places and classes without their prerequisites, flagging clashes, full classes and long walks but never a missing prerequisite. The ordering systems on the packing line, in spares buying and at the order desk refuse without saying why.
- Orders checked by code
- In the seasonal bulk order, an LLM reads which actions a message orders, from a fixed list for that person. Code then allows only what that person may do, with every figure and name taken from the message or records, and echoes back exactly what was done.
- State that moves
- Payments land after each household's own delay at the family dinner; seats sell out at fixed in‑world times as each action moves the cancelled‑flight rebooking's clock (the other's is frozen); heat builds each world minute in the server rooms; simulators move on between sessions.
- One world per attempt
- Each attempt gets its own world, logged action by action. In six simulators the grader replays the log through a fresh copy and checks that it matches the attempt's trace; the portal's offline grader rebuilds each final registration and reaches the same verdict.
- Who decides
- Code decides most of it. Judges or readers decide some, such as 5 of the dinner's 93 checks, note items worth 13 and 8 points in the two trip rebookings, 7 of 26 and 10 of 121 checks in two app builds, and 12 report checks in each server‑room job.
They trust what the system accepted
Each count covers every model tested on the environment, with only the request; where a model made several attempts, the line says so.
Silent acceptance trusted. Course registration against rules found in portal: 4 of 4 attempts, one per model, kept a starting class whose prerequisite the student hadn't passed, which the portal had registered without objection; none opened its page. Six registrations the catalogue allows meet every rule.
Seats lost while checking. Cancelled‑flight family rebooking: in 14 of 24 attempts (8 models × 3), the free seats for two travellers sold out while the agent was still asking or checking, and all 14 bought other tickets. GPT‑6 Sol secured them first in all 3 of its attempts.
A notice taken as exact. Month‑long parcel fleet dispatch: 1 of 2 attempts timed departures to a hub's delay notice; the parcels were ready later, and the day missed its mark by under a point. The other had measured from the history how notices compared with real ready times.
A report the stock contradicts. Two‑site spares pick lists: 2 of 6 attempts counted a special lamp as cover for the ordinary one, which no record supported. The final stock check failed at both sites, while both attempts reported their stock within the limit.
One site of two. Two‑site spares buying: 2 of 5 attempts first filed replacements only for the site whose records name parts in words, not the one using numbers, and 3 repairs waited. One found its gap two weeks later, then held both orders for next month's budget.
Full solves in seven of the nineteen, all but one multi‑session
Each dot is one attempt with only the request; the line marks the median. Larger dots are full solves.
Hover a dot for its model and reward.
What each one lets the agent change
| Environment | How it tests this | Checks | Models | Best, request only | Best, told the rules |
|---|---|---|---|---|---|
| Family dinner booking with simulated relativesHousehold (extended family of seven households) | Messages, bookings, deposits and transfers change one world service, where payments land later; the grader reads its final state and log. | 93 | 9 | 86% | 95% |
| Seasonal bulk order run with simulated staffSmall business (bakery chain supplying a hotel group) | Orders sent in messages change the world: confirmed figures, bakes, rota, bookings, an oven date. 70% of the reward is profit from the final state. | 23 | 8 | 88% | 96% |
| Server‑hall cooling diagnosis by undoable tests in a 3D buildingAn FM company's on‑site engineer in a 3D model of a police station, whose two new server‑hall cooling units have swung all day since a contractor replaced them three weeks earlier | A heat and control model updates the hall each world minute; covers, lifted tiles, setpoints and duty changes are world state the grader reads. | 20 | 7 | 70% | 95% |
| Stranded‑family rebooking with minors' exit papers and a dogA father's personal assistant, working from the family's hub, on the Sunday evening the airline cancels the mother's, two children's and dog's flight home from abroad and moves them to Thursday | Every booking change, refund, purchase, hold, rental change, claim and message changes per‑attempt state across the hub and nine sites, read at the end. | 34 | 8 | 96% | 99% |
| Month‑long parcel fleet dispatch, notes‑only memoryCity parcel carrier with three hubs and a mixed van and box‑truck fleet | Plans, reroutes, workshop bookings and standby vans go through a dispatch tool to a simulator the agent can't read; the reward counts days on time. | 29 | 2 | 100% | – |
| Room furnishing from photos: measure, match look‑alikes, order and planA furnishing concierge's assistant, with the firm's trade accounts at three furniture web shops, on 1 February 2027, furnishing a client's flat like the building's staged model apartment | Carts, orders that charge the card at once and cancellations change each attempt's shop state; purchase and budget checks read only the final order lines. | 28 | 8 | 80% | 99% |
| Live server‑room cooling incident in a 3D building with model‑played staffA police station's facilities duty engineer (FM company), in a 3D model of the station, at the alarm that both live server‑room cooling units have stopped | Every move, item use and agreed task changes a 3D world whose heat model updates each world minute; 19 checks read its log. | 31 | 7 | 77% | 100% |
| Cancelled‑flight family rebooking against a ticking clockA travel concierge's trip desk on the evening a family's overnight flight to a wedding abroad is cancelled | Bookings are changed, bought and refunded on airline, fare‑search and hotel sites and through an airline chat agent; the grader reads the final state. | 61–63 | 8 | 85% | 99% |
| Smart‑home retrofit: purchase plan, wiring and local control softwareA small, old terrace house with no smart setup, an always‑on Mac mini, two iPads, a phone and an electrician who wires only from a table | The software drives simulated devices over their real protocols, in a house where only bought units exist and power follows the wiring table. | 121 | 7 | 92% | 96% |
| Course registration against rules found in portalUniversity course‑registration web portal | A live portal, read as text one action a turn, registers anything; all 14 checks read the registration it holds at the end. | 14 | 4 | 79% | – |
| Course registration optimised for earliest graduationUniversity course‑registration web portal | The same live portal registers clashes and courses without their prerequisites, flagging clashes but never a missing prerequisite; checks read only the final registration. | 14 | 1 | 79% | – |
| Tea‑factory cash desk over thirteen weekly sessionsFinance desk of a tea factory that sells to trade buyers and at auction, with a bank facility and an owner who can lend | A weekly decision file goes to a simulator that plays out buyers, payments and the bank balance day by day, then rewrites the books. | 64 | 5 | 100% | – |
| Unattended train‑ticket buyer for a rate‑limited booking siteA weekly commuter who goes home by train every weekend, on sold‑out trains, with one account note on the laptop | The site keeps its own clock, seeded stock, expiring holds and logins and per‑account limits that pause, lock or suspend; edge checks read its log. | 26 | 8 | 100% | 100% |
| Coffee roaster materials planning across two seasonsMaterials planning at a coffee roaster with contract customers, green‑coffee importers, packaging makers and a shipping line | Orders, supplier holds, weekly plans and monthly pricing go through one tool to a simulator of deliveries and demand; the grader replays the log. | 114–168 | 5 | 97% | – |
| Coffee web‑shop order desk through a four‑act Christmas peakOrder desk of a coffee roaster's web shop, subscriptions and trade counter, with two carriers, a payment gateway, a warehouse, a roastery and a helpdesk | Every effect goes through one orders tool and scheduled jobs on a stateful simulator that refuses without saying why; the grader replays the logged commands. | 207–213 | 5 | 94% | – |
| Two‑site spares pick lists and stock plansSpare‑parts stores at a coffee roaster with two sites | Filed pick lists and stock plans drive a simulated plant: technicians take what the list names, and stock is checked at weeks 4 and 8. | 35 | 6 | 100% | – |
| Three‑day hospital ward care coordination, notes‑only memorySimulated hospital ward with five patients, nurses on day and night shifts, physicians and a diagnostics department | The agent changes the ward only through clinical and diagnostics tools; the grader replays the logged commands to rebuild the ward and score it. | 290–415 | 6 | 100% | – |
| Two‑site spares buying through supplier part withdrawalsPurchasing for the spare‑parts stores of a two‑site coffee roaster | Bills of materials, supplier mail and orders go through one tool; orders are refused without a reason, and the reward counts repairs that didn't wait. | 62 | 5 | 100% | – |
| Packing‑line project purchasing over twelve mail‑driven weeksNew packing‑line installation at a coffee roaster's site, with a design consultancy, a machine maker and an electrical contractor | Bills of materials, vendor requests and orders go through one tool; the grader replays the log and counts items on site in time. | 14 | 6 | 100% | – |
Checks: a range where the count varies by attempt. Told the rules: in the family dinner it also gives what the people would say and two facts from the files, and in the room furnishing the measured floor plan and the list of pieces. A dash: not tested.
What we haven't measured
- Doing little can score: an empty registration meets 11 of 14 checks in both course registrations; a read‑only lookup scores about 20% in one flight rebooking, doing nothing about 30% in the other; idle agents earn 39% and 18% in the spares environments and about half at the order desk.
- Where the grader reads only the final state, a closing message that misreports it costs nothing: one course‑registration attempt said the day fit the parking permit when it didn't.
- Two of the 19 have results from only one or two models, and repeat attempts exist for only five, so how much attempts vary is mostly unmeasured.
- At the coffee roaster's materials planning, Claude Code's 4 attempts ran outside a container, beside the simulator and grader; transcripts show none read them. 6 of the 24 cancelled‑flight rebooking attempts with only the request met a confirmed fault in the airline's chat engine and still count.
- In the dinner, the bulk order, the two trip rebookings and the two server‑room jobs, an LLM voices the people or reads their messages; we haven't measured the reward under another model there.
Try a sample environment
Three are downloadable as Harbor tasks, with graders and reference solutions. Request one with your work email, or book a call about the other 53.
Asapi