Researchers have developed a machine learning-based method to identify chemical compounds that can safely repel honey bees from pesticide-treated crops.