Biosensors are emerging as an important tool to evolutionarily engineer metabolic pathway enzymes for the microbial production of chemicals. A colorimetric biosensor used to increase dopamine levels in yeast now enables the production of benzylisoquinoline alkaloids from glucose.