09:29
2026-10-11
dev.to
ai-agents
My Subagents Were Eating 48% of My Tokens. So I Gave Them Hard Budget Caps ā Enforced by Hooks, Not Dashboards
A developer built subagent-budget, an open-source Python tool that enforces per-agent-type token and dollar budgets for Claude Code subagents via PreToolUse hooks, blocking over-budget launches with eā¦