#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.

Stars
19.9k
License
custom license
Last commit
Oct 2026
Last release
Sep 2025
Language
C#
Stars, last 35 weeks+798
25 Mar 2026: 19,116 stars1 Apr 2026: 19,144 stars8 Apr 2026: 19,169 stars15 Apr 2026: 19,195 stars22 Apr 2026: 19,224 stars29 Apr 2026: 19,255 stars6 May 2026: 19,273 stars13 May 2026: 19,303 stars20 May 2026: 19,328 stars27 May 2026: 19,355 stars3 Jun 2026: 19,372 stars10 Jun 2026: 19,397 stars17 Jun 2026: 19,411 stars24 Jun 2026: 19,432 stars1 Jul 2026: 19,455 stars8 Jul 2026: 19,472 stars15 Jul 2026: 19,487 stars22 Jul 2026: 19,502 stars29 Jul 2026: 19,523 stars5 Aug 2026: 19,550 stars12 Aug 2026: 19,569 stars19 Aug 2026: 19,588 stars26 Aug 2026: 19,603 stars2 Sept 2026: 19,615 stars9 Sept 2026: 19,631 stars16 Sept 2026: 19,656 stars23 Sept 2026: 19,680 stars30 Sept 2026: 19,694 stars7 Oct 2026: 19,710 stars14 Oct 2026: 19,756 stars21 Oct 2026: 19,781 stars28 Oct 2026: 19,810 stars4 Nov 2026: 19,823 stars11 Nov 2026: 19,874 stars18 Nov 2026: 19,897 stars25 Nov 2026: 19,914 stars

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

  1. “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
Also in Training and fine-tuning
RankProjectScore
#49gptqmodelPython toolkit for quantizing LLMs with GPTQ, AWQ, EXL3 and more1.3k starscustom license66 out of 100
#50ludwigYAML-configured training and fine-tuning for LLMs, multimodal and tabular models11.8k starsApache-2.065 out of 100
#52medicalgptTraining scripts for medical LLMs: pretraining, SFT, RLHF, DPO, GRPO5.9k starsApache-2.064 out of 100
#53rlRay-based RL post-training library for LLMs and VLMs2.2k starsApache-2.064 out of 100
#54transformerlab-appML research workbench for training, fine-tuning, evaluating and chatting with models Live demo ↗ (opens in a new tab)5.2k starsAGPL-3.062 out of 100