Large language models equipped with development environments have shifted code generation from single files to entire repositories, according to a new arXiv paper. However, the abstract notes that constructing complete repositories is still difficult.
The challenge lies in interacting modules and interfaces, which require coordination beyond isolated code generation. The paper's proposed solution is 'agent-native reusable code primitives'—though the abstract does not detail how these primitives work.
By framing repository engineering as a problem of reusable primitives, the work points toward more modular and maintainable AI-generated codebases. The abstract stops short of presenting results, so the effectiveness of the approach remains to be seen.