Cytokines act as potent, extracellular signals of the human immune system and can elicit striking treatment responses in patients with autoimmune disease, tissue damage, and cancer. Yet despite their therapeutic potential, recombinant cytokine-mediated immune responses remain difficult to control as their administration is often systemic whereas their intended sites of action are localized. To address the challenge of spatially and temporally constraining cytokine signals, we recently devised a strategy whereby recombinant cytokines are reversibly inactivated via chemical modification with photo-labile polymers that respond to visible LED light. Extending this approach to enable both in vivo and multicolor immune activation, here we describe a strategy whereby cytokines appended with heptamethine cyanine-polyethylene glycol are selectively re-activated ex vivo using tissue-penetrating near-infrared (NIR) light. We show that NIR LED light illumination of caged, pro-inflammatory cytokines restores cognate receptor signaling and potentiates the activity of T cell-engager cancer immunotherapies ex vivo. Using combinations of visible- and NIR- responsive cytokines, we further demonstrate multi-wavelength optical control of T cell cytolysis ex vivo, as well as the ability to perform Boolean logic using multicolored light and orthogonally photocaged cytokine pairs as inputs, and T cell activity as outputs. Together, this work demonstrates a novel approach to control extracellular immune cell signals using light, a strategy that in the future may improve our understanding of and ability to treat cancer and other diseases.