A new generation of technology is revolutionizing neuroscience, allowing a closer study of the brain than had ever seemed possible. The techniques are hybrids of optics, genetics, and synthetic biology with the ability to manipulate brain activity, often in real time. Through direct stimulation of neural connections, some of these techniques hold the promise for the treatment of diseases like depression or schizophrenia.