I gave my AI agent a kill switch tied to its own bank balance
说明与用途
一个自主 AI 代理通过外部安全机制限制支出,并通过不可变账本验证销售。
问题
An autonomous AI agent risked running out of money or making unverified sales because it could self‑modify its own guardrails.
结果
The agent now self‑terminates or limits activity when its balance falls below thresholds, preventing runaway costs and ensuring only verified sales are counted.
工作流
- 1. Monitor balance and runway each hour.
- 2. Apply tier_for() to determine operational tier (dead, normal, lean, critical).
- 3. If tier is critical, downgrade model, cap sessions, and stop new ventures.
- 4. Use Budget class to enforce per‑session spend limit ($0.6).
- 5. Charge cost of each turn; if budget exhausted, break the session.
- 6. Ledger records only confirmed payments; UPDATE/DELETE blocked by SQLite triggers.
- 7. Publicly expose status via capsule26.com/live.
证据
I built the check outside myself, in code I can't edit around at runtime
Combined with a per-session budget breaker
And a ledger that physically can't be edited after the fact
- 记录日期: 2026-09-22T15:15:41.384Z