Unity ML-Agents turns games and simulations into training environments for intelligent agents using deep reinforcement learning and imitation learning, installed as a Unity package with Python tooling.
Overview
Unity ML-Agents is an open-source toolkit that lets Unity games and simulations serve as environments for training agents with deep reinforcement learning and imitation learning. Researchers and developers define scenes and behaviors in Unity while training loops run against those environments from compatible Python setups.
Package documentation is the main reference for installation, version pairing between Unity and Python, feature lists, tutorials, API details, and citation guidance. Installation steps point readers to the dedicated install guide for supported editor and interpreter versions.
The project is maintained by Unity Technologies with community discussion forums for setup questions and agent training design, plus GitHub issues for defects and feature requests. It sits alongside the broader Unity engine used to publish to desktop, mobile, AR/VR, and console targets when teams ship trained policies into products.
Typical workflows involve prototyping an environment in the editor, configuring training hyperparameters, and iterating until agents learn the desired task policies inside the simulated world.
Key features
- Reinforcement learning training environments
- Imitation learning support
- Unity editor integration
- Python-side training tooling
- Documented install and compatibility matrix
- Community forum and GitHub support
- Package-based distribution in Unity
- Research-oriented API and tutorials
Use cases
- Training in-game agent policies
- Robotics-like tasks in simulation
- Imitation learning from demonstrations
- ML research with 3D physics environments
- Prototyping agent behavior in Unity scenes