Tiny robotic roaches were able to influence the collective behavior of real ones, pointing the way to more sophisticated machine-animal interactions of the future. Cynthia Graber reports.