Earlier is better
Newest recommendation is early introduction of peanuts, tree nuts like cashew & hazelnut, seeds, and seafood.
But it's not enough to try these foods at an early age. They must become part of the diet
to develop and maintain tolerance to them. Also everyone is different. Early introduction of highly allergenic foods like peanut will reduce food allergy
in the population but it won't eliminate it.