#5151st of 126 in Training and fine-tuning
ml-agents
Train game agents with reinforcement learning inside Unity environments
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts ml-agents on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.ml-agents is on your watch list. Its new releases and problems show there.
- Stars
- 19.9k
- License
- custom license
- Last commit
- Oct 2026
- Last release
- Sep 2025
- Language
- C#
19,116 on 25 Mar 202619,914 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Unity SDK plus a PyTorch-based Python trainer that turns Unity scenes into reinforcement learning environments. It ships PPO, SAC, MA-POCA and self-play, plus BC and GAIL imitation learning, and exposes environments through a Python API, Gym and PettingZoo wrappers. Trained policies run in-game through Unity's Inference Engine.
Who it is for: Game developers and RL researchers training agents in Unity simulations
Strengths
- Ships PPO, SAC, MA-POCA, self-play, BC and GAIL trainers out of the box
- Gym and PettingZoo wrappers plus a low-level Python API for custom training code
- 17+ example Unity environments and curriculum learning and environment randomization support
- Trained models run natively in Unity across platforms via the Inference Engine
Weaknesses
- Requires the Unity editor and a Unity project; not usable standalone
- Last tagged release is from 2025; develop branch is described as unstable
- Web docs are deprecated; docs live in the Unity package documentation
- License shown as NOASSERTION by detection, while the README badge says Apache-2.0
What it needs
- GPU optional
- Docker
- Needs Unity (2020.1 or later), Python, PyTorch
- Models: PPO, SAC, MA-POCA, BC, GAIL
What changed
“com.unity.ml-agents / com.unity.ml-agents.extensions (C#)”
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in Training and fine-tuning
See all 126| Rank | Project | Score |
|---|---|---|
| #49 | gptqmodelPython toolkit for quantizing LLMs with GPTQ, AWQ, EXL3 and more | 66 out of 100 |
| #50 | ludwigYAML-configured training and fine-tuning for LLMs, multimodal and tabular models | 65 out of 100 |
| #52 | medicalgptTraining scripts for medical LLMs: pretraining, SFT, RLHF, DPO, GRPO | 64 out of 100 |
| #53 | rlRay-based RL post-training library for LLMs and VLMs | 64 out of 100 |
| #54 | transformerlab-appML research workbench for training, fine-tuning, evaluating and chatting with models | 62 out of 100 |