$npx skillfedfor your agent

sb3-contrib

Contrib package of Stable Baselines3, experimental code.

With conditionsPyPI Artificial IntelligenceReleased Jun 2026439.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sb3_contrib-2.9.0-py3-none-any.whl
v2.9.0 · released 2026-06-15 · Python >=3.10 · 1 runtime deps: stable_baselines3

Yes, if you need experimental RL algorithms or specialized policy variants beyond what stable_baselines3 core offers. The low install friction, active maintenance, and MIT license make it a reasonable addition to an RL workflow. The experimental nature of the algorithms means this is best suited for research or prototyping rather than production systems requiring stability guarantees.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires stable_baselines3 as a runtime dependency
  • Low friction installation as a pure Python wheel.
  • Actively maintained with a recent release and steady commit activity.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open and closed projects with minimal obligations.

last release 2026-06-15 (60 days) · last repo commit 2026-07-24 · 729 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 439,072 downloads/mo, #6,659 on PyPI

Verify before relying

pip install sb3-contrib

from sb3_contrib import MaskablePPO
model = MaskablePPO('MlpPolicy', env)
  • Whether the master version of stable_baselines3 requirement creates practical installation friction beyond standard dependency resolution
  • Performance or stability characteristics of experimental algorithms relative to stable_baselines3 core implementations
Same gist for agents: .md · .json

What it is and what it does

SB3-Contrib is a companion package to stable_baselines3 that houses experimental and newer reinforcement learning algorithms and tools. It maintains the documentation and code style of the main library while hosting implementations that are either too niche, too experimental, or too difficult to integrate into the core package. The package includes algorithms like Augmented Random Search, Quantile Regression DQN, masked PPO variants, recurrent PPO, and Truncated Quantile Critics, along with environment wrappers.

The package is designed for researchers and practitioners who want access to cutting-edge RL implementations without waiting for them to mature enough for the main library. It trades stability guarantees for breadth: algorithms here follow consistent documentation and style but may not have the same level of testing or long-term support as core stable_baselines3 methods.

Use it for

  • Implement action masking in PPO for environments with invalid actions using MaskablePPO
  • Train agents with recurrent policies using RecurrentPPO for partially observable environments
  • Experiment with newer algorithms like Truncated Quantile Critics or Trust Region Policy Optimization
  • Prototype RL solutions with less mature but potentially better-performing algorithms before production deployment
  • Access environment wrappers like Time Feature Wrapper to augment observation spaces

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need experimental RL algorithms or specialized policy variants beyond what stable_baselines3 core offers.

The low install friction, active maintenance, and MIT license make it a reasonable addition to an RL workflow. The experimental nature of the algorithms means this is best suited for research or prototyping rather than production systems requiring stability guarantees.

Install

sb3-contrib on PyPI

Before you install

Low friction installation as a pure Python wheel. Actively maintained with a recent release and steady commit activity. Requires the master version of stable_baselines3 as a runtime dependency.

Requires stable_baselines3 as a runtime dependency

License in practice

MIT license permits unrestricted use, modification, and distribution in both open and closed projects with minimal obligations.

Quickstart

pip install sb3-contrib

from sb3_contrib import MaskablePPO
model = MaskablePPO('MlpPolicy', env)

Verify before relying

  • Whether the master version of stable_baselines3 requirement creates practical installation friction beyond standard dependency resolution
  • Performance or stability characteristics of experimental algorithms relative to stable_baselines3 core implementations

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
stable_baselines3
MaintenanceActively maintained 60 days since the last release
Last repo commit
First released
Downloads439,072 / month, #6,659 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13

Evidence: sb3_contrib-2.9.0-py3-none-any.whl

Tags

Capabilities
reinforcement learning algorithmsexperimental RL implementationsPPO LSTM recurrent policyaction masking reinforcement learningstable baselines extensionsdeep reinforcement learning toolspolicy optimization algorithms
Topics
reinforcement-learningexperimental-algorithmspolicy-gradient
PyPI keywords
reinforcement-learning-algorithmsreinforcement-learningmachine-learninggymopenaistablebaselinestoolboxpythondata-science

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “reinforcement learning algorithms”

  • sb3-contribProvides experimental reinforcement learning algorithms and tools…
  • stable-baselines3Stable Baselines3 provides PyTorch implementations of reinforcement…
  • open-spielOpenSpiel provides game environments and reinforcement learning…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also mabwiser · stable-baselines3 · dopamine-rl · tianshou · rsl-rl-lib · skrl · mjlab · trl · torchrl · nemo-gym

Further reading