awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
thu-ml avatar

thu-ml/tianshou

0
View on GitHub↗
10,235 stars·1,270 forks·Python·mit·16 viewstianshou.org↗

Tianshou

Tianshou is a reinforcement learning framework designed for developing and testing agents. It provides a system for implementing custom agents by defining policies and parameter update rules to optimize agent behavior.

The framework decouples neural network architectures from update logic through policy-based abstractions and separates data pre-processing from gradient updates. It utilizes a collector-driven pipeline to stream experience from environments into structured memory buffers for sampled learning.

The system supports vectorized environment execution to run multiple parallel instances for data collection. Experiment management is handled through a declarative interface for defining hyperparameters, environment factories, and training pipelines.

Features

  • Reinforcement Learning - Provides a comprehensive framework for implementing and developing reinforcement learning agents through standardized policy abstractions.
  • Agent Training Tools - Facilitates the execution of training loops that optimize policies through gradient updates and environment interaction.
  • Experience Replay Buffers - Ships structured memory buffers for storing environment transitions to support sampled off-policy learning.
  • Modular Parameter Update Rules - Separates the data pre-processing step from the gradient update step to allow flexible algorithm implementation.
  • Policy Abstractions - Decouples neural network architectures from update logic using standardized policy classes.
  • Training Execution Loops - Implements a coordination system to manage the training loop, including data collection and gradient updates.
  • Data Collection - Gathers interaction data from simulation environments to be used as training sets for learning agents.
  • RL Experience Collection - Provides mechanisms for gathering experience from multiple environments and storing transitions for learning.
  • Experience Collection Pipelines - Provides a collector-driven pipeline to stream experience from environments directly into training buffers.
  • Reinforcement Learning Configurations - Offers a declarative interface for defining hyperparameters and environment factories to ensure reproducible RL runs.
  • Vectorized Environments - Supports running multiple parallel instances of an environment to accelerate data collection and increase sample diversity.
  • RL Experiment Configurations - Includes a declarative interface for defining training pipelines, environment factories, and hyperparameters.
  • Reinforcement Learning - Elegant deep reinforcement learning library for PyTorch.

Star history

Star history chart for thu-ml/tianshouStar history chart for thu-ml/tianshou

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Tianshou

Similar open-source projects, ranked by how many features they share with Tianshou.
  • dlr-rm/stable-baselines3DLR-RM avatar

    DLR-RM/stable-baselines3

    12,765View on GitHub↗

    Stable-baselines3 is a reinforcement learning library built on the PyTorch deep learning framework. It provides a collection of reliable, standardized implementations of reinforcement learning algorithms designed for training, testing, and benchmarking agent policies in diverse simulated environments. The library functions as an agent training toolkit that emphasizes modularity and reproducibility. It features a unified environment interface and supports vectorized execution to accelerate data collection across multiple simulation instances. Users can customize neural network architectures, f

    Pythonbaselinesgsdegym
    View on GitHub↗12,765
  • rasbt/machine-learning-bookrasbt avatar

    rasbt/machine-learning-book

    5,239View on GitHub↗

    This project is a comprehensive machine learning educational resource and tutorial series delivered as a collection of interactive Jupyter Notebooks. It provides practical Python implementations for the end-to-end machine learning lifecycle, covering supervised and unsupervised learning, deep learning, and reinforcement learning. The resource distinguishes itself by providing detailed implementation guides for complex architectures, including transformers, generative adversarial networks, and convolutional neural networks. It also features specialized courseware for developing reinforcement l

    Jupyter Notebook
    View on GitHub↗5,239
  • vwxyzjn/cleanrlvwxyzjn avatar

    vwxyzjn/cleanrl

    9,127View on GitHub↗

    CleanRL is a reinforcement learning library and PyTorch framework providing a suite of reproducible implementations for online reinforcement learning algorithms. It serves as a deep reinforcement learning benchmark suite and experiment orchestrator designed for research and agent development across both discrete and continuous action spaces. The project is distinguished by its single-file algorithm implementation approach, which encapsulates each algorithm in a standalone script to eliminate complex class hierarchies. This structure is paired with a system for scheduling and executing large-s

    Pythona2cactor-criticadvantage-actor-critic
    View on GitHub↗9,127
  • dennybritz/reinforcement-learningdennybritz avatar

    dennybritz/reinforcement-learning

    22,039View on GitHub↗

    This repository provides a comprehensive library of reinforcement learning algorithms designed for training autonomous agents. It serves as a research-oriented collection of implementations that cover fundamental decision-making strategies, including dynamic programming, temporal difference learning, and policy gradient methods. The project distinguishes itself by offering specialized frameworks for deep reinforcement learning and structured decision modeling. It includes implementations for deep Q-learning that utilize neural networks, experience replay, and prioritized sampling to approxima

    Jupyter Notebook
    View on GitHub↗22,039
See all 30 alternatives to Tianshou→

Frequently asked questions

What does thu-ml/tianshou do?

Tianshou is a reinforcement learning framework designed for developing and testing agents. It provides a system for implementing custom agents by defining policies and parameter update rules to optimize agent behavior.

What are the main features of thu-ml/tianshou?

The main features of thu-ml/tianshou are: Reinforcement Learning, Agent Training Tools, Experience Replay Buffers, Modular Parameter Update Rules, Policy Abstractions, Training Execution Loops, Data Collection, RL Experience Collection.

What are some open-source alternatives to thu-ml/tianshou?

Open-source alternatives to thu-ml/tianshou include: dlr-rm/stable-baselines3 — Stable-baselines3 is a reinforcement learning library built on the PyTorch deep learning framework. It provides a… rasbt/machine-learning-book — This project is a comprehensive machine learning educational resource and tutorial series delivered as a collection of… vwxyzjn/cleanrl — CleanRL is a reinforcement learning library and PyTorch framework providing a suite of reproducible implementations… dennybritz/reinforcement-learning — This repository provides a comprehensive library of reinforcement learning algorithms designed for training autonomous… google/dopamine — Dopamine is a reinforcement learning research framework designed for prototyping and testing algorithms across diverse… ljpzzz/machinelearning — This project is a machine learning implementation library featuring a collection of code examples that implement…