What our first financial workflow benchmark exposed about agent replay reliability
We ran a bank reconciliation through Hotpath on Claude: one agent recording, then 63 replays and recoveries. Cost per run fell 24×. The useful part is everything that went wrong on the way.
Update, the same evening: we fixed what this post describes. Hotpath now learns which lines the recording selected and recomputes totals and conversions in code. Re-run on Claude: 20 of 20 new-day replays finished, every report correct, no fallback, about 67× cheaper than the agent. The numbers below are the first run.
Most of our benchmarks so far wrote briefs and reports, where mostly right is good enough. Finance is not. A reconciliation with the wrong total is worse than no reconciliation, so we built one and pointed Hotpath at it.
The task
The data is synthetic but shaped like the real thing. Bank lines arrive in pages, in euros, dollars and pounds. Each line is matched against the ledger by reference, foreign amounts are converted at the day's rate, and a report goes to the controller with the lines that did not match and their total in euros.
Claude Sonnet 5.5 did the task once, as the agent. Hotpath compiled that run into a five-step workflow and replayed it with Claude Haiku 5.5 writing the report. We replayed it 20 times on the recorded day, 40 times on a new day with three pages and different references, and 3 times after the bank renamed a field.
01A report can pass every check and still be wrong
In the first Claude run, the replay on the new day listed every bank line and converted every currency. Then it left out the two things the controller actually needs: the list of unmatched lines and the −428 EUR total. It passed every check we had.
Those checks were built to catch drift: a tool whose output changed shape, a report that forgot today's facts, a sentence copied from yesterday. None of them asks whether a sum is right. That is a different question, and until then nothing in our benchmark asked it either.
What changed: finished and correct are now two separate numbers. Every finance run is checked against the true answer. The total must equal the real total, every unmatched line must appear with its euro amount, and no matched line may be reported as missing.
02The fix that did nothing was fixing the wrong prompt
Our first attempt to get the total back was to tell the model, more firmly, not to leave calculated figures out. It changed nothing: 0 of 3 reports had the total.
The model was not the problem. When a first answer fails a check, Hotpath asks once more, and that second request had been written more compactly and had lost the instruction about calculated figures. Most reports that reached the controller came from the second request, which never asked for a total. Once the retry carried the same instruction, 5 of 5 reports had the correct total.
The lesson is boring and important: measure the path the output actually took, not the prompt you edited.
03The recording's mistakes travel with it
The recording is the reference for every replay, errors included. Sonnet's report said that no pound exchange rate had been retrieved, about a line that had in fact been matched by reference. Early replays repeated the sentence faithfully.
With a weaker recording agent, Gemini 3.1 Flash Lite, it was worse: the recorded run itself added up the wrong lines, so the workflow built from it was wrong from day one. Our correctness check caught it. A customer would not have.
Hotpath now warns when the recorded text admits a gap, and we record finance tasks with the strongest agent available. A replay can only be as right as the run it learned from.
04Strict checks have a price, paid in fallbacks
On the new day, 4 of 40 replays stopped before sending anything. Every one of those reports was correct. They stopped because a check expected a particular value, a carrier name or an amount, that the recorded report happened to cite from a fixed place in a list. On a new day that place holds a different line.
Stopping is the safe outcome: nothing wrong goes out, and the agent does that run instead. But it is not free. A fallback costs one agent run, about $0.028, or 20 replays. At one fallback in ten, the average cost per run goes from $0.0014 to about $0.0042. Still 8× below the agent, but a third of the saving is gone.
We changed how those checks choose what to require, under one rule: never stricter than before. A requirement tied to a place in a list now asks for as many different items as the recording cited, instead of the items in those places. Across our other tasks this removed false fallbacks, and all ten deliberately wrong reports in our safety test are still rejected.
It also cost something, and we measured it. Where the recording chose some items by a rule, here "not in the ledger", the check now knows how many items to expect but not which. On this task it no longer notices a report that swaps one unmatched line for another. The correctness check still does, and learning the selection rule from the recording is next on our list.
05On new data, the win is cost, not speed
| Run | Runs | Finished | Time, median | Cost per run |
|---|---|---|---|---|
| Agent, Sonnet 5.5, new day | – | – | 10.1 s | $0.033 |
| Replay, recorded day | 20 | 20 | 0.94 s | $0, no model call |
| Replay, new day | 40 | 36 | 10.3 s | $0.0014 |
| Recovery after a renamed field | 3 | 3 | about 10 s | $0.028 |
On the recorded day the replay reuses its saved answer and makes no model call, so it finishes in under a second. That is only right when the data is genuinely identical. On a new day the replay writes a long reconciliation and, in this version, needs a second request, so it takes as long as the agent. The saving is on the bill.
When the bank renamed a field, all three replays noticed before sending, the agent redid the run, and the rebuilt workflow kept its message to the controller and all of its checks. Afterwards, 2 of 3 replays finished on their own; the third ran into the strict check from section 04.
What this does not show
One task, synthetic data, one recording, Anthropic models only, and 20 to 40 runs per scenario. Our slowest-case figure is the second-slowest of 20 runs, a first estimate rather than a production number. We have not run this on a real company's books.
What we are doing next
- Compute totals, counts and conversions in code and give them to the model as facts, so arithmetic stops depending on the writer.
- Learn the rule that selected items in the recording, so the check knows which unmatched lines must appear, not just how many.
- Find out why the first answer fails often enough to need a second request, which doubles the time and the cost of a replay.
- Run more, and on more than one model family, before any of these figures moves to our home page.
If your agents work on financial data and you want this measured on your own task, start free and run it there.
Try it on your own task.
The CLI is free with an account. No card.