GZMB and lung cancer: Through a series of chemical iterations and molecular dynamics simulations, we synthesize a library of FRET peptides and identify probe H5 with an optimal fit into granzyme B. We demonstrate that probe H5 enables the real-time detection of T cell-mediated anticancer activity in mouse tumors and in tumors from lung cancer patients.