tianshou vs ml-agents

tianshou and ml-agents share 4 technologies: h5py, torch, gymnasium, and pettingzoo. Both are written in Python.

Read it as markdown

What they share and what sets them apart

thu-ml

tianshou

An elegant PyTorch deep reinforcement learning library.

Python11.1kRead on November 25, 2026, at commit 63173a2What is tianshou built with?

Only in tianshou

In common

Unity-Technologies

ml-agents

The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.

Python19.9kRead on November 22, 2026, at commit 4649106What is ml-agents built with?

Only in ml-agents

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
tianshou49,576 lines written105 code files
ml-agents81,989 lines written300 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
tianshou0% of its commits signed by AI
ml-agents0.1% of its commits signed by AIWith Claude Code
ActivityFrom GitHub and its history, on the day SeeRepo read it.
tianshouLast push November 25, 20261,244 commits11,055 stars
ml-agentsLast push November 21, 20263,177 commits19,891 stars
TestsThe files that test the code, and the share of code files a test imports.
tianshou60 test files42.9% of its code files have a test that imports them
ml-agents160 test files55.3% of its code files have a test that imports them

Frequently asked questions

Which is bigger, tianshou or ml-agents?
ml-agents, with 81,989 lines written; tianshou has 49,576.

The proof: Unity-Technologies/ml-agents's code at commit 4649106

Which has more GitHub stars, tianshou or ml-agents?
ml-agents, with 19,891 stars; tianshou has 11,055.

The proof: Unity-Technologies/ml-agents on GitHub

Which has more tests, tianshou or ml-agents?
ml-agents, with 160 test files; tianshou has 60.

The proof: Unity-Technologies/ml-agents's code at commit 4649106

Which was updated more recently, tianshou or ml-agents?
tianshou: its last push was on November 25, 2026, and ml-agents's on November 21, 2026.

The proof: thu-ml/tianshou's commits on GitHub

Which has more commits signed by AI, tianshou or ml-agents?
ml-agents: an AI signed 0.1% of its commits, with Claude Code.

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Or look inside SeeRepo's own →