← statichum.studio

Per-Run Hard-Stop Token Budget Layer For Indie AI Coding Agent Subscriptions That Caps Catastrophic Loops Before They Eat the Monthly Quota

dev tool weekend hack ••• trending

Solo developers on Cursor Max and Claude Code Max plans report single agent runs eating 79% of their monthly quota in 90 minutes (Anthropic confirmed deliberate weekday-peak rate-limit tightening on 2026-03-26), with one Max 20x user watching usage jump 21% to 100% on a SINGLE prompt. The unmet need is a session-level fuse box: set a per-run hard cap of $X or N tokens or M minutes, hook into the Cursor/Claude Code/Aider process, and kill the run automatically before a runaway loop wipes out the rest of the month.

builder note

Distinct from the published 4/28 'Agent-DB Safety Gateway' — that's about prod DB writes. This is about the indie dev's $200/mo subscription getting nuked by ONE bad recursion. Build it as a Cursor/Claude Code hook or MCP that aborts on cumulative iteration count, not after-the-fact analytics. Ship before Anthropic/Cursor add it natively, because they will.

landscape (3 existing solutions)

Anthropic and Cursor confirmed in March 2026 that limits tightened on purpose and there's no roadmap for hard per-run caps. A third-party MCP/extension that intercepts agent loops and enforces user-defined fuses is a clean unaddressed niche.

Claude Spend (analytics-only) After-the-fact analytics. Tells you what burned but doesn't STOP the burn. By the time the dashboard updates, the quota is already gone.
Cursor's built-in usage meter Shows percentage used but no per-run cap. There's no 'kill this agent if it exceeds X iterations or Y dollars' setting. Users have to babysit.
OpenRouter / LiteLLM Solve for routing and cost tracking on API-direct calls. Don't help on subscription products like Cursor Max or Claude Code Max where the quota is opaque.

sources (2)

other https://www.macrumors.com/2026/03/26/claude-code-users-rapid... "Max 20x subscriber witnessed usage jump from 21% to 100% on a single prompt" 2026-03-26
other https://nicholasrhodes.substack.com/p/claude-usage-limits-fi... "Claude is burning through your limit faster than ever, Anthropic won't tell you why" 2026-04-10
ai-codingclaude-codecursorrate-limitagents