In a way that is shrewd, careful, or clever; with caution and good judgment.
From canny plus the adverbial suffix -ly. Maintains the Scottish/Northern English origin of canny while creating the adverbial form.
You might read in a mystery novel that a detective 'cannily avoided' a trap, which means she was smart and careful enough to see it coming—it's a word that suggests wisdom gained through experience.
Complete word intelligence in one call. Free tier — 50 lookups/day.