The endoplasmic-reticulum aminopeptidase ERAP1 processes antigenic peptides for loading on MHC-I proteins and recognition by CD8 T cells as they survey the body for infection and malignancy. Here, CD8A is linked to infection.