Unity ML-Agents Toolkit
Turns Unity games and 3D simulations into practice worlds where AI characters learn by trial and error.
- Coding needed
- Developers only
- Cost
- Free
Turns Unity games and 3D simulations into practice worlds where AI characters learn by trial and error.
ML-Agents lets game developers, researchers and hobbyists train AI "agents", characters or robots that learn behaviours, inside games and simulations built with the Unity game engine.
Agents can learn by trial and error with rewards (reinforcement learning) or by copying recorded demonstrations (imitation learning). Several agents can learn to cooperate or compete, and tasks can start easy and get harder over time. It comes with many example environments and uses PyTorch behind the scenes.
Trained behaviours can then run inside Unity games on many platforms. The README notes that Unity collects some usage data inside the editor.
Game developers, AI researchers and students exploring how agents learn.
Developers only. Needs the Unity editor, Python and some coding. New to this? Start here.
Before you download
Plain-AyI is an independent guide: we link to each project's official pages, but we don't host, review or endorse the software, and we can't accept responsibility for how it works on your device. Please download and install at your own discretion.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?