Educated at the Jewish schools of his native town and Vercelli, he for a short time followed a mercantile career.
Settling in Venice, Levi took part in the Lombardic rebellion against Austria of 1848-49.