AI Campaign Insane - 2 Races

As MellOw said, Ai with multiple players sometimes bugs out. I suggest you to look at this

Then, you can grab a (Zerg AI) campaign AI and modify it for it to build pylons and stuff