stable-baselines3

Train reinforcement learning agents with stable-baselines3 algorithms in Gymnasium environments.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/felixboehm/biochem-allergy --skill stable-baselines3-felixboehm
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stable-baselines3
Source: https://github.com/felixboehm/biochem-allergy/tree/main/.claude/skills/stable-baselines3
Command: npx skills add https://github.com/felixboehm/biochem-allergy --skill stable-baselines3-felixboehm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires stable-baselines3, gymnasium, numpy, torch, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a robust framework for developing and deploying Reinforcement Learning agents, simplifying complex RL workflows from environment setup to agent training and evaluation.

Core Features & Use Cases

  • Algorithm Implementation: Access to state-of-the-art RL algorithms (PPO, SAC, DQN, etc.) with a consistent API.
  • Environment Integration: Tools for creating, validating, and vectorizing custom or standard Gymnasium environments.
  • Training & Monitoring: Utilities for callbacks, logging, and saving models to streamline the training process.
  • Use Case: Train an agent to play a custom game, optimize a robot's movement in a simulation, or automate trading strategies in a financial market.

Quick Start

Use the stable-baselines3 skill to train a PPO agent on the CartPole-v1 environment for 100,000 timesteps.

Frequently Asked Questions about stable-baselines3

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I train a reinforcement learning agent using a Gymnasium environment?▼

Yes, you can create and validate custom Gymnasium environments for reinforcement learning. This Skill provides tools for single-agent RL, allowing you to integrate custom or standard environments and vectorize them for efficient training.

What reinforcement learning algorithms are supported by this Skill?▼

This Skill supports state-of-the-art reinforcement learning algorithms including PPO, SAC, and DQN. They are accessible through a consistent, scikit-learn-like API designed for standard RL experiments and prototyping.

Do I need PyTorch to use stable-baselines3 for reinforcement learning?▼

Yes, PyTorch is required for core reinforcement learning functionality, along with Gymnasium and NumPy. These dependencies enable the framework's production-ready RL algorithms and environment integration features.

How do I monitor and save models during reinforcement learning training?▼

You can monitor reinforcement learning training and save models using the Skill's utilities for callbacks and logging. These features streamline the training process by providing callback-based monitoring for your agents.