Agatha Heterodyne And The Circus Of Dreams by Phil Foglio

A resourceful young inventor and self-styled ‘spark’ becomes entangled with a mysterious traveling circus whose clockwork wonders and dreamlike spectacles hide dangerous secrets; blending mad-science ingenuity, humor, and daring, she unravels the circus’s illusions, confronts rival engineers and occult forces, and uses her mechanical genius and courage to expose the truth and protect those ensnared by the show’s enchantments.