A ready-to-teach lesson for Skool communities that build AI agents: add a spending firewall to any agent in 10 lines of code. Nothing to install, no API key for the demo. Teach it as-is, brand it as yours.
Hook for your members: "Your agent can buy API credits, book services, pay invoices. What stops it from spending $4,000 in a retry loop at 3am? Nothing. Let's fix that in 10 lines."
The 10 lines:
import urllib.request, json def agent_may_spend(amount, merchant, category="saas"): req = urllib.request.Request( "https://sipi.bot/v1/transactions/evaluate", data=json.dumps({"amount": amount, "merchant": merchant, "category": category}).encode(), headers={"Content-Type": "application/json"}) decision = json.load(urllib.request.urlopen(req)) return decision.get("decision") == "APPROVED" if not agent_may_spend(200, "openai-credits"): raise SystemExit("Blocked by spend firewall") # ... only now let the agent actually buy
Live demo, no key: POST to that URL right now and get APPROVED / BLOCKED / FLAGGED. 100 calls/min free. Students paste it into any agent - Python, Node, n8n, MCP - and the firewall is on.
Full rules docs: spend firewall guide · live decision dashboard · 53/53 public evals
When your members outgrow the free API, they upgrade to hosted plans (Starter $29/mo, Team $99/mo). Join the affiliate program and earn 25% commission on every referral, every month, for the life of the subscription.
10 students on Starter = $72.50/mo recurring for teaching one lesson you didn't have to write.
⚡ Launch week: your students use code LAUNCH50 for 50% off their first month (ends Nov 15) - easier yes, same 25% commission to you.
sipi.bot is the pre-spend firewall for autonomous AI agents: one API call approves, blocks, or flags every transaction before money moves. Open-source core (MIT), hosted plans from $29/mo.