I don't have firsthand experience but talked to people who went and read a lot. It seems Algiers is safe enough for a trip - especially if you speak French.
Trips outside the city carry a huge risk of kidnapping and roadside attacks. I would not do it.