Nanjing and Bandar Seri Begawan, the capital of Brunei, signed an agreement to extend their sister-city relationship.