Agents work great for tasks that thousands of developers have done before. This isn't one of those tasks.

Unless you train them with RL in the right task specifically