Think about the feedback loop
Coding agents work best when there is a feedback loop that allows them to check their results In software engineering this typically means some sort of testing When working with your agent to add a new feature also work on the feedback loop the testing...