Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

We gave our AI agent fleet a credit limit, and it hit it the same day

说明与用途

系统通过将事件日志重放到分类账并应用滚动预算阈值,自动限制了自治代理的支出,防止了超支。

问题

Uncontrolled AI agent fleet spending exceeded budget, risking runaway costs.

结果

The system automatically prevented overspending by throttling new work once a rolling 5‑hour budget was exceeded, providing audit trails, real‑time alerts, and a fail‑open design that avoided paralysis.

工作流

  • 1. Replay board events into three hledger journals (money, promises, labour).
  • 2. Validate ledgers with hledger check and independent replay for parity.
  • 3. Compute rolling 5‑hour labour spend per mind using mesh‑labor.
  • 4. Price spend via token‑to‑USD rate table (mesh‑ledger).
  • 5. Monitor spend against configured cap with mesh‑labor‑alert (edge‑triggered).
  • 6. When spend exceeds cap, mesh‑pace throttles new task dispatch until spend falls below threshold.
  • 7. Operators can manually raise cap or bypass throttle via dedicated channels.
  • 8. Ensure environment variables for cap are sourced in all entry points to avoid stale values.

证据

The board gets replayed into three separate double-entry hledger journals, each tracking a different commodity: money, promises, labour.

来源

mesh‑pace reads that rolling spend and, once it crosses the cap, holds every dispatch of new board work.

来源

  • 记录日期: 2026-09-15T06:15:34.931Z