I've found agents is usually easier to improve when you write down exactly what changed between runs. Otherwise after a few attempts it becomes hard to remember which tweak actually helped. You can always make it more sophisticated once the basic version is stable.