In the Avengers: Age of Ultron,
after the Scepter is first retrieved from Sokovia, Jarvis studies the mind stone within the scepter, and Tony Stark shows Bruce Banner a 3D projection of the mind stone's consciousness. When Stark and Banner try to create an interface to the mind stone's consciousness, the side effect is that the mind stone somehow turns the then potential Ultron into something unintended. ... So the implication is that Ultron is a manifestation of the mind stone.
But later in the movie,
after Ultron and Dr. Cho create a new body for the mind stone, and after Jarvis is uploaded into the body, Thor uses his hammer to bring the body to life in the form of The Vision, which also seems to be a manifestation of the mind stone. If the mind stone is so universally powerful, then why are its two manifestations at war with each other? Why are Ultron and The Vision not of the same mind about things?
The Vision
has the power to reach into a (later) weakened Ultron and purge Ultron's presence all across the internet, and then to destroy the last remnant of Ultron via thought power at the end of the movie, indicating that they both are based on the same power.
Is the explanation that,
while the mind stone cannot be contained, it can be wielded to one extent or another, and that more than one entity can wield the mind stone's power at the same time? So that Ultron is Stark's vision of the mind stone, while The Vision is Thor's vision of the mind stone, and ultimately Thor is able to create and wield a more powerful vision of the mind stone that Stark is able to wield? Perhaps the mind stone's power comes from the same place the Thor's hammer's power comes from?
Can someone who knows this please explain it, along with some references? My theory above is just from watching the movies.