Back to Writing
NOTESunityml-agentsreinforcement-learningmachine-learning
Unity ML-Agents - Getting Started (2020.08.30)
August 28, 2020•Updated Feb 17, 2026
ML-Agents is a framework for training intelligent agents using reinforcement learning.
Installation:
- Install ML-Agents from the Package Manager
- Install Python and TensorFlow
- Train agents using training scripts
Features:
- Policy networks for decision making
- Curriculum learning
- Multi-agent support
- Integration with Unity
Example setup:
behaviors:
ActionName:
trainer_type: ppo
hyperparameters:
batch_size: 32
learning_rate: 0.0003
With ML-Agents, game developers can create intelligent NPCs and game mechanics using machine learning.