Blasts were heard at the headquarters of the National Oil Corporation (NOC) in the Libyan capital on Monday and a security operation was under way at the building, a Reuters witness said.
Smoke could be seen rising from close to the NOC offices and security officials said they were attempting to deal with militants believed to have attacked the building.
The chairman Mustafa Sanallah was safely evacuated, a Reuters witness said.
Sanallah could be seen being driven away in a car.
Security forces took up positions around the offices in central Tripoli and surrounding roads were cordoned off.
A Reuters witness saw ambulances leaving the site. A member of staff from a hotel next to the NOC offices said he had heard about five blasts.
Tripoli was shaken by clashes between rival armed groups at the beginning of this month but the capital has also seen occasional militant attacks.
In May, ISIS claimed a deadly attack on the national election commission offices in Tripoli.
Only working airport in Libya capital reopens after clashesThe only working airport in Tripoli reopened on Thursday, after being forced to close by deadly clashes in the Libyan capital last week, the transport ... North Africa
Libya’s National Oil Corp 2018 revenue already above last year’sLibya’s National Oil Corp said on Thursday its revenue for January to July 2018 reached $13.6 billion, already exceeding last year's $13 billion ... Energy
UN envoy: Libya risks becoming safe haven for foreign armed groupsThe UN envoy for Libya said the country has lurched from one emergency to another in recent weeks and warned that ISIS is expanding its operations and ... Middle East