Born in Gandino near Bergamo, he is ordinarily termed Il Bergamasco to distinguish him from the other painter (of miniatures) with the identical name from school of Genoa.
His best-known works are the paintings on the vault of the Basilica della Santissima Annunziata del Vastato.
Along with his friend Luca Cambiaso, Castello was commissioned by the Duke Grimaldi to decorate the ceiling of the choir of the Nunziata di Portoria in Genoa, with a fresco of Christ as judge of the world.
Castello and Cambiaso shared other projects, including work in a chapel for the Duomo di San Lorenzo.
As architect, he is supposed to have remodeled the church of San Matteo in Genoa and to have designed the imperial palace at Campetto.