Age of Ultron Had No Set Up?

No.87275219 ViewReplyOriginalReport
How was Age of Ultron set up before it happened? Seems like Ultrons AI was introduced and then went suicidal because reasons.