US President Donald Trump and North Korean leader Kim Jong Un signed an agreement at the conclusion of the historic summit.