Carney reached the agreement Friday with Chinese President Xi Jinping, capping an intensive six weeks of talks.