Artificial intelligence development for agents in a virtual environment