There needs to be a priority set for the bot to target mobs that are keepers of the guardian over attacking the animated guardian. As long as the guardian pack is alive the AG is invulnerable leading to either the bot timing out attacking invuln target, or dying.
In addition the animate guardian because it goes vulnerable afterwards needs to be attacked. i think if its possible to change it it should prioritize mobs with the Bearers of the Guardian mod until it cant find any in range, then attack any animate guardians in range. I dont know if its possible this way.