Skip to content
← All AI workflows

Flexport: test finance-agent decision accuracy

Flexport reports action accuracy rising from 70% to 82% after 17 experiments. The agent chooses whether to invoice, record an explanation or escalate a charge. The exact held-out test score and sample size are not disclosed.

From the source

Public repository page from Andrej Karpathy / GitHub
Andrej Karpathy / GitHub · Captured 2026-10-14Read the original

How it works

  • The source reports 17 experiments and five retained changes, with action accuracy rising from 70% to 82%. The exact held-out score and sample size are absent.
  • The author reports a held-out check and slightly higher cost per analysis for retained changes. These are operator reports, not a reproduced evaluation or measured recovered revenue.
  • Do not infer the finance adaptation hardware from the upstream model-training loop. Do not present the public Flexport MCP connector as access to this experiment.

Results

In a July 9, 2026 engineering account, Flexport reports an overnight run of 17 experiments and five retained changes. Action accuracy rose from 70% to 82%, an increase of 12 percentage points. The finance agent decides whether to invoice a client, record an explanation or escalate an unbilled shipment charge. The author says the improvements held on a reserved test set, but gives no exact test score or sample size. This is reported agent decision quality, not measured recovered revenue or company-wide return on investment.

Workflow guide

  1. Prepare approved, redacted cases with expert-reviewed decisions for an existing finance agent. Record its baseline results.

  2. Create an offline evaluation setup with approved access. Use access controls to isolate reserved test cases. Disable billing and production writes. Limit editable files.

  3. Propose one prompt or permitted code change at a time. Obtain authorization before implementation. Compare each candidate with the baseline for decision accuracy and cost. Keep or revert it under agreed limits.

  4. Log failed experiments. Stop after repeated failed attempts and ask a person to redirect the work.

  5. Have an authorized evaluator run the selected configuration on the reserved test set. Report that score separately. Obtain engineer review before any separately authorized release.

Sources and downloads

See this workflow in order-to-cash →Discuss this workflow →

Book a call

A free 30 minute call. Tell us where you are with AI, what your IT allows, and what management needs to see. We'll tell you honestly what we would do first.