In Sulawesi, Indonesia, forests and agroforestry near and on farms increases coffee fruit set (a proxy for yield) from 60% to 90% by supporting diverse bee populations.