Agatha Heterodyne And The Beetleburg Clank by Phil Foglio

A plucky young inventor with a knack for wild improvisation finds herself swept into a rollicking, gaslamp-steampunk adventure when a mechanized threat emerges in the industrial town of Beetleburg; juggling explosions, eccentric rivals and hidden family secrets, she must outthink rival inventors and rally unlikely allies to stop the clockwork menace while discovering more about her own mysterious past.