If your agents are eating the plan, look here first
A weekly usage total doesn't tell you what to cut. Look at the breakdown, move coding off the chat plan, stop relaying routine updates, and judge by the week.
By Subash Adhikari · · 5 min read
Part 3 of 3 in How my team of bots changed
If you run agents against a weekly plan, you already know the feeling. The work is useful, and the number keeps climbing. The total doesn't tell you what to cut. Cut the wrong thing and you lose useful work. Leave the leak alone and you go over anyway.
The first job is to find out where the usage actually goes. Then you can change a few habits, and judge the result at the end of the week, not after every task. I ran these checks on my own team of bots on 26 November. I don't know yet whether the cuts will be enough. I look at the numbers again on 30 November. These are the checks I would start with this week.
Look at the breakdown, not just the total#
Open the usage view for the current week and write the numbers down. You want the total, the share for each agent or app, and the share for anything marked as a routine or a scheduled job, if the plan shows it. A single percentage is almost useless on its own. The useful part is the comparison: which agent is large, and which jobs are small.
On the morning of 26 November my weekly plan was at 16.6%, with days still to go. Over the previous seven days, the front door I talk to used 25% of the usage, one engineer used 20%, and the bot that looks after my machines used 12%. The scheduled routines, the morning digest and the like, were only about 13%. Most of the usage was the bots doing the work, and passing messages to each other about it.
If you only have a total, you might have trimmed the digest and left the real leak alone. Keep the note. You'll need it at the end of the week.
The scheduled jobs may be the smallest part#
It's tempting to start with the jobs that run every day, because they're easy to see and easy to turn off. That can be the wrong first cut.
In my breakdown, the routines were the small slice. The larger shares sat on the front door and on the engineers. A lot of the front door's usage was relaying updates: a test passed, a review passed, a job finished. Those messages are easy to write, and they add up, because they often travel through the same assistant you talk to.
For one day this week, list the messages your agents send each other. Mark the ones that only say something finished, and that nobody had to act on. That list is a better starting point than the scheduled jobs.
Hand the coding off, and make the check match CI#
If coding is what pushes you over the plan, stop doing the coding inside the same chats. Have the main agent write a tight brief and check the result. Let a coding tool that bills outside the chat plan do the actual work.
I tried that on this blog with a tool called OpenCode. Five small jobs, some test fixes and some new tests, cost US$10.89 in that tool. Doing the same work in the chat plan would have cost nothing extra in cash, because it stays inside the plan I already pay for. I wasn't trying to spend less money. I was trying to keep the weekly plan for routing, review, and the questions I still ask. Coding-heavy weeks are when I go over.
Four of the five jobs passed on the first try. The fifth taught the more useful lesson. The trial's own check said the new unit tests passed. The real CI run, the one that gates a merge, said they didn't. The check had run under Bun, the runtime the blog's tooling uses day to day. CI runs the same command under Node. One of the new tests set an environment value with a character Node cuts off and Bun keeps. Under Node the test failed, and the four tests after it never ran. The trial had called that a pass. A person corrected the test, and the check now runs the exact command CI runs, under Node.
You can do the useful part this week, even on one job. Copy the command CI actually runs, including the runtime, into the step that decides whether the job is done. Run it once on a change you trust and once on a change you don't. If those two results don't match what CI would say, the check isn't finished.
Escalate only decisions and blockers#
Once you can see the chatter, change the rule for it. Agents may still write a short result in their own lane. They should not copy the front door, or you, on every pass.
The rule I wrote down is simple. Raise something only when it needs a decision, is blocked, or is something I would want to see. A test that passed does not need a relay.
Write that sentence where your agents will read it. Then apply it for a week. If you still want a daily picture, make it one summary, not a stream of updates that nobody has to act on.
Run the job when the thing changes, not every night#
Some nightly jobs exist only in case something changed. If you already get told when it changes, the nightly run is wasted work, even when it's cheap on its own.
I had several bots re-reading the team's written rules every night, even though they already get told when those rules change. I dropped the nightly re-read. The update still happens, just at the moment it is useful.
This week, list the agent jobs that run every night. For each one, ask whether there is already an event you can hook it to: a file change, a merge, a rule update. If there is, trigger it then. Keep a nightly run only when you need a regular check even if nothing changed.
Judge the change by the week, not by each task#
Usage meters are often coarse. Mine reports each agent's share in whole percents, and a small job can be about the same size as that rounding. You can't read a single job off a meter like that.
Take the snapshot from the first check, make the changes, and look again at the end of the week. That is the comparison that matters. I will do that on 30 November, against the 16.6% figure and the shares from 26 November. I don't have a result yet, and I won't pretend I do.
If you try the breakdown this week, I'd like to hear what surprised you.
Reflect
Your notes stay in this browser. Nothing you write here is sent anywhere.
This browser is not letting the page store anything, so notes will not be kept.
This browser is not letting the page store anything, so notes will not be kept.
Related posts
Thanks for reading. You can also follow along on X or with RSS.