← All projects
Training & fine-tuning

Stable Baselines3

Tested, ready-made code for teaching AI programs to learn by trial and error.

New this week

What it does

Stable Baselines3 is a code library for reinforcement learning, a way of training an AI by rewarding it when it does well. It is used for things like game-playing AI and robot control.

It gathers well-known training methods in one place, built on PyTorch (a popular AI toolkit). Its makers say each method has been tested, and they note it assumes some prior knowledge of reinforcement learning.

Who it's for

Researchers, students and engineers working on reinforcement learning or robotics.

Can I use it without coding?

Developers only. It is a Python library used by writing code. New to this? Start here.

Can I run it?

Cost
FreeNothing to pay or sign up for.
Privacy
Runs on your own device: your data stays with you
API key
Not needed

Try it

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • License (MIT): Very permissive: free to use, change and share, including for business.
  • More on staying safe