Scientists create artificial cells that can express distinct genes in response to specific chemical signals, opening the door to new ways of delivering drugs.