The International Energy Agency warned that an energy transformation on the scale necessary would require “unprecedented” global cooperation, with wealthier nations helping poorer countries that lack the technological expertise or investment capital to decarbonize.