phineas flynn and his stepbrother ferb fletcher keep perry as a pet but think that he’s just a regular platypus who “doesn’t do much”. whenever phineas has an idea for what he and ferb will build that day someone asks “hey, where’s perry”. perry is actually a spy working for owca (the organization without a cool acronym) while wearing a fedora and is said to be owca’s best secret agent. perry’s boss major monogram normally sends him to fight dr. doofenshmirtz. in almost every episode, perry the platyus shows up at doof’s headquarters, dr. doofenshmirtz traps perry, doof explains his evil plan, perry escapes, perry and dr. doofenshmirtz fight, perry beats doofenshmirtz and doof yells “curse you, perry the platypus.” that said, there are some exceptions to this. for example, in the season one episode journey to the center of candace, dr. doofenshmirtz decides to “mix it around a little” by beginning with describing his evil plan and then trapping perry, but as soon as dr. doofenshmirtz explains his plan is “to destroy anyone who can’t make up their mind” perry immediately catches and arrests doof after having a flashback to his owner phineas flynn saying he couldn’t make up his mind.