When Iron Man decided to retire from the hero business, he did not want to let his legacy end with him, so he designed an android patterned after his Iron Man armor.
Mainframe soon became more than just a high-tech hero to his teammates, he became a friend.