These bacteria, which could be designed to detect pollution or nutrients, could act as sensors to help farmers monitor their crops.