In decades to come, African farmers may pool their money to buy small robot vehicles to weed their fields or drones that can hover to squirt a few drops of pesticide only where needed.

Smartphones already allow farmers in remote areas to snap photos of sick plants, upload them and get a quick diagnosis, plus advice on treatment.

Researchers also are trying to train crops like maize and wheat to produce their own nitrogen fertilizer from the air — a trick soybeans and other legumes use — and exploring how to make wheat and rice better at photosynthesis in very hot conditions.