[](https://pypi.org/project/skrl)
[
](https://huggingface.co/skrl)

[](https://github.com/Toni-SM/skrl)
[](https://skrl.readthedocs.io/en/latest/?badge=latest)
[](https://github.com/Toni-SM/skrl/actions/workflows/pre-commit.yml)
[](https://github.com/Toni-SM/skrl/actions/workflows/tests-torch.yml)
[](https://github.com/Toni-SM/skrl/actions/workflows/tests-jax.yml)
[](https://github.com/Toni-SM/skrl/actions/workflows/tests-warp.yml)
SKRL - Reinforcement Learning library
**Documentation:** https://skrl.readthedocs.io
**Description**: ``skrl`` is an open-source modular library for Reinforcement Learning written in Python
(implemented in [PyTorch](https://pytorch.org/), [JAX](https://jax.readthedocs.io) and [NVIDIA Warp](https://nvidia.github.io/warp/))
and designed with a focus on modularity, readability, simplicity, and transparency of algorithm implementation.
In addition to supporting
OpenAI [Gym](https://www.gymlibrary.dev),
Farama [Gymnasium](https://gymnasium.farama.org) and [PettingZoo](https://pettingzoo.farama.org),
[ManiSkill](https://maniskill.readthedocs.io/en/latest/index.html),
among other environment interfaces, it allows loading and configuring
NVIDIA [Isaac Lab](https://isaac-sim.github.io/IsaacLab/index.html) and
[MuJoCo Playground](https://playground.mujoco.org/)
environments, enabling agents' simultaneous training by scopes (subsets of environments among all available environments),
which may or may not share resources, in the same run.
### Refer to the documentation for details and examples: https://skrl.readthedocs.io
> **Note:** This project is under **active continuous development**. Please make sure you always have the latest version. Visit the [develop](https://github.com/Toni-SM/skrl/tree/develop) branch or its [documentation](https://skrl.readthedocs.io/en/develop) to access the latest updates to be released.
### Citing this library
To cite this library in publications, please use the following reference:
```bibtex
@article{serrano2023skrl,
author = {Antonio Serrano-Muñoz and Dimitrios Chrysostomou and Simon Bøgh and Nestor Arana-Arexolaleiba},
title = {skrl: Modular and Flexible Library for Reinforcement Learning},
journal = {Journal of Machine Learning Research},
year = {2023},
volume = {24},
number = {254},
pages = {1--9},
url = {http://jmlr.org/papers/v24/23-0112.html}
}
```