
stable-baselines3
Trains and evaluates single-agent reinforcement learning with Stable Baselines3
by k-dense-aiFree
Description
stable-baselines3 is an agent skill for training and evaluating single-agent reinforcement learning with Stable Baselines3, a PyTorch library with reliable implementations of algorithms such as PPO, SAC, DQN, TD3, DDPG and A2C. It covers training agents, building custom Gymnasium environments, vectorised environments, callbacks and tuning training workflows through the library's unified API. The skill targets Stable Baselines3 2.9.0, released on 15 June 2026. Installation requires Python 3.10 or newer, since Python 3.9 was dropped in version 2.8.0, and PyTorch 2.8 or newer. The skill shows a basic install and an install with extras, such as TensorBoard and the Atari environment package. Use it when you want a dependable baseline for a single-agent control or game problem, or when you are writing a custom environment for one. It is part of the k-dense-ai scientific agent skills repository on GitHub, which has about 49,600 stars. The listing shows it as free, and it has about 1,800 installs. Its security audits show passes from Gen Agent Trust Hub, Socket and Snyk. Install it with npx skills add https://github.com/k-dense-ai/scientific-agent-skills --skill stable-baselines3.…
Highlights
- PPO, SAC, DQN, TD3, DDPG and A2C
- Custom Gymnasium environments
- Vectorised environments and callbacks
- Unified training API
- Targets Stable Baselines3 2.9.0
Ratings & Reviews
No ratings yet
Be the first to rate stable-baselines3.
People also visit
stable-baselines3 FAQ
What algorithms does it include?
PPO, SAC, DQN, TD3, DDPG and A2C, through the Stable Baselines3 API.
What can I build?
Trained agents, custom Gymnasium environments, vectorised environments and callbacks.
Which Python and PyTorch versions?
Python 3.10 or newer, and PyTorch 2.8 or newer.
Which version is current?
Stable Baselines3 2.9.0, released on 15 June 2026.
How do I install it?
Run npx skills add https://github.com/k-dense-ai/scientific-agent-skills --skill stable-baselines3.
Is it checked for security?
Its security audits show passes from Gen Agent Trust Hub, Socket and Snyk.
What are the best stable-baselines3 alternatives?
Popular alternatives to stable-baselines3 include pytorch-patterns, pufferlib and pytorch-lightning. See all stable-baselines3 alternatives







