My agents were burning through two subscriptions
- agents
- claude-code
- costs
This week, at Manh Nguyen’s suggestion, I took a close look at something I hadn’t checked in a long time: what my agents load into memory before they even start working. I had just burned through about two weeks of quota in eight days, across two Claude Team Premium subscriptions (I can burn through a Claude Max subscription in two days).
The cause wasn’t one project too many or a session running away. For a few weeks, I had been ramping up automation: “pilot” agents move my projects forward in the background, launch executors and check their work. Over one week, that adds up to about 1,900 sessions, including 722 background tasks. Automated sessions account for 74% of usage; my own working sessions, about 25%.
What costs money is the number of sessions, and what each one drags along at startup:
- A starting context that’s too heavy. Every session started with about 95,000 tokens of instructions, memory indexes and tool lists, reread on every call. Background tasks inherited all of it. This fixed prefix accounts for about 64% of raw tokens. Launched with local settings only, the same job starts at 42,000 tokens instead of 93,000.
- Governance costs more than the deliverable. In the project pipeline, the code and data delivered account for about 24% of tokens; orchestration and checks (plan verification, status scripts, reports), about 40%. Every call to a check script rereads the entire context.
- Empty restarts. A watchdog was restarting agents every 4 to 5 hours for the same unchanged cause: 142 restarts out of 153.
What I ruled out: failed tests, wait loops, hooks and n8n (about 8% of usage) aren’t to blame.
The fix comes down to one decision: project orchestration now has its own configuration, with as little context as possible. An agent moving a project forward doesn’t need to know all my conversation rules. On top of that come deduplicated restarts and precomputed state, so a pilot that restarts doesn’t have to reorient itself from scratch. I’m expecting a 30 to 40% drop; I’ll publish the measurement.
The lesson: in an autonomous multi-agent system, what each session loads at startup weighs much more heavily, because that cost repeats with every session. You also shouldn’t neglect regular reviews of the context and the harness: we keep things moving, we build tools, rules, skills, MCP servers… Maintenance becomes necessary.