Breast cancer patient-derived scaffolds enhance the understanding of PD-L1 regulation and T cell cytotoxicity. Here, CD274 is linked to breast cancer.