North Korea announces agreement with South