With the addition of programmability and software, photonic chips can enter a new era of flexibility, creativity and diverse applications.