Protect Your API Budget
From Runaway Agents.
The local SQLite ledger and emergency kill-switch for LLM automations. Stop burning credits on looping loops — ship agents with zero financial risk.
Agent Burn-Rate Auditor
Model your real spend after retries. Most teams underestimate by 30–60%.
High retry rates at this volume risk runaway billing loops. Local guardrails required.
Friday night with a runaway agent
vs. a guarded one.
- Agents loop overnight → $4,200 surprise bill
- No idea which model burned the budget
- Alerts arrive after the credit card is hit
- Spend data trapped inside 3rd-party SaaS
- Killing a runaway run = redeploy + pray
- Hard ceiling: agent dies at $X.XX, every time
- Per-model, per-agent, per-hour spend in one view
- Discord ping at 50% → kill-switch at 90%
- Every token in a local SQLite file you own
- Single CLI command to pause the entire fleet
Enterprise-Grade Guardrails.
Zero Cloud Setup.
The Interceptor
Drop-in Python wrapper. Logs every token to a local SQLite ledger instantly — zero network round-trips, zero vendor lock-in.
God-Mode Dashboard
Auto-generated visualizer for per-model, per-agent, per-hour spend.
The Kill-Switch
Severs API connections and pings Discord the moment spend crosses your threshold.
100% Local SQLite
Your prompts, your tokens, your spend — never leave your machine. Zero cloud latency, full audit trail, GDPR by default.
Engineered for the Edge.
Three zero-dependency modules. One local SQLite ledger. An OS-level nuclear kill-switch. Unbox the infrastructure that protects your API budget while you sleep.
- Standard library only
- Cross-platform PID termination
- Concurrency-safe SQLite
From zero to guarded
in three commands.
Install
One pip command. No accounts, no API keys, no cloud setup.
pip install botguardianWrap your agent
One decorator. Works with any OpenAI, Anthropic, Gemini, or hosted SDK.
@guard(threshold=5.00)
def run_agent():
return client.chat.completions.create(...)Ship with a safety net
Local ledger + dashboard + kill-switch — armed and watching, instantly.
$ botguardian dashboard --openTrusted by devs who've felt the bill.
"Had an agent loop on a malformed JSON response for hours overnight. Woke up to a four-figure bill. Wired this in the next morning — sleep restored."
"The local ledger alone is worth the price. I finally know which agent, which model, which prompt is bleeding the budget — no dashboard login required."
"Shipped my first autonomous agent to prod the same week I bought this. The kill-switch is the only reason I let it touch a real API key."
Cheaper than one bad night.
- Local SQLite ledger + Python interceptor
- Auto-generated spend dashboard (HTML/JS)
- Kill-switch webhook + Discord alerts
- 20 model presets, all major providers
- Lifetime updates · no subscription, ever
pays for itself the first time an agent loops