Asapi
For AI labs / Capabilities / Tool use in stateful environments
Capability · 19 environments

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.

How the worlds work

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.
What models get wrong

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.

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

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

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

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

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

Results

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.

EnvironmentMedianFully solved
Family dinner booking with simulated relatives9 models7%0 of 9Seasonal bulk order run with simulated staff8 models48%0 of 8Server‑hall cooling diagnosis by undoable tests in a 3D building7 models55%0 of 7Stranded‑family rebooking with minors' exit papers and a dog8 models × 3 attempts61%0 of 24Month‑long parcel fleet dispatch, notes‑only memory2 models62%1 of 2Room furnishing from photos: measure, match look‑alikes, order and plan8 models × 3 attempts63%0 of 24Live server‑room cooling incident in a 3D building with model‑played staff7 models65%0 of 7Cancelled‑flight family rebooking against a ticking clock8 models × 3 attempts70%0 of 24Smart‑home retrofit: purchase plan, wiring and local control software7 models76%0 of 7Course registration against rules found in portal4 models79%0 of 4Course registration optimised for earliest graduation1 models79%0 of 1Tea‑factory cash desk over thirteen weekly sessions5 models81%1 of 5Unattended train‑ticket buyer for a rate‑limited booking site8 models83%1 of 8Coffee roaster materials planning across two seasons5 models, 1 or 2 attempts each90%0 of 7Coffee web‑shop order desk through a four‑act Christmas peak5 models90%0 of 5Two‑site spares pick lists and stock plans6 models97%1 of 6Three‑day hospital ward care coordination, notes‑only memory6 models98%1 of 6Two‑site spares buying through supplier part withdrawals5 models98%2 of 5Packing‑line project purchasing over twelve mail‑driven weeks6 models × 3 attempts100%13 of 18

Hover a dot for its model and reward.

The 19 environments

What each one lets the agent change

EnvironmentHow it tests thisChecksModelsBest, request onlyBest, 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.93986%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.23888%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 earlierA heat and control model updates the hall each world minute; covers, lifted tiles, setpoints and duty changes are world state the grader reads.20770%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 ThursdayEvery booking change, refund, purchase, hold, rental change, claim and message changes per‑attempt state across the hub and nine sites, read at the end.34896%99%
Month‑long parcel fleet dispatch, notes‑only memoryCity parcel carrier with three hubs and a mixed van and box‑truck fleetPlans, 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.292100%–
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 apartmentCarts, 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.28880%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 stoppedEvery move, item use and agreed task changes a 3D world whose heat model updates each world minute; 19 checks read its log.31777%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 cancelledBookings 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–63885%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 tableThe software drives simulated devices over their real protocols, in a house where only bought units exist and power follows the wiring table.121792%96%
Course registration against rules found in portalUniversity course‑registration web portalA live portal, read as text one action a turn, registers anything; all 14 checks read the registration it holds at the end.14479%–
Course registration optimised for earliest graduationUniversity course‑registration web portalThe same live portal registers clashes and courses without their prerequisites, flagging clashes but never a missing prerequisite; checks read only the final registration.14179%–
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 lendA weekly decision file goes to a simulator that plays out buyers, payments and the bank balance day by day, then rewrites the books.645100%–
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 laptopThe 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.268100%100%
Coffee roaster materials planning across two seasonsMaterials planning at a coffee roaster with contract customers, green‑coffee importers, packaging makers and a shipping lineOrders, supplier holds, weekly plans and monthly pricing go through one tool to a simulator of deliveries and demand; the grader replays the log.114–168597%–
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 helpdeskEvery 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–213594%–
Two‑site spares pick lists and stock plansSpare‑parts stores at a coffee roaster with two sitesFiled pick lists and stock plans drive a simulated plant: technicians take what the list names, and stock is checked at weeks 4 and 8.356100%–
Three‑day hospital ward care coordination, notes‑only memorySimulated hospital ward with five patients, nurses on day and night shifts, physicians and a diagnostics departmentThe agent changes the ward only through clinical and diagnostics tools; the grader replays the logged commands to rebuild the ward and score it.290–4156100%–
Two‑site spares buying through supplier part withdrawalsPurchasing for the spare‑parts stores of a two‑site coffee roasterBills 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.625100%–
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 contractorBills of materials, vendor requests and orders go through one tool; the grader replays the log and counts items on site in time.146100%–

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.

Known limitations

What we haven't measured

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.