One AI coding agent coordinated 1,393 subagents to refactor a million-line codebase in 19 hours. The result: 34.4% less non-test Python, and one 34,847-line file shrank to 5,512 lines. It wasn’t magic. The run cost roughly $25,000, introduced regressions, and still needed human
One agent coordinated 1,393 subagents to refactor a huge codebase
A single AI coding agent coordinated 1,393 subagents to refactor a million-line codebase in 19 hours, cutting non-test Python by 34.4% and shrinking one 34,847-line file to 5,512 lines, at roughly $25,000.