agree以下の主語がagreeする人達と同じときはagree to、違うときはagree thatの形をとります。
Japan and Turkey agreed that Iran should not possess nuclear weapons and that they will seek a solution to the problem through diplomatic not military means.
Japan and Turkey have agreed to strengthen bilateral cooperation in stabilizing Afghanistan and dealing with Iran's nuclear development problem.
The two forein ministers agreed that their countries will step up cooperation for Afghanistan by setting up joint working groups between their ministries.
The government has agreed not to apply its sanctions against North Korea to that country's woman soccer team, so that they can join in an international soccer tournament in Tokyo in February.