The fighting, with light and heavy weapons, occurred in the El Jebs district in the city's south.
An AFP journalist heard gunfire and explosions around 1:00 am Saturday (2300 GMT) in the city.
The fighting, with light and heavy weapons, occurred in the El Jebs district in the city's south, media reports said.
Tensions have been rising for months in Libya as two prime ministers vie for power, raising fears of renewed conflict two years after a landmark truce ended a ruinous attempt by eastern military chief Khalifa Haftar to seize Tripoli by force.
Saturday's clashes were between armed groups loyal to Prime Minister Abdulhamid Dbeibah, head of the unity government based in Tripoli, and others following his rival Fathi Bashagha, named in February as prime minister by a parliament based in Libya's east after he made a pact with Haftar.
Prime Minister Abdulhamid Dbeibah addresses a press conference. File photo
The fighting ended when another group called the 444 Brigade intervened to mediate, according to Libyan media. There were no immediate reports of casualties.
Bashagha has failed in his attempts to oust Dbeibah, who has repeatedly asserted he will only hand over power to an elected government.
Tensions between armed groups loyal to the rival leaders have increased in recent months in Tripoli. On July 22, fighting in the heart of the city left 16 dead and about 50 wounded.
Dbeibah's Government of National Unity was appointed as part of a United Nations-backed peace process to end more than a decade of violence in the North African country.
The transitional government had a mandate to lead the country to elections last December, but they never took place due to divisions over the rules and the presence of controversial candidates.
Libya has been gripped by insecurity since a NATO-backed uprising toppled and killed dictator Moamer Kadhafi in 2011, leaving a power vacuum armed groups have been wrangling for years to fill.
An air strike late on Tuesday hit a detention centre for mainly African migrants in a suburb of the Libyan capital of Tripoli, killing at least 40 people and wounding 80, a health official said.
Rockets hit a luxury hotel in Libya’s capital, Tripoli, early on Friday in an attack the internationally recognised government blamed on eastern forces trying to capture the city.
Libya’s Coast Guard said late on Thursday it had picked up 493 migrants on six inflatable boats in six operations in a week in areas northeast and northwest of Tripoli, the capital.
The firm, Znera Space, which specialises in radical architectural marvels, said that a giant ring-like structure known as the Downtown Circle will encircle the Burj Khalifa.
His Highness Sheikh Mohammed Bin Rashid Al Maktoum, Vice President and Prime Minister of the UAE and Ruler of Dubai, on Friday (August 19, 2022), on Instagram said that they would fill the UAE’s history books with accolades and achievements, and that the UAE would be on the world stage engaging with people from all walks of life, affirming that as it had succeeded in the past, it would do in the future.
Nowadays people from different backgrounds around the world are accomplishing unique goals like ‘Around The World In 80 Days’ and receiving praise from different segments of society.