Anovel and versatile peptide-based bio-logic system capable of regulating cell function is developed using sortase A (SrtA), ap eptide ligation enzyme,a sag eneric processor.B y modular peptide design, we demonstrate that mammalian cells apoptosis can be programmed by peptide-based logic operations,i ncluding binary and combination gates (AND, INHIBIT,O R, and AND-INHIBIT), and ac omplex sequential logic circuit (multi-input keypad lock). Moreover,aproofof-concept peptide regulatory circuit was developed to analyze the expression profile of cell-secreted protein biomarkers and trigger cancer-cell-specific apoptosis.Supportinginformation and the ORCID identification number(s) for the author(s) of this article can be found under: https://doi.