Repository Planning Graph (RPG) proposes structured planning for repo-scale code generation

burkov · x · 2026-11-30

Generating a full software repository from a high-level request remains far harder than writing isolated functions. The article identifies a central cause: coding agents rely on free-form plans that turn ambiguous and inconsistent as projects grow. It proposes the Repository Planning Graph (RPG), which models capability hierarchies alongside file organization, functions, and data flows, keeping features, files, interfaces, and dependencies connected throughout generation. ZeroRepo is built around it: organize requested features first, then map them to files and interfaces. The goal is testing whether structured planning improves breadth, correctness, and scalability of from-scratch code generation.

Original post →

More from coding & agent

coding & agent channel →