The Eye Bot is a device made by Dr. Doofenshmirtz to find Perry's address.
All started when Doofenshmirtz planted a minibot on Perry's back, without him knowing about it.
Perry returns home and goes to sleep on his pet bed. The minibot comes alive and Dr. Doofenshmirtz steers it in the hopes of finding Perry's address somewhere.
The minibot spots the children, but Doofenshmirtz thinks the signals got crossed since they look regular sized. He loses control of the robot, and it chases after the children. They use a sewing basket to tie threads over it and pull it down onto the ground. Ferb reprograms the remains of the bot to be a mini-fly, and Irving takes the opportunity to get a photo of himself with the gang. They go to rescue Baljeet, who survived by hiding in a dead fly's corpse.
Doofenshmirtz regains video feed, and Perry spies the camera watching him. He crushes it, which prompts Doofenshmirtz to activate the self-distruct button on his bot.