Egypt's military chief, Hussein Tantawi, held talks with Libyan leaders Monday, on his first official visit since he took charge after a popular uprising forced president Hosny Mubarak to step down in February, DPA reported.
Upon his arrival, Tantawi met the head of Libya's ruling National Transitional Council, Mustafa Abdul Jalil, and held talks with Libyan Prime Minister Abdel-Rahim al-Keeb.
Al-Keeb stressed that all investments made between Egypt and former Libyan leader Moamer Gaddafi would stay as they are, if they brought benefits to both countries.
"For investments (in Egypt), everything that is successful, or can be made successful, we will carry on with," Al-Keeb told reporters after talks in the Libyan capital with Tantawi.
"Our meeting was conducted in an atmosphere of friendship and we agreed on a better relationship based on respect and in the interest of both peoples," he said, adding that the focus had been on security and on Egyptian workers in Libya.
Despite tight security around the central Tripoli hotel where the talks were held, a group of Libyan protesters managed to enter, with placards demanding that Cairo return to Libya loyalists of the former regime who are living in Egypt.
"I personally raised this issue and asked the Field Marshal (Tantawi) to help us protect our country," said Al-Keeb.
The two sides were expected to sign agreements on labour, oil, communication and education issues.
Tantawi was leading a delegation of members of the ruling Supreme Council of the Armed Forces, including the ministers for foreign affairs and oil.
Thousands of Egyptian workers were forced to leave oil-rich Libya because of the revolt against now-slain leader Moamer Gaddafi that began in February.