
Appearance
Detailed identification photos can be found here:http://www.waspweb.org/chalcidoidea/Megastigmidae/Megastigmus/Megastigmus_pistaciae.htm

Behavior
Diurnal.The larva feeds on the pistachio kernel and overwinters inside the infested nuts in the pistachio
orchards either on the trees or on the ground. This species has two generations in a year. The adult wasps lay a single egg inside the young fruits. The damaged fruits stop development and dries out.
Habitat
Pistachio plantationsFood
Parasite of Pistacia vera L, the Pistachio nut.Predators
Eurytoma is a natural enemy of Megastigmus pistaciae in its larval form.Also parasitized by Cyrtoptyx pistaciae
References:
Some text fragments are auto parsed from Wikipedia.
https://www.researchgate.net/publication/233501859_Pistachio_Seed_Chalcid_Megastigmus_pistaciae_Walker_Hymenoptera_Torymidae_in_Californiahttps://gd.eppo.int/taxon/MEGSBA
https://www.cabi.org/isc/datasheet/33124#toidentity
https://om.ciheam.org/om/pdf/c56/01600196.pdf