  Identifying the flavour of reconstructed hadronic jets is critical for
precision phenomenology and the search for new physics at collider experiments,
as it allows to pinpoint specific scattering processes and reject backgrounds.
Jet measurements at the LHC are almost universally performed using the
anti-$k_T$ algorithm, however no approach exists to define the jet flavour for
this algorithm that is infrared and collinear (IRC) safe. We propose a new
approach, a flavour dressing algorithm, that is IRC safe to all orders in
perturbation theory and can be combined with any definition of a jet. We test
the algorithm in $\mathrm{e}^+\mathrm{e}^-$ and $\mathrm{p}\mathrm{p}$
environments, and consider the $\mathrm{p}\mathrm{p} \to
\mathrm{Z}+\mathrm{b}\text{-jet}$ process as a practical application.
