Trellis: Bringing Compiler-Guided Repair into Agentic Code Generation
14 May · Alexander Du, Jianjun Ou, Danyang Zhuo +1 · arXiv:2605.15238
Coding agents regularly generate programs that do not compile and require substantial tokens to repair. Yet most repairs are small and local to the edit that caused them. We present Trellis, a system that integrates incremental compiler feedback into code generation to improve code correctness while controlling repair costs. Trellis uses rollback-based search for targeted repair and asynchronous checking and…