By wiring together colonies of these bacteria, the researchers built circuits that can perform complicated calculations.