You earn Precursor Orbs by completing challenges, finding them, and progressing through the game. There are 600 orbs total, and some are much harder to obtain than others.