botguardian — live ledger
connected
spend / min$0.00
tokens / s0
retries0
killswitch triggered
threshold $5.00 · 12:04:33
burn rate · last 60s
flatlined
$ botguardian watch --threshold 5.00
[12:04:31] openai.chat.completions → 412 tok · $0.0041
[12:04:33] burn velocity exceeded → 4.92 → 5.07 USD
[12:04:33] killswitch engaged · all keys revoked
v1.0 · Local Runtime Guardrails

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.

Calculate Risk Exposure
PYTHONNODE.JSGOLANGRUSTOPENAIANTHROPIC
$14M+
in agent spend audited
2.3k
indie devs running BotGuardian
<50ms
interceptor overhead, p99
100%
local — zero cloud egress
Interactive Audit

Agent Burn-Rate Auditor

Model your real spend after retries. Most teams underestimate by 30–60%.

AnthropicClaude Sonnet 4.5·$3.00 / 1M in$15.00 / 1M out
Projected Monthly Burn
$8,028.72
after 18% retry overhead
Infrastructure Risk Score
20/100CRITICAL
Exposure Detected

High retry rates at this volume risk runaway billing loops. Local guardrails required.

Deploy BotGuardian OS$29
The Difference

Friday night with a runaway agent
vs. a guarded one.

Without BotGuardian$4,217.84 / mo
  • 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
With BotGuardian OScapped · audited · alive
  • 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
What ships in the OS

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.

from botguardian import guard
@guard(threshold=5.00)
def run_agent():
return openai.chat.completions.create(...)
ledger.sqlite · 1,284 calls logged

God-Mode Dashboard

Auto-generated visualizer for per-model, per-agent, per-hour spend.

GPT-4o62%
Claude24%
Llama14%

The Kill-Switch

Severs API connections and pings Discord the moment spend crosses your threshold.

BG
BotGuardianBOT12:04
Killswitch triggered
spend $5.07 · agent-prod-01

100% Local SQLite

Your prompts, your tokens, your spend — never leave your machine. Zero cloud latency, full audit trail, GDPR by default.

ledger.sqlite● local
ts
model
tok
usd
12:04:31
gpt-4o
412
0.0041
12:04:30
claude
1.2k
0.0186
12:04:29
gpt-4o
287
0.0029
── The Artifact

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
guardian@os · ~/botguardian
armed
$ botguardian watch --ceiling 5.00
[12:04:21] ledger.sqlite · session opened
[12:04:22] tracking PID 8492 (python3)
budget · live
[██░░░░░░░░░░░░░░░░░░]12.0%$0.60 / $5.00
$
guardian_core.pyarmed
dashboard_generator.pyarmed
killswitch.pyarmed
Field Manual · v1.0
BOTGUARDIAN OS
── SRE Edition ──
BG
Runtime Guardrails · Local-First · 87pp
30-second install

From zero to guarded
in three commands.

01

Install

One pip command. No accounts, no API keys, no cloud setup.

pip install botguardian
02

Wrap 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(...)
03

Ship with a safety net

Local ledger + dashboard + kill-switch — armed and watching, instantly.

$ botguardian dashboard --open
Compatible with
OpenAIAnthropicGooglexAIDeepSeekMetaMistralCohereAlibaba
get the OS
Field Reports

Trusted 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."
SF
Solo Founder
AI SaaS · Bootstrapped
"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."
BE
Backend Engineer
Side Project · Indie
"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."
IH
Indie Hacker
Weekend Builder
One Price · One Time

Cheaper than one bad night.

In stockBotGuardian OS · v1.0
$99$29
one-time · lifetime updates
  • 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
Secure My License — $29

pays for itself the first time an agent loops

Secure Stripe
Instant ZIP
30-Day Guarantee
FAQ

The fine print.