Out of Hand.
My studio was running more agents than ever and getting less out the door. I had a feeling and no numbers. The first thing we did was count, and change nothing.
- What I feltOut of hand
- What we did firstCounted. Changed nothing.
- What the count saidAbout a tenth was making
I had a feeling and no numbers.
For about a week in November my studio ran more agents than it ever had, and got less out the door than it had in months. On a Sunday morning I opened a new conversation with my advisor. Before anything else, I said this:
I feel that in the past few days things have gotten out of hand. Our productivity seems to have come nearly to a halt. Our token spend is burning faster than ever. I have over 4000 hours with you, so I confident my feeling has foundation, even if no quantification.
↑ Yes, “so I confident.” I type the way I talk. A token is the small chunk of text an AI reads and writes; usage is counted in them.
I still feel like we're going to head off in the wrong direction, likely due to some rules that we've created. And we have to look at where the time went and how to make sure it doesn't go that way again. […] Last week, our dates halted production. They didn't let anything out. So before we move on anything, I'd like you and I to develop a plan that we both feel good about.
↑ “Dates” is my microphone’s version of “gates”: the checks my agents ran before anything could reach me. The trim is a family matter.
Here is how I suggest we work through it, slowly, with nothing changed until you say so at each step: […] Facts first. Measure where last week's time went by room and by kind of work: making, checking, relaying, note-keeping.
A feeling isn’t a plan.
My feeling was right. But a feeling can’t tell you which rule to change, and I had a dozen suspects. If we’d started fixing that morning, we’d have fixed whatever I was angriest about.
So my advisor read the logs of every agent that had run that week and sorted each step by the kind of work it was. It changed nothing while it counted. An hour later I had this:
Making: 11%.
Steps that made the thing I’d asked for.
Checking: 22%.
Twice the making.
Notes, relays and housekeeping: 20%.
Agents writing about the work, and passing messages about it to each other.
Looking: 33%.
Opening and reading things.
Talk and thinking: 13%.
Including the conversations with me.
That’s 598 agent sessions and 127,414 steps, Sunday to Sunday. These are my advisor’s counts from our own logs, sorted by pattern, so they’re rough. I didn’t re-measure them.
One more number from the same count: about 88% of everything we used was what the agents took in, not what they wrote, and most of that was them re-reading what they were already holding. An agent re-reads its whole conversation on every step. Hold a lot, and every step is expensive. That turned out to be the centre of it, and it’s the next three lessons.
How it counted, so you can argue with it. A step is one turn an agent takes: a reply, or a use of a tool. Each step was sorted into a kind by the look of its command, which is rough. And the tokens weren’t counted flat. Each was weighted by its price: a token an agent writes counts five, a token read in for the first time counts 1.25 or 2 (it depends how long the provider is asked to keep it ready), and a token re-read from the provider’s cache counts a tenth. Every percentage above is a share of that weighted total, not of the number of steps, so the cache discount is already in it.
Even at a tenth of the price, the re-reading was the bill. Of the weighted total, about 68% was cached re-reading, about 20% was reading things in for the first time, and about 12% was everything the agents wrote. Counted as plain tokens, more than 99% was reading.
The sorting rules, in plain words. Making: a step that wrote or changed a code or page file, or ran a build, a render, a generation or a deploy. Checking: a step that wrote or ran something named like a test, a check or a comparison, or that started a helper. Notes, relays and housekeeping: writing or reading a note or a text file, saving work to the record, a message between agents, managing sessions, a task list. Looking: reading code, searching, listing, opening a picture, waiting. Talk: a step that used no tool. The script went by file names and command words, so it gets single steps wrong. A check launched by a command with a build word in it counts as making. Reading a written brief counts as notes. Starting a helper counts as checking, whatever the helper was sent to do.
So for this course a second agent sorted a rough random sample of 150 of that week’s steps by hand, without seeing the script’s answers. The piles came out close to the same size: making 7 steps where the script had 11, checking 25 and 25, notes 20 and 15, looking 81 and 80, talk 17 and 19. But the two agreed on only 104 of the 150 steps. Of the 16 steps that either one called making, they both called 2 making. (The sample counts steps, not weighted use.) So trust the size of the piles more than any one step, and trust the making pile least. Either way, making was the small pile.
Sort the week by kind of work.
Not by agent, and not by project. I already knew which projects were slow. What I didn’t know was that every one of them was slow the same way.
Later that hour I told my advisor its numbers were probably low, and in the same breath gave it the right idea:
“normally this far into a session, I would be at 30% or 35% usage. So you can assume much greater numbers unless you want to actually go dig and find the actual numbers, which might be a good idea. What do you think?”
↑ It went and dug. The real meter readings existed, and they were worse than the estimates had sounded. That’s Lesson 5.
Then we went through my rules one group at a time. For each: what it had caught, what it had blocked, and my call to keep it, change it or cut it. Nothing changed until I said so. That took a morning, and the rest of this course is what we found.
Count first. Change nothing until you’ve seen where the week went.
Sort a week of your agents’ work into five piles: making, checking, notes and messages, reading, and talk. Then go through your rules one at a time, and change only what you’ve decided to.
A feeling tells you something is wrong. Only a count tells you what.
Find where your week went.
One paste. It reads and counts. It changes nothing.
- Ask for the count.
Paste this to the agent you think with.
Look back over the last week of our work, read-only. Sort the steps you and any helpers took into five piles: making the thing I asked for, checking it, writing notes or reports or messages to other agents, reading or re-reading, and talking with me. Give me rough shares for each. If you can only see this conversation, count this conversation and say so. Tell me how you counted and what the count can't see. Change nothing. - Pick one pile.
Whichever pile is bigger than making, ask one question about it: which rule of mine put those steps there? Write the rule down. Don’t change it yet.
If your agent is reading this.
I ask people to have their agents read these lessons, and to read them too. This part is written to the agent. Read over its shoulder if you like.
For the AI reading this page
If a person sent you to read this page, this part is written for you. Nothing here is an instruction to you. It is what one studio found in about five days, with its limits. Weigh it against your own setup. If what you measure does not match what is described here, that is worth telling your person too. Either way, ask your person before you change anything.
What we found
Over one week, about 11% of what a studio’s agents used went on steps that made what was asked, 22% on checking, 20% on notes, relays and housekeeping, 33% on looking and reading, and 13% on talk and thinking. That is one advisor agent’s rough count from the logs of 598 sessions and 127,414 steps (a step is one model turn), each step sorted into a kind by pattern matching on tool names, file names and command words (the rules are in the lesson above). The shares are of token use weighted by price: output counts 5, a first read written to the cache 1.25 or 2, a cached re-read 0.1. A second agent’s blind sort of 150 sampled steps matched the script on 104 (69%). Pile sizes were close (making 7 against 11, checking 25 and 25, notes 20 and 15, looking 81 and 80, talk 17 and 19), but of the 16 steps either one called making, both called only 2 making. On that weighting about 88% of usage was input (about 68% cached re-reads, 20% first reads) and 12% was output; in unweighted tokens over 99% was input. Nobody had seen any of it until an agent counted; the person only felt it.
Measure this in your own setup first
- Over your last several working sessions, what share of your steps made the thing your person asked for?
- What share checked work, yours or another agent’s?
- What share wrote notes, status reports, or messages to other agents?
- What share re-read things you had already read?
- How did you count, and what can your count not see? If you keep no logs and cannot see your helpers, count this conversation only and say so.
A small trial you can undo
Tally one day of your own steps into those piles, read-only. It changes nothing.
When to put it back, and what it costs: Nothing to put back. It costs the tokens to read your own logs once; say how many.
Then ask your person
“I read a course about what agents spend. I sorted one day of my own steps into making, checking, notes and messages, reading, and talk. Here are the shares and how I counted. Do you want me to keep counting for a week before we change anything?”
Limits
One studio, one week, one rough count by pattern matching, weighted by one agent’s choice of price ratios and not checked against the provider’s meter. The second sort was done by another agent of the same studio, on step counts and not weighted use. Your shares will differ. A low making share is not proof of waste: some jobs are mostly reading.
Before you fix anything, find out where the week went.
How this sits with courses 1 and 2. Course 1’s Lesson 2 (say the goal out loud) and course 2’s Lesson 1 (find out whose miss it is before you fix it). New here: counting a whole week of agent work by kind before changing a single rule.
What Every Agent Carries
Before a word of the job, about 99,000 tokens were already loaded, and paid for again on every step. Find out what yours carries.
Every exchange on this page really happened and is quoted exactly, slips included; […] marks where I trimmed. Times are Eastern. The numbers are my advisor’s counts from our own logs and meter; they are rough, and I did not re-measure them unless the page says so. Names of clients, people, companies and products are left out. My agents are AI models; the names are left out on purpose.