executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
skrlRoute public skrl 2.1.0 reinforcement-learning workflows across PyTorch, JAX, NVIDIA Warp, Gymnasium environments, multi-agent IPPO/MAPPO, runners, checkpoints, and experiment operations.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when a task names skrl, asks for modular reinforcement learning with Gym/Gymnasium, or needs skrl agents, models, memories, trainers, framework wrappers, IPPO/MAPPO, Runner configurations, checkpoints, or TensorBoard/W&B experiment controls. This is a public package-use guide, not a maintainer guide for editing a checkout.
environment-integration
before choosing a wrapper.framework-selection, then use the
matching route: torch-agent-training,
jax-agent-training, or
warp-agent-training.multi-agent-and-runner after
the environment route. Do not reuse a single-agent model dictionary for a
multi-agent constructor.skrl requires Python 3.10 or newer and installs common dependencies
Gymnasium, packaging, TensorBoard, and tqdm. Install only the framework extra
needed by the task:
python -m pip install "skrl[torch]"
# JAX: install the desired CPU/CUDA jaxlib first, then:
python -m pip install "skrl[jax]"
python -m pip install "skrl[warp]"
Use skrl[all] only when the task genuinely needs all three framework
families. Optional simulator packages (Isaac Lab, ManiSkill, MuJoCo Playground,
Shimmy, and PettingZoo) are separate prerequisites; an skrl extra does not
install their simulators, assets, or middleware. Verify the selected extra
without assuming a CUDA device:
python -c "import skrl; print(skrl.__version__)"
python scripts/check_frameworks.py --help
python scripts/check_frameworks.py --framework torch
The bundled check reports missing optional dependencies and performs a CPU
configuration probe; it does not train, download data, write experiment files,
or prove accelerator execution. Read framework-selection
for the JAX installation ordering and device rules.
A normal single-agent flow is: create the original environment, call the
framework-specific wrap_env, inspect observation_space, optional
state_space, action_space, num_envs, and device, define models with the
required role keys, allocate RandomMemory when the algorithm needs it,
configure an agent, and pass it to a trainer. PPO, for example, normally
needs policy and value models; off-policy algorithms add target and critic
roles. The framework routes contain the exact table.
For multi-agent flows, first inspect possible_agents, agents, per-agent
spaces and global state. Then construct nested dictionaries keyed by every
possible agent and use IPPO or MAPPO as documented by the multi-agent route.
write_interval and checkpoint_interval to 0 for a
read-only construction probe. auto creates TensorBoard/checkpoint output
during a real trainer run.load and validate the path.troubleshooting.This graph was distilled from the repository state in
repo-provenance.md. Read it before using a
checkout-specific detail; if its commit, package version, public entry points,
or evidence paths differ, use refresh-repo-skill rather than treating this
graph as current.