Sudan and South Sudan have pledged to cease hostilities along their disputed oil-rich border, but stopped short of actually signing an agreement, officials have said
The verbal agreement on Saturday came as the latest round of talks closed in the Ethiopian capital ahead of celebrations on Monday to mark one year of independence for South Sudan.
"We have agreed... to the unequivocal commitment of the two parties to never solicit force to settle their disputes and differences and to commit themselves to the cessation of hostilities," Abdelrahim Mohamed Hussein, Sudan's defence minister, told reporters.
The two sides also agreed "to strengthen [and] enhance the political will which is happily once more existing between the two countries."
The countries had resumed African Union-led peace talks on Thursday after negotiations adjourned last week without a deal.
The talks are expected to continue on Wednesday following the independence celebrations.
The two sides reached no agreement on a demilitarised buffer zone along the border in the latest round of talks, but Hussein insisted the "normalisation" of relations was the current priority for both countries.
"We are going to discuss all issues, security, economic, that includes trade and oil... and we have committed ourselves to resolving the border dispute."
- Pagan Amum, South Sudan Negotiator
"The demarcation of the [safe border zone] is not in itself an objective." he said.
"What we are trying to do to is normalise relations between the two countries."
Pagan Amum, South Sudan's chief negotiator, said he was pleased with the "new spirit" at the latest round of talks, and said his country was committed to improving relations with Khartoum.
"We are going to discuss all issues, security, economic, that includes trade and oil... and we have committed ourselves to resolving the border dispute," Amum said.
He said the disputed Abyei region would also be addressed and that both sides agreed on creating an open border to promote bilateral trade.
Chief mediator Thabo Mbeki, former president of South Africa, praised the two sides for their renewed commitment to peace.
"We are convinced... the approach that the parties have taken indeed creates the basis for a speedier resolution of these outstanding questions," he said.
This is the second time Khartoum and Juba have agreed on a cessation of hostilities since March, when they signed a non-aggression pact.
The deal was swiftly violated when fighting broke out in oil-rich Heglig, bringing the two rivals back to the brink of all-out war.
The UN passed a resolution in May giving the two countries three months to resolve disputes on sharing oil revenue and demarcating the border.
No concrete deals have been forged since talks resumed in May, but Hussein said they remained committed to meeting the August 2 deadline.
"We believe that we have addressed several issues contained in the resolution, and we are equally resolved to discuss the remaining issues while respecting fully the deadline," he said.
Neither side could confirm whether their leaders will meet at next week's AU summit in Addis Ababa, nor could they say whether Omar al-Bashir, Sudan's president, will attend Monday's independence celebrations in Juba, although Amum
said Bashir had been invited.