A newly developed robotic fish can act like a bodyguard for native species and protect them against aggression from invasive pests. 