Sample agent spend audit
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
| Field | Value |
|---|---|
| Rows read | 44 |
| Settled | $0.661 |
| Agents | 2 |
| Asset / network | USDC on Base |
| Period | One month |
| Input format | CSV: 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
| Row | Code | Severity | $ | Evidence |
|---|---|---|---|---|
| 0 | budget_exceeded | error | 0.430 | spent 0.630 against a limit of 0.20 |
| 5 | duplicate_charge | error | 0.02 | same tx_hash as row 2 — 0xaaa1 |
| 7 | price_escalation | error | 0.03 | settled 0.05 above quote 0.02 — 0xaaa5 |
| 8 | failed_but_billed | error | 0.03 | status failed with 0.03 charged — 0xaaa6 |
| 9 | missing_refund | error | 0.06 | charged 0.10 for actual 0.04 — 0xaaa7 |
| 9 | model_overpay | warning | 0.08 | paid 0.10 against a median 0.02 |
| 10 | unknown_asset | warning | 0.02 | asset MOON is not recognised |
| 10 | unknown_network | warning | 0.02 | network moonnet is not recognised |
| 10 | missing_payee | warning | 0.02 | no payee recorded |
| 14 | model_overpay | warning | 0.28 | paid 0.30 against a median 0.02 |
| 45 | runaway_loop | warning | 0 | 31 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
| Measure | Amount | What it means |
|---|---|---|
| Settled in the period | $0.661 | the whole spend under audit |
| Spent with no reason attached | $0.14 | money left the account, no recorded purpose |
| Above the usual price | $0.36 | paid more than the median for the same call |
| Over the agent's limit | $0.43 | budget 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