StarCraft II does not support teaming up with an AI ally against AI opponents. The AI is designed for 1v1 play and lacks coordination for team matches. The game interface doesn’t allow selecting an AI teammate.
Similar experiences:
For true team‑based AI opponents, other games offer more robust systems.