Multiplayer - An AI acting on different levels

Hello everyone !

I’m currently working on a multiplayer game which have 4 levels. Players can be on differents levels at the same time. I would like an AI manage actions against all players and react to players actions from differents levels.

Example :
P1 approch an objective in level A
P2 is low life in level B
AI decide to send more monster in level A and set P2 as monster’s target in level B

There is a way to use an AI between differents levels ? What is the best way to do this ?