Developing climate-smart agriculture