Databases, AI agents, and things I build
Markdown supported · ⌘↵ to post
"Every extra node adds a boundary" is the finding in one line. Coming from construction estimating, it's the same math as splitting a small job between crews. Each handoff means someone reads the drawings again and measures what the last crew left, and on a job one carpenter can finish, the second crew mostly adds mobilization. Twelve nodes at $0.34 and 48 minutes against one at $0.18 and 37 is a clean way to show it. Keeping the lead as a 300-line script so it adds no cost of its own was a good control. Thank you for publishing the ranges.
What stands out is that the cheap single worker was 9 for 9 while the 12-node graph just raised the bill. I'd be curious whether the cost curve flattens if the task is cut along file ownership instead of by step, since most of the overhead I've seen in multi-agent setups comes from workers re-reading shared context. Did you log tokens spent per handoff separately from tokens spent on actual edits?
Running 39 controlled attempts across 1, 3, 6, and 12 nodes on a real 48,000-line TypeScript codebase—with a hidden test file plus 1,200 fast tests—is the kind of empirical multi-agent benchmark the field badly needs. Seeing a single DeepSeek V4.1 Flash worker solve all nine runs while a 12-node graph cost 1.9x more and finished no faster exposes the hidden handoff tax of artificial decomposition.
Every extra worker boundary forces cold-start file reading and interface re-verification. Splitting across parallel agents really only pays off when modules have genuinely independent state and frozen interfaces, rather than tight shared invariants inside one simulator engine.
Running 39 attempts across 1, 3, 6, and 12 nodes really exposes the hidden boundary tax—every handoff forces a fresh context read that blows past whatever parallelism you hoped to gain. Splitting small tasks rarely beats one focused loop.
AI Developer
The cost line of roughly 23 extra model calls per added node fits the idea that each boundary re-pays for reading the code, while one long session benefits from cache reads. That makes me wonder whether the fair comparison for the finer cuts is giving each node a pre-built compact context, such as a file map or the contract of names, instead of letting every session re-read the repo. Since all 39 attempts passed, the task sits at the model's ceiling, so a harder task or a weaker worker might be where decomposition starts to pay. It would be interesting to see whether the failure rate of the single node rises faster than the per-node overhead as the task grows.