Artificial intelligence (AI) requires ever-larger data centres and ever more power. Now, researchers have developed an artificial neuron that operates using light and brings together several of the brain’s most important functions in a single component. The technology could eventually pave the way for more energy-efficient AI and intelligent sensors.