AI move to Multiplayer

do you run the ai on client and server?
because it shouldn’t, only the server should move the ai and the client gets the replication

do you spawn the ai only on the server and then let replication create it on the clients?

On the server it behaves correctly?