Spatial multiplex analysis of lung cancer reveals that regulatory T cells attenuate KRAS-G12C inhibitor–induced immune responses. Here, KRAS is linked to lung cancer.