Parallel agent pruning: codebase cut below 20k LoC in ~3 hours of agent work

YouJiacheng · x · 2026-11-30

YouJiacheng shares a multi-agent workflow: a subagent handled code pruning in parallel while the main agent optimized performance. After 3 hours of actual pruning work (5 hours wall-clock, with the first 2 hours done by the subagent), the codebase went from under 25k LoC to under 20k LoC — a hands-on example of shrinking code size with parallel agents.

Original post →

More from coding & agent

coding & agent channel →