Hybrid materials made from modified bacteria and nanoparticles respond to the environment and conduct electricity.