How would I make a client sided boss AI using the neural network library for a multiplayer game

I want to start making a boss AI for a basic demonstration for the combat of my game but I’ve been having a bit of a crisis figuring out how to make a Boss AI that will work in the long term. I want to make my game a story driven pve game but with the availability to play in multiplayer. I’ve realised some issues with this however:
-If 2 people are at the same boss fight how do I make it so that they don’t fight the same version of the boss if they’re in different parties.
-What do i do if people in a party are at 2 different points in the story?
-How do I best optimize this?

Basically I want to know how best to make bosses in this situation and preferably by using the roblox neural network library.