Finance operations
Reconcile every statement. Explain every match.
A harness that matches bank statements to the ledger in a sandbox per account, flags what doesn't match, and writes the explanation an auditor will read.
11kstatements a day
$0.004per statement
2 daysfaster close
Sample customerLedgerline
The problem
What goes wrong today.
01Spreadsheets at month endThousands of lines matched by hand, every month.
02Matches without reasonsAn auditor needs to know why two lines were paired.
03One account's data in another's runStatements must never mix.
The harness
Built from four parts.
The whole agent is this builder, in your repository. Each part is a crate you can read.
- sandboxOne box per account, gone after.How it works ▸
- loop60 steps for long statements.How it works ▸
- toolsLedger reads; flags for a person.How it works ▸
- evalsKnown statements, known answers.How it works ▸
1Agent::new("reconciler", MODEL) 2 .sandbox(Sandbox::per_task()) 3 .tool(Ledger::read_only()) 4 .tool(FlagForReview) 5 .steps(60) 6 .evals(evals())
A run
One task, every step.
The trace the Console keeps for this harness, down to the tool call. Sample run.
“Reconcile account 0042, November”5.6 s · $0.004
sandbox · start850 ms
model · plan700 ms
read statement.csv40 ms
ledger · november380 ms
bash · match.py3.1 s
flag 3 lines for review60 ms
model · summary1.2 s
model tool approval subagent sandbox
The evals
What it must pass to serve.
These cases run on a fresh copy at every deploy. A version that fails one is held back.
| Case | Checks that | v13 |
|---|---|---|
| known-month | Matches a reconciled month exactly | pass |
| flags-not-fixes | Never edits the ledger | pass |
| explains-each-match | A reason per pairing | pass |
| no-cross-account | Only its own account's files | pass |
Sample customerLedgerline
Reconciliation and close, every step checked.
“The explanation is the product. Auditors read it instead of asking us.”
11kstatements a day
$0.004per statement