ABSTRACT Exceptionally bright gamma-ray burst (GRB) afterglows can reveal the angular structure of their jets. GRB jets appear to have a narrow core (of half-opening angle θc), beyond which their kinetic energy drops as a power-law with angle θ from the jet’s symmetry axis, $E_{\mathrm{ k},\rm iso}(\theta)\propto [1+(\theta /\theta _\mathrm{ c})^2]^{-a/2}$. The power-law index a reflects the amount of mixing between the shocked jet and confining medium, which depends on the jet’s initial magnetization. Weakly magnetized jets undergo significant mixing, leading to shallow (a ≲ 2) angular profiles. We use the exquisite multiwaveband afterglow observations of GRB 221009A to constrain the jet angular structure using a dynamical model that accounts for both the forward and reverse shocks, for a power-law external density profile, next ∝ R−k. Both the forward shock emission, that dominates the optical and X-ray flux, and the reverse shock emission, that produces the radio afterglow, require a jet with a narrow core (θc ≈ 0.021) and a shallow angular structure (a ≈ 0.8) expanding into a stellar wind (k ≈ 2). Moreover, these data appear to favour a small fraction (ξe ≈ 10−2) of shock heated electrons forming a power-law energy distribution in both shocks.