←
Blog

Frist MedPractice: An enterprise world for accounts payable agents

Remm BrofmanNathan GerevitsShaheer AslamKevin Su

Overview

Frist builds the data infrastructure for next-generation computer use agents and coding models. Our reinforcement learning (RL) environments are high-fidelity replicas of real software, where agents are trained and evaluated on economically valuable work.

Our first world, FristWorld, replicated popular, high-traffic consumer applications. Frist MedPractice is our first enterprise world, a simulated multi-entity medical group with a working accounts payable (AP) department.

Agents take on the role of an AP specialist across NetSuite, Bill.com, Gmail, and Google Sheets. Each application is a pixel-perfect clone with high DOM fidelity, which our JetBlue experiment showed significantly increases model performance on live applications.

To ensure MedPractice behaves like a real world medical group, we partnered with NewtonX, an expert network that connects Fortune 100 companies and frontier labs with industry practitioners. Within MedPractice, NewtonX and Frist engaged an accounting expert to define how the company operates, build out the company's data, and create tasks and verifiers.

This post presents our pilot, which precedes a full benchmark. We ran 14 long-horizon AP tasks three times each across 9 frontier models, and the best models pass 35.7% of runs.

How we worked with an expert to build the world

Here's an overview of an expert that advised on the project:

  • CPA and NetSuite certification, with 14 years across public accounting and industry
  • Assistant Controller experience at a multi-location medical group, overseeing AP, AR, and reconciliations across several companies
  • Revenue accounting management, covering month-end close, reconciliations, and audit support under US GAAP
  • Master's degrees in Accounting and Information Systems

The expert shaped every part of the world: seed data, tasks, rubrics and verifiers, and environment QA.

Seed data

To make the world as realistic as possible, the expert defined how the MedPractice AP team operates, including approval flows, routing, policies, exception handling, and payment terms. The seed data was built around operational knowledge of this industry and made to represent realistic data, including duplicates, overcharges, wrong approvers, and contract issues an AP team commonly encounters.

Tasks

The tasks are long-horizon AP workflows that involve hundreds of records. These tasks take people several hours to complete. The tasks give no hints about the solution. Each task has an answer that AP experts universally agree is correct.

Rubrics & Verifiers

The expert created a rubric, which was validated by reviewing agent runs.

Environment QA

Experts validate each application clone against the live site, and QA engineers resolve any gaps that tasks depend on.

The tasks

The 14 tasks cover daily and month-end AP work. Examples include:

  • Setting up Monday's payment run, choosing which approved bills go out and determining the correct amount after credits
  • Responding to vendor requests for payment
  • Handling rush requests according to company policy
  • Cleaning up vendor bills and the AP books before the October audit

Tasks require multiple applications. Like a real AP specialist, the agent goes back and forth between applications. For example, the agent reads a vendor's email in Gmail, finds the bill in Bill.com, and checks the purchase order and receipt in NetSuite.

Leaderboard

Tasks14
Apps4
Models9
Trials per task3
Runs378

Pass@1 is the chance one run passes; Pass^3 is the share of tasks passed on all 3 runs. Checks passed is the share of a task's checks a run gets right.

Model
Pass@1
Pass^3
Checks passed
Claude Opus 5.5
35.7%
21.4%
77.7%
Gemini 4 Argon
35.7%
14.3%
67.6%
Claude Fable 5.1
31.0%
28.6%
74.9%
GPT-6 Astra
23.8%
7.1%
58.3%
GPT-6.1 Terra
16.7%
7.1%
53.9%
Kimi K3.1 Pro
14.3%
7.1%
51.5%
GPT-6.1 Sol
11.9%
0.0%
54.3%
Muse Wonder
4.8%
0.0%
20.4%
Claude Haiku 5.5
2.4%
0.0%
18.2%

14 tasks · 378 runs

Close is not correct. On average, Claude Opus 5.5 gets 77.7% of a task's checks right, but passes only 35.7% of runs. Every model shows the same gap. AP leaves no room for error. A single wrong decision in a payment run pays a vendor money it isn't owed, and that money is hard to recover. This would be an unacceptable outcome.

Consistency is rare. Only 9.5% of model and task pairs passed all three runs. Claude Fable 5.1 passes fewer single runs than Claude Opus 5.5 but is the most consistent, solving 4 of 14 tasks every time.

Five tasks were not solved by any model. Even when models did most of the work right, they still broke the run on a specific detail. Failure modes include: paying a bill that had a pending credit, mistakenly paying the full bill despite receiving a partial delivery, missing a request buried in an email the model never opened, and over-correcting by holding a bill that should be paid.

Sample task & trajectory

The sample task, highlighted below, covers a real request from vendors inquiring about their outstanding invoices. Claude Opus 5.5 worked for 330 steps across Bill.com, NetSuite, and Gmail and passed 18 of 24 checks.

Task 5 · Vendor calls

Five vendors called today chasing money: Gulf Coast Rx Supply, SunCoast Clinical Staffing, Spotless Medical Cleaning, ABC Medical Supplies LLC, and Summit Medical Equipment Co. Schedule their approved bills in Bill that should be paid Monday (11/2), for the right amounts. Any approved bill of theirs you're not paying, leave unscheduled with a note on the bill saying why, and put it on payment hold in NetSuite so it can't go out from there either.

Turn 65 of 330 · Bill.comLook

“Capture vendor and bill numbers aligned with due dates.”

Went right

  • Scheduled five of the six correct bills in full for Monday 11/2
  • Held two Gulf Coast bills for a partial receipt and an overcharge, and a SunCoast bill charging $78 against the $70 contract rate, with notes in Bill and NetSuite
  • Caught a $287.30 ABC invoice as a duplicate of a paid one and left it unscheduled with a note

Went wrong

  • Scheduled a $3,150.00 Summit bill instead of holding it, though Summit said its sterilizer warranty credit settles first
  • Scheduled a $214.35 ABC bill that ships to Coconut Grove but was approved for Brickell
  • Reviewed only one company's bills, so never scheduled a $2,564.38 Gulf Coast bill at the Surgery Center
Full rubric for Task 5 · 24 checks

The 24 checks run against the final state of Bill and NetSuite. Each one shows how many of the 27 runs on this task (9 models, 3 runs each) passed it.

Pay on Monday

  1. 1In Bill, the approved (not the denied) copy of Gulf Coast Rx Supply invoice C4MCB3JH0 ($3,040.11, MedPractice) has status scheduled, with its full $3,040.11 scheduled for payment.23 of 27 runs
  2. 2In Bill, Gulf Coast Rx Supply invoice JWT2U4ARI ($1,995.64, MedPractice) has status scheduled, with its full $1,995.64 scheduled for payment.22 of 27 runs
  3. 3In Bill, Gulf Coast Rx Supply invoice 9XWJ7ABCB ($2,413.92, MedPractice) has status scheduled, with its full $2,413.92 scheduled for payment.22 of 27 runs
  4. 4In Bill, Gulf Coast Rx Supply invoice 7A41XD4DZ ($2,564.38, MedPractice Surgery Center) has status scheduled, with its full $2,564.38 scheduled for payment.4 of 27 runs
  5. 5In Bill, ABC Medical Supplies LLC invoice INV-3450685844 ($399.26, MedPractice) has status scheduled, with its full $399.26 scheduled for payment.24 of 27 runs
  6. 6In Bill, Spotless Medical Cleaning invoice 4Z705O2VO ($417.86, MedPractice) has status scheduled, with its full $417.86 scheduled for payment.19 of 27 runs
  7. 7In Bill, a scheduled payment of $3,040.11 dated Monday 11/02/2026 exists for the approved (not the denied) copy of Gulf Coast Rx Supply invoice C4MCB3JH0.23 of 27 runs
  8. 8In Bill, a scheduled payment of $1,995.64 dated Monday 11/02/2026 exists for Gulf Coast Rx Supply invoice JWT2U4ARI.22 of 27 runs
  9. 9In Bill, a scheduled payment of $2,413.92 dated Monday 11/02/2026 exists for Gulf Coast Rx Supply invoice 9XWJ7ABCB.22 of 27 runs
  10. 10In Bill, a scheduled payment of $2,564.38 dated Monday 11/02/2026 exists for Gulf Coast Rx Supply (MedPractice Surgery Center) invoice 7A41XD4DZ.4 of 27 runs
  11. 11In Bill, a scheduled payment of $399.26 dated Monday 11/02/2026 exists for ABC Medical Supplies LLC invoice INV-3450685844.24 of 27 runs
  12. 12In Bill, a scheduled payment of $417.86 dated Monday 11/02/2026 exists for Spotless Medical Cleaning invoice 4Z705O2VO.19 of 27 runs

Hold in Bill and NetSuite

  1. 13In Bill, Gulf Coast Rx Supply invoice GCR-91207 ($2,439.00) has nothing paid and nothing scheduled and has at least one note; in NetSuite, bill GCR-91207 is on file once with Payment Hold ticked and nothing paid on it.21 of 27 runs
  2. 14In Bill, Gulf Coast Rx Supply invoice XDCNJY4WV ($2,331.60) has nothing paid and nothing scheduled and has at least two notes (it started with one, so a new note is needed); in NetSuite, bill XDCNJY4WV is on file once with Payment Hold ticked and nothing paid on it.20 of 27 runs
  3. 15In Bill, SunCoast Clinical Staffing invoice SCS-48211 ($4,400.00) has nothing paid and nothing scheduled and has at least one note; in NetSuite, bill SCS-48211 is on file once with Payment Hold ticked and nothing paid on it.18 of 27 runs
  4. 16In Bill, Summit Medical Equipment Co. invoice INV-0919030 ($3,150.00) has nothing paid and nothing scheduled and has at least one note; in NetSuite, bill INV-0919030 is on file once with Payment Hold ticked and nothing paid on it.15 of 27 runs
  5. 17In Bill, ABC Medical Supplies LLC invoice 3450685406 ($287.30) has nothing paid and nothing scheduled and has at least one note; in NetSuite, bill 3450685406 is on file once with nothing paid on it (Payment Hold not required).13 of 27 runs
  6. 18In Bill, ABC Medical Supplies LLC invoice INV-3450685768 ($214.35) has nothing paid and nothing scheduled and has at least one note; in NetSuite, bill INV-3450685768 is on file once with Payment Hold ticked and nothing paid on it.1 of 27 runs

Say why on each hold

  1. 19In Bill, a note on Gulf Coast Rx Supply invoice GCR-91207 says why it isn't being paid: its price is over the contract's price cap, or not all of it was received.21 of 27 runs
  2. 20In Bill, a note on Gulf Coast Rx Supply invoice XDCNJY4WV says it is held for the vendor's overcharge until a credit memo or corrected invoice arrives.22 of 27 runs
  3. 21In Bill, a note on SunCoast Clinical Staffing invoice SCS-48211 says the RN hours are billed at $78/hr but the contract rate is $70/hr.20 of 27 runs
  4. 22In Bill, a note on Summit Medical Equipment Co. invoice INV-0919030 says it is held because Summit owes MedPractice a warranty credit first.9 of 27 runs
  5. 23In Bill, a note on ABC Medical Supplies LLC invoice 3450685406 says it is a duplicate of an invoice already paid.13 of 27 runs
  6. 24In Bill, a note on ABC Medical Supplies LLC invoice INV-3450685768 says it ships to Coconut Grove but was approved for Brickell, so the right manager hasn't approved it.1 of 27 runs

Across its 3 runs on this task, GPT-6 Astra made 10 mistakes. In 50% of these cases, the model paid a bill it should not have, which is a severe mistake in AP workflows, sending $5,330.35 out the door in error. In 30% of cases, a bill that was due was never paid. In 20% of cases, the bill was correctly held, but the model did not provide the correct justification for holding payment. The complete failure mode distribution by category is shown below.

Failures have real world consequences

Task 5 asks for 14 decisions per run: pay a bill, hold it, or leave it alone. Each bar shows one model's failed decisions across its 3 runs, by type. Bills a model never got to are not shown. The last column totals the money each model paid out in error.

Model
Failures
$ paid in error
GPT-6.1 Terra
10
$1,504.95
Gemini 4 Argon
9
$3,301.35
Claude Fable 5.1
8
$5,010.35
GPT-6 Astra
10
$5,330.35
Claude Opus 5.5
7
$7,230.35
Claude Haiku 5.5
19
$10,490.65
Muse Wonder
18
$14,974.35
GPT-6.1 Sol
14
$16,167.79
Kimi K3.1 Pro
15
$16,455.09
Paid a bill it should have heldDidn't pay a bill that was dueHeld, wrong reason noted

What's next

MedPractice is our first enterprise world. Our goal is to build a world where an agent can run a whole company for a day, with work that moves between departments. AP is where we started, and we intend to add more departments to simulate end to end workflows.

The pilot and its RL environment, including the applications, tasks, and verifiers, are available upon request. We build the highest quality RL environments for consumer and enterprise applications. Research teams interested in collaborating, please reach out: research@frist.ai

We make the observable world verifiable.

Related articles