Unity-Technologies/ml-agents
An open-source toolkit that enables Unity games and simulations to serve as environments for training intelligent agents using deep reinforcement learning.

The Unity ML-Agents Toolkit provides PyTorch-based implementations of state-of-the-art reinforcement learning and imitation learning algorithms. It allows researchers and game developers to train intelligent agents for various purposes including NPC behavior control, automated testing, and game design evaluation. The toolkit supports single-agent, multi-agent cooperative, and multi-agent competitive training scenarios across 2D, 3D, and VR/AR environments.