Train it. Test it.
Account for every step.
A SQL tool agent experiment with held-out query families, bounded cloud spending, and durable checkpoint evidence.
Does the pipeline score recovery correctly?
Two reference-SQL scripts face the same clean and transient-error tasks. This checks the evaluator; it does not measure model quality.
Every offered task stays in the denominator. Exact row multiplicity, NULLs, column order, and requested row order are checked.
Three layers. One experiment.
This Mac
Data generation · SQL verifier · rollout collector · authoritative spend ledger
Baseten Loops
Qwen3.6 · 35B total / 3B active
Rank-8 LoRA · completed SFT pilot
Cloudflare
Durable leases · fencing tokens
Content-addressed evidence in R2
Inspect the actual tool exchange.
Base → SFT → SFT + reward
Same model, frozen test set, same tool and token budgets. Final checkpoints fixed before evaluation.
Unknown spend stays reserved
An ambiguous remote operation stops the run. Optimizer steps are never replayed by the application.
Evidence before claims
Paired differences, task-level intervals, failed attempts, checkpoint identity, and billing reconciliation.