Mani was born in Babylonia in about 216, in the territory then passing from Parthian to Sasanian rule, and grew up in a Jewish Christian baptising community usually identified with the Elchasaites. He reports two revelations, at twelve and at twenty four, from a being he calls his Twin, his heavenly counterpart, who disclosed to him the true nature of the world and commissioned him to preach. He left the community, which had rejected his teaching about ritual washing, and began a mission that took him to India and back and eventually to the Sasanian court.
He treated the fate of earlier revelations as a problem to be engineered around. Zoroaster, the Buddha and Jesus had all, in his account, taught the truth, and in every case their teaching had been corrupted after them because they had left the writing to their disciples. So he wrote his own: a Living Gospel, a Treasure of Life, a Book of Mysteries, a Pragmateia, a Book of Giants, and a body of letters, together with a picture book so that those who could not read could see the cosmology set out.
He also built a religion designed for translation. It presented itself as the completion of whichever tradition it met, so that in the Roman west it spoke Christian, in Iran Zoroastrian, and in Central Asia and China Buddhist, and its texts were rendered into Syriac, Greek, Coptic, Middle Persian, Parthian, Sogdian, Uyghur and Chinese. That flexibility is why it travelled so far and part of why it was so widely persecuted.