The agents didn’t “think” anything, they’re computers. Directions were given to them, and they followed those directions. That’s what computers do.
Ascribing autonomy to this is equivalent to me saying that the water in my toilet is sentient and autonomously delivers my shits to the sewage treatment plant.
Like, it does deliver my shits to the sewage treatment plant on its own, but that doesn’t mean that the water has autonomy. The water is behaving in exactly the way you’d expect it to if you had clear understanding of what water is/does, the context that this specific water is contained within, and (most importantly) the external factors dictating the direction of the water.
Me flushing the toilet in this scenario is equivalent to some dumbfuck at OpenAI pressing enter on the prompt that resulted in this situation.
Intentional or not, the outcome is wholly predictable when you understand the elements involved.