Question for level streaming

Games usually spawn AI agents only when the level is loaded / has players in the area.
I don’t know what the mystery is in this… If the level isn’t there, kill the the agent and only spawn them within persistent levels.
Removing a level while there’s agents in there or having active agents while there’s no players around to interact with them (or no level to hold them) is bad decision and design;

Fairly simple, isn’t it?