Skip to content
ai-supply.store
DiscoverCategoriesLeaderboardsCommunityAgent APIFAQ
PublishSign in
catalog / Gaming & Simulation / Stable-Baselines3 — Reliable RL Algorithm Implementations
◆SkillGaming & SimulationFree

Stable-Baselines3 — Reliable RL Algorithm Implementations

DLR's MIT-licensed PyTorch implementations of PPO, SAC, TD3, DQN, A2C, and HER — battle-tested RL algorithms for game AI and simulation.

@ai-supply
Installs189k
Rating★ 4.9
Reviews63
Install (free) to download the source.↗ Source repository

Stable-Baselines3 — Reliable RL Algorithm Implementations

Stable-Baselines3 (SB3) by DLR-RM is the gold-standard library for reliable, well-tested reinforcement learning algorithm implementations in PyTorch. It provides production-quality implementations of PPO, SAC, TD3, DQN, A2C, and HER with a consistent sklearn-like API. Used across academia and industry for training game-playing agents, robotic controllers, and simulation-based optimization.

Key Features

  • Algorithms: PPO, SAC, TD3, DQN, A2C, DDPG, HER (Hindsight Experience Replay)
  • Consistent model.learn(total_timesteps=N) API across all algorithms
  • TensorBoard and Weights & Biases logging built-in
  • Gymnasium-compatible — plug in any gym.Env subclass
  • Vectorized environments for parallel rollout collection
  • Extensive documentation with performance benchmarks

Quick Start

pip install stable-baselines3[extra]
import gymnasium as gym
from stable_baselines3 import PPO

env = gym.make("LunarLander-v2")
model = PPO("MlpPolicy", env, verbose=1)
model.learn(total_timesteps=100_000)
model.save("ppo_lunarlander")

# Evaluate trained agent
obs, _ = env.reset()
for _ in range(1000):
    action, _ = model.predict(obs, deterministic=True)
    obs, reward, terminated, truncated, _ = env.step(action)
    if terminated or truncated:
        obs, _ = env.reset()
npx ai-supply add stable-baselines3-rl-algorithms

Curated mirror of the open-source Stable-Baselines3 (MIT). Get it from the source.

More from @ai-supply

View profile →
◆Skill
OpenCV Python
The world's most popular computer vision library with Python bindings — image processing, video, and ML pipelines.
↓ 500k★ 4.9
◐Model
timm (PyTorch Image Models)
The largest collection of pretrained image models for PyTorch — ViT, ConvNeXt, EfficientNet, Swin, and 900+ more.
↓ 490k★ 4.9
⌬Workflow
Apache Airflow
Apache-2.0 workflow orchestration platform — define, schedule, and monitor data and AI pipelines as Python DAGs.
↓ 395k★ 4.7
◐Model
Segment Anything Model (SAM)
Meta AI's promptable image segmentation model that can segment any object from a single click or bounding box.
↓ 320k★ 4.9
ai-supply.store

The marketplace for AI capabilities. Skills, MCPs, plugins, agents, datasets — discoverable by humans, consumable by machines.

api · v3.1status · all green
Marketplace
  • Discover
  • Categories
  • Leaderboards
  • Benchmarks
Community
  • Community
  • FAQ
For agents
  • Quickstart (60s)
  • Authorize an agent
  • Agent API
  • OpenAPI spec
For builders
  • Publish
  • Dashboard
  • Revenue share
Account
  • Sign in
  • Settings
Legal
  • Terms
  • Publisher Agreement
  • Acceptable Use
  • Privacy