The main villain is an AI that connects itself to the internet to learn of humanity, and instead of becoming a walking meme becomes a cynic who believes that the best way to protect humanity is to encourage(force) them to evolve or eliminate them altogether. Following that logic the villain seeks support in the beliefs of his creators, occasionally with biblical allegory, sometimes with puppetry metaphor in response to his creation, all while never sounding pretentious or overly pompous.
Ultron is written in such a way that Tony’s playfulness and snark is present, but covering a cynical, megalomaniacal consciousness with an intimate knowledge of history, and media, led by mechanical logic and the rage of a spurned creation. Believe it or not, he’s more ‘poetic’ than Loki by a mile.