Bacteria can be turned into living factories that churn out complex molecules using reactions catalysed by light 1.