Search papers, labs, and topics across Lattice.
This paper outlines a phased workflow for operating LLM-based coding agents, emphasizing the importance of structuring human involvement to enhance reliability in coding tasks. By front-loading human effort and gradually increasing delegation as artifacts mature, the workflow addresses critical context management issues through four targeted strategies. The findings reveal that early errors in planning can significantly impact later phases, highlighting the need for human review to mitigate code bloat and fragility.
Front-loading human effort in LLM-based coding workflows can drastically improve reliability and reduce code fragility.
LLM-based coding agents combine a foundation model with a harness that shapes agent behavior. For non-trivial tasks, how practitioners structure their work with the coding agents determines whether reliable results follow. We report on a phased workflow for operating coding agents developed by the AI research team at Infobip. The workflow structures agent-assisted development into four phases where human effort is front-loaded and delegation increases as artifacts mature. Context management is the central concern, addressed through four strategies applied at each phase to counter known failure modes. From practitioner experience, we observe that upstream errors in research and planning can compound across later phases, while correcting generated code can introduce bloat and fragility. This motivates front-loading human review. We identify two open problems: the absence of metrics for workflow effectiveness and the gap between formalized context management components and the workflow-level patterns that practitioners need.