{"library":"tianshou","type":"library","category":null,"description":"A library for deep reinforcement learning, providing a modular and flexible framework for implementing and benchmarking RL algorithms. Current version is 2.0.1, released in 2025. The library follows a steady release cadence, with major version 2.0 overhauling the procedural API and separating algorithms from policies.","language":"python","status":"active","version":"2.0.1","tags":["reinforcement-learning","deep-learning","pytorch","gymnasium","rl"],"last_verified":"Fri May 01","install":[{"cmd":"pip install tianshou","imports":["from tianshou.policy import Policy","from tianshou.data import Collector","from tianshou.data import ReplayBuffer"]}],"homepage":null,"github":"https://github.com/thu-ml/tianshou","docs":null,"changelog":null,"pypi":"https://pypi.org/project/tianshou/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}