Sudan's feuding political parties reached an agreement Sunday that would end the nation's 2-week-old political crisis, exclude radical Moslems from the government and bring hope to hundreds of thousands of starving people in the war-torn south.

The agreement, backed by some 30 political parties, trade and professional unions, came hours before a news conference, when Prime Minister Sadiq Al Mahdi was expected to announce he was dissolving his two-party coalition government in which the fundamentalist National Islamic Front plays a major role.It remained unclear whether Sadiq, the spiritual leader of 2 million Ansar Moslems in his own Umma (nation) Party, would resign. He had promised to quit if he did not receive by Sunday a public statement of support from the military.

The military high command sparked the crisis Feb. 20 by demanding that Sadiq broaden the base of his government and bring in parties favoring peace with the rebels and adopt a more moderate foreign policy, reversing a perceived shift toward Libya and Iran.