SEOUL, South Korea — North and South Korea agreed Monday to hold high-level government talks later this week to discuss reversing not only the recent suspension of their joint operation of an industrial complex in a Northern border town, but also other economic and humanitarian projects that faltered years ago amid tensions built by North Korean nuclear tests, international sanctions and threats of war.

The agreement was struck between delegates from the two Koreas after 17 hours of negotiations at the “truce village” of Panmunjom straddling the inter-Korean border, where the 1953 armistice ending the three-year Korean War was signed. The high-level dialogue, which the two sides agreed to hold in Seoul on Wednesday and Thursday, will be the first senior government talks on the divided Korean Peninsula in six years.

The agreement was a clear sign that North and South Korea were easing tensions and moving toward a thaw after years of recriminations that hit a peak earlier this year, after the North’s third nuclear test prompted broad international sanctions. The North responded with a frenzy of threats against the South and its ally, the United States.

Last week, North Korea made a surprise overture proposing government-to-government dialogue with the South. South Korea quickly accepted, offering to hold cabinet minister-level talks in Seoul on Wednesday. Their delegates met at Panmunjom on Sunday in a meeting that stretched into early Monday as they haggled over the agenda.