Consumption guardrails
@agentcosts/consumption-guardrails
Set and check consumption guardrails for an AI product: per-customer daily and monthly spend caps, month-end forecasts, spend spike rules, runaway agent runs, and failure rate spikes, plus a runbook for what to do when each alert fires. Runs on usage files; exit code 2 on critical alerts for cron or CI.
- Activity
- New: be the first to try it
- Installs
- 0 installs
- Likes
- 0 likes
- Clones
- 0 clones
Scan
0 failing and 0 warning findings, scanner 2.3.0.
Review
Tests
2 of 2 cases passed in the sandbox.
Provenance
- Content hash (sha256)
- 245cc15bcc7162c631246849d2742c642ad53c4a09642e7b095324ea0b9cbcf4
- Signature
- Signed by platform key 10aff36bedd43e66. The CLI checks the hash and signature against the published keys on install.
- Published
- 5 Nov 2026
