In 1966, Abraham Maslow wrote that "it is tempting, if the only tool you have is a hammer, to treat everything as if it were a nail."
Agents are the most tempting hammer I've ever held. Someone with a big following posts "port it to Rust" or "verify it with Lean." I point my agent at it, go make coffee, and come back feeling like an expert. The agent did real work. Whether the work was worth doing is a different question, and I wasn't asking it.
A write-up on choosing which workflows to automate gave me that question. It opens with this: "A company can have 60 workflows that are technically possible to automate, but only five that are worth the investment." Here's how I've started turning it into a scorecard for my own work, my team's work, and what we build for customers.
Five measurements describe any workflow
Before proposing anything, measure the work as it runs today. The write-up names five measurements:
- Volume: how often it happens.
- Time: how much human effort each instance takes.
- Error rate: how often something goes wrong.
- Economic impact: what those errors, delays, or decisions cost.
- Variability: how much one instance differs from the next.
The first four set what the workflow is worth. The fifth decides how much of that worth an agent can actually deliver. Hold on to that one. It's where Deming comes back.
One equation turns them into a decision
The write-up gives a starting calculation:
Net benefit = V × c × p − O
- V is what the workflow is worth per year if an agent handled every case perfectly. It comes from the five measurements. Add volume × time × hourly cost, volume × error rate × cost per error, and any money recovered.
- c is coverage: the share of cases the agent can take at all. The rest go to a person.
- p is the success rate on the cases it takes.
- O is the yearly cost of running it: tokens, infrastructure, and human review.
Then compare the result with the one-time build cost, I. Payback in months is I ÷ (net benefit ÷ 12).
Here's the equation applied to one of the write-up's examples, recovering $400K of unresolved customer deductions. The numbers are illustrative.
Half the headline value is gone before anyone writes code. That's normal. Coverage and success rate are where pitches quietly round up.
For high-stakes work, count the cost of errors that slip through on their own line. A deduction the agent wrongly writes off can cost more than one it hands to a person.
Ranked, the hammer cases sink
Here is the same equation across five candidates, including the one I'd have chased on a slow afternoon. Every number is illustrative.
| Workflow | Full value (V) | Coverage × success | Run cost (O) | Net per year | Build cost (I) | Payback |
|---|---|---|---|---|---|---|
| Recover unresolved customer deductions | $400K | 80% × 75% | $40K | $200K | $80K | 5 months |
| Audit freight for wrong charges and needless expedites | $240K | 70% × 80% | $30K | $104.4K | $60K | 7 months |
| Automate 500 monthly reconciliations | $90K | 90% × 95% | $25K | $52K | $50K | 12 months |
| Draft replies to routine emails | $40K | 60% × 90% | $15K | $6.6K | $30K | 55 months |
| Port a working service to Rust because a thread said so | $20K | 100% × 70% | $10K | $4K | $120K | 30 years |
Sorted by net benefit, the order matches the write-up's advice: start where money leaks, and leave convenience for last.
The Rust port sits at the bottom with a 30-year payback. That's not because Rust is wrong. It's because nothing was broken.
If that service burned $500K a year in compute, the same row would jump near the top. The equation doesn't judge the tool. It prices the nail.
The criteria are the equation's inputs
The write-up ranks opportunities by risk-adjusted return, not hours saved. Its criteria map onto the equation almost one to one:
- Annual value, conservatively estimated is V.
- Implementation and operating costs are I and O.
- Time to measurable impact is the payback period.
- Technical feasibility and reliability is c × p.
- Consequences of errors is the separate error line.
- Reuse across other workflows spreads I over more than one workflow, so the second one pays back faster than the first.
It adds one warning I keep relearning: score feasibility separately from value. A workflow can be worth a fortune and still be a terrible first project.
Every input moves, so put them on a control chart
The equation looks like arithmetic, but c and p aren't constants. They wobble from week to week like every process in my last post. That's where statistical process control comes back in.
- Variability is the band. Chart the current process before you automate it. A wide band means many unusual cases, which means low coverage and a shaky success rate. Points outside the band are special causes. Fix or delete those first, because automating an unstable process only makes it fail faster. That's Musk's rule from my post on skills: automate last.
- The baseline is the chart. The write-up asks you to agree on a baseline, a target, and a measurement period before building. A control chart gives you all three. After launch, one good week proves nothing. A real gain shows up as a shift past the old limits, or a narrower band.
- The success rate gets its own chart. Track p weekly, with limits drawn from its own history. A model upgrade that quietly regresses behavior then shows up as a signal, not a hunch.
- Start halfway. The write-up suggests an agent that finds invoice discrepancies and gathers evidence, while a person approves the findings. That's also the honest way to measure p before you trust it.
How it's changing what I build
I've started asking for these five measurements before anyone on my team points an agent at something, and that includes me. The Rust ports and Lean proofs still happen. They just have to earn their row in the table first.
Our customers are building workflows too, and the same equation applies to them. It has changed how I think about Rote. Rote turns a successful agent run into a Play that is deterministic, cheaper in tokens, more secure, and easy to share across your team.
In this equation's terms, a Play works on two inputs. Replay skips re-exploration, which lowers O. A deterministic run narrows the band around p. That's the third phase of Deming's chart: change the system so the variation shrinks.
Ask whether the work should exist
The write-up ends with the question I now ask first: does this process need to exist in its current form at all? Sometimes the better move is to remove an approval, merge duplicate steps, or change how information moves between teams.
Its last line is my rule now: "I'd rather automate three workflows that materially improve a company's economics than thirty that merely make existing work a little faster."
The hammer will always be in my hand. The equation tells me where to swing it.