Several hypotheses should be examined to form a solution. One solution could be supporting the Libyan army, which is trying to control the country's east, and isolating the militants in the south, while luring the moderates with significant political and economic gains to engage in the war against extremists.
Moreover, Egypt, Algeria and Tunisia should coordinate to increase control over their borders and prevent the militants from moving to and from south Libya. An Arab-African force under the command of the Libyan army should be formed to quickly intervene in Libya, and a national Libyan [political] initiative that includes all parties should be launched.
Its absolute priority should be to maintain stability and security and restore the state’s regular tasks. The division of power among regions and parties can only happen when an authority capable of protecting shared wealth is established.
Perhaps the Libyans and Arabs should realize that the world can live normally while catastrophes wreck their countries. The world can protect itself from their dangers, which would only harm them at the end of the day. In these tough times, the Arab League is trying to address the Libyan challenge, and perhaps its support for the Tunisian-Egyptian-Algerian effort is its best shot to save Libya and the Arab world from an obvious and imminent disaster.