Deep brain stimulation (DBS) is a powerful clinical tool for the treatment of circuitopathy-related neurological and psychiatric diseases and disorders such as Parkinson’s disease and obsessive-compulsive disorder. Electrically-mediated DBS, however, is limited by the spread of stimulus currents into tissue unrelated to disease course and treatment, potentially causing undesirable patient side effects. In this work, we utilize infrared neural stimulation (INS), an optical neuromodulation technique that uses near to mid-infrared light to drive graded excitatory and inhibitory responses in nerves and neurons, to facilitate an optical and spatially constrained DBS paradigm. INS has been shown to provide spatially constrained responses in cortical neurons and, unlike other optical techniques, does not require genetic modification of the neural target. In this study, we show that INS produces graded, biophysically relevant single-unit responses with robust information transfer in thalamocortical circuits. Importantly, we show that cortical spread of activation from thalamic INS produces more spatially constrained response profiles than conventional electrical stimulation. Owing to observed spatial precision of INS, we used deep reinforcement learning for closed-loop control of thalamocortical circuits, creating real-time representations of stimulus-response dynamics while driving cortical neurons to precise firing patterns. Our data suggest that INS can serve as a targeted and dynamic stimulation paradigm for both open and closed-loop DBS.Significance StatementDespite initial clinical successes, electrical deep brain stimulation (DBS) is fraught with off-target current spillover into tissue outside of therapeutic targets, giving rise to patient side effects and the reduction of therapeutic efficacy. In this study, we validate infrared neural stimulation (INS) as a spatially constrained optical DBS paradigm by quantifying dose-response profiles and robust information transfer through INS driven thalamocortical circuits. We show that INS elicits biophysically relevant responses which are spatially constrained compared to conventional electrical stimulation, potentially reducing off-target side effects. Leveraging the spatial specificity of thalamocortical INS, we used deep reinforcement learning to close the loop on thalamocortical INS and showed the ability to drive subject-specific thalamocortical circuits to target response states in real time.