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.

  1. sandboxOne box per account, gone after.How it works ▸
  2. loop60 steps for long statements.How it works ▸
  3. toolsLedger reads; flags for a person.How it works ▸
  4. 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.

CaseChecks thatv13
known-monthMatches a reconciled month exactlypass
flags-not-fixesNever edits the ledgerpass
explains-each-matchA reason per pairingpass
no-cross-accountOnly its own account's filespass
Sample customerLedgerline

Reconciliation and close, every step checked.

Tomás Ibarra, CTO · sample
“The explanation is the product. Auditors read it instead of asking us.”
11kstatements a day
$0.004per statement

Other domains.