FINANCIAL ANOMALIES
Ledger
Watches the money so you don’t have to.
Own-org Stripe (MRR, seat composition, trial lifecycle, past-due), ad-platform spend velocity, budget pacing, CPL deltas, and Claude inference cost.
Why Ledger exists
Spend moves faster than attention. A runaway ad campaign on Friday burns through the month's budget by Monday. Ledger watches the financial surface continuously and surfaces the moment a metric crosses a threshold.
Routines
What Ledger does every cycle.
Inference cost rollup
Claude spend across every agent. Default tab. Every account gets this out of the box.
Own-org Stripe audit
MRR, plan, seat composition, trial lifecycle, past-due events.
Ad-spend anomaly (Phase 2)
Spend velocity, CPL delta, budget burn rate per connected platform. Polls every 15m.
Budget pacing view (Phase 2)
Daily spend vs expected. Projected overspend/underspend at month-end.
DATA SOURCES
- →agent_run_costs (Claude per-call token + dollar)
- →Stripe (own-org subscription)
- →Meta Ads / Google Ads / Bing Ads (Phase 2)
- →Google Local Services Ads (Phase 2)
MODEL USE
MODELS.classify (Haiku) for triage · MODELS.generate (Sonnet) for threshold-breach explanations
WHAT IT EMITS
- →Past-due / canceled urgent findings
- →Spend velocity anomalies
- →Budget pacing warnings
- →Inference cost digests
The rest of the team