Draft v0.1 · open spec · no custody

Sample agent spend audit

A worked example of the agent spend audit: 44 rows, 11 findings, 5 errors, every row with evidence. The real CLI output, unedited. See the deliverable before paying.
Written scope and written report — no calls. No wallet access for the first scan.

A worked example, not a client engagement. The data is our own 44-row fixture (`examples/spend-sample.csv`); the output is the real CLI, unedited. We publish it so a buyer can see the shape of the deliverable before paying for one.

1. What was checked

Ten checks, each answering one question. A check that finds nothing says so.

  • Duplicate charge — same tx_hash paid twice
  • Price escalation — settled above quote
  • Failed but billed — error status, money taken
  • Missing refund — charged above actual, no refund line
  • Model overpay — paid above the median for the same tool and model
  • Budget exceeded — spend above the agent's limit
  • Runaway loop — calls per minute above threshold
  • Unknown asset / network — money moved outside the expected rails
  • Missing payee — no counterparty recorded
  • Unpriced call — spend with no reason attached

2. The data

FieldValue
Rows read44
Settled$0.661
Agents2
Asset / networkUSDC on Base
PeriodOne month
Input formatCSV: ts, agent, tool, model, quote, settled, actual, refund, asset, network, tx_hash, payee, status

No keys, no prompts, no customer data. Amounts, ids and payees only.

3. Findings

RowCodeSeverity$Evidence
0budget_exceedederror0.430spent 0.630 against a limit of 0.20
5duplicate_chargeerror0.02same tx_hash as row 2 — 0xaaa1
7price_escalationerror0.03settled 0.05 above quote 0.02 — 0xaaa5
8failed_but_billederror0.03status failed with 0.03 charged — 0xaaa6
9missing_refunderror0.06charged 0.10 for actual 0.04 — 0xaaa7
9model_overpaywarning0.08paid 0.10 against a median 0.02
10unknown_assetwarning0.02asset MOON is not recognised
10unknown_networkwarning0.02network moonnet is not recognised
10missing_payeewarning0.02no payee recorded
14model_overpaywarning0.28paid 0.30 against a median 0.02
45runaway_loopwarning031 calls in 60s, threshold 30

5 errors, 6 warnings. Every row carries a tx hash or a row number, so a reader can open the ledger and disagree with us.

4. What it costs

MeasureAmountWhat it means
Settled in the period$0.661the whole spend under audit
Spent with no reason attached$0.14money left the account, no recorded purpose
Above the usual price$0.36paid more than the median for the same call
Over the agent's limit$0.43budget breached before anyone noticed

On a fixture this small the absolute numbers are not the point. The point is the ratio: four error classes fired on 44 rows. On a real month the same four checks decide whether an agent is a product or a leak.

5. What this report does not say

  • It does not verify the chain. v0.2 records onchain_verified=false; the rows are checked against the records you provide.
  • It does not claim the agent was wrong or unsafe. It records what was spent.
  • It does not say money was recovered. Nothing was recovered here.
  • It does not replace a provider invoice. Estimates are labelled; confirmed means matched against the counterparty.
  • If a check found nothing, the report says nothing was found for it — a missing finding is not a clean bill of health.

6. What to do next

  • Fix the duplicate first: it is a bug, not a price
  • Put a hard limit per agent, not per company
  • Record a reason for every call, or do not pay it
  • Alert on failed-but-billed: that is money for nothing
  • Re-run the audit in 30 days with the same columns

Free scan

One flow, no account, no GitHub. Send the export; the report comes back in writing. One audit: $199 flat, five working days.

Request a free scan