Ai! Jack!v2026.04.01-f12
← 홈GitHub 활발

AgileRL/AgileRL

원문 보기
★ 95179 forksPython영국

AI 분석

•강화학습용 RLOps 라이브러리 → 모델 학습과 하이퍼파라미터 최적화 자동화 지원
•여러 독립 학습을 반복하는 방식 대신 진화적 HPO로 학습 중 설정을 개선하는 접근
•10배 빠른 학습은 일반적 보장이 아니므로 환경별 보상 성능과 총 연산 비용 비교 필요

Streamlining reinforcement learning with RLOps. State-of-the-art RL algorithms and tools, with 10x faster training through evolutionary hyperparameter optimization.

검증 정보

출처
github.com
피드
GitHub 활발
수집/분석 기준
2026. 9. 8. 오전 9:00
원문 확인
원문 열기

본문

Reinforcement learning streamlined.

Easier and faster reinforcement learning with RLOps. Visit our website. View documentation.

Join the Discord Server for questions, help and collaboration.

[](https://opensource.org/licenses/Apache-2.0)

[](https://docs.agilerl.com/en/latest/?badge=latest)

[](https://codecov.io/gh/AgileRL/AgileRL)

[](https://github.com/AgileRL/AgileRL/actions/workflows/ci.yml)

[](https://pypi.python.org/pypi/agilerl/)

[](https://discord.gg/eB8HyTA2ux)

[](https://arena.agilerl.com)

🚀 Train super-fast for free on Arena, the RLOps platform from AgileRL 🚀

AgileRL is a Deep Reinforcement Learning library focused on improving development by introducing RLOps - MLOps for reinforcement learning.

This library is initially focused on reducing the time taken for training models and hyperparameter optimization (HPO) by pioneering [evolutionary HPO techniques](https://docs.agilerl.com/en/latest/evo_hyperparam_opt/index.html) for reinforcement learning.

Evolutionary HPO has been shown to drastically reduce overall training times by automatically converging on optimal hyperparameters, without requiring numerous training runs.

We are constantly adding more algorithms and features. AgileRL already includes state-of-the-art evolvable [LLM fine-tuning](https://docs.agilerl.com/en/latest/llm_finetuning/index.html), [on-policy](https://docs.agilerl.com/en/latest/on_policy/index.html), [off-policy](https://docs.agilerl.com/en/latest/off_policy/index.html), [offline](https://docs.agilerl.com/en/latest/offline_training/index.html), [multi-agent](https://docs.agilerl.com/en/latest/multi_agent_training/index.html) and [contextual multi-armed bandit](https://docs.agilerl.com/en/latest/bandits/index.html) reinforcement learning algorithms with [distributed training](https://docs.agilerl.com/en/latest/distributed_training/index.html).

AgileRL offers 10x faster hyperparameter optimization than SOTA.

## Table of Contents

•[Benchmarks](#benchmarks)
•[Get Started](#get-started)
•[Training](#training)
•[Arena](#arena)
•[Tutorials](#tutorials)
•[Algorithms](#evolvable-algorithms-more-coming-soon)
•[Citing AgileRL](#citing-agilerl)

## Benchmarks

### LLM Fine-tuning

AgileRL's multi-turn LLM training enables state-of-the-art performance on long-horizon tasks with small models. In the following example, AgileRL's CISPO was benchmarked against ART and TRL on the GEM Sudoku Hard task. This is a difficult multi-turn problem, which requires a context length of 32k tokens and up to 50 turns per rollout. The sync AgileRL run is a single agent using the AgileRL framework. The async and HPO runs were performed on Arena, AgileRL's RLOps platform. All runs used the same starting hyperparameters. AgileRL runs were run on A100 40GB nodes, whereas ART and TRL required A100 80GB nodes due to a lack of optimizations. AgileRL runs significantly outperformed those using the ART and TRL frameworks.

### Classic RL

Reinforcement learning algorithms and libraries are usually benchmarked once the optimal hyperparameters for training are known, but it often takes hundreds or thousands of experiments to discover these. This is unrealistic and does not reflect the true, total time taken for training. What if we could remove the need to conduct all these prior experiments?

In the charts below, a single AgileRL run, which automatically tunes hyperparameters, is benchmarked against Optuna's multiple training runs traditionally required for hyperparameter optimization, demonstrating the real time savings possible. Global steps is the sum of every step taken by any agent in the environment, including across an entire population.

AgileRL offers an order of magnitude speed up in hyperparameter optimization vs popular reinforcement learning training frameworks combined with Optuna. Remove the need for multiple training runs and save yourself hours.

AgileRL also supports multi-agent reinforcement learning using the Petting Zoo-style (parallel API). The charts below highlight the performance of our MADDPG and MATD3 algorithms with evolutionary hyper-parameter optimisation (HPO), benchmarked against epymarl's MADDPG algorithm with grid-search HPO for the simple speaker listener and simple spread environments.

## Get Started

To see the full AgileRL documentation, including tutorials, visit our [documentation site](https://docs.agilerl.com/). To ask questions and get help, collaborate, or discuss anything related to reinforcement learning, join the [AgileRL Discord Server](https://discord.gg/eB8HyTA2ux).

Install as a package with pip:

pip install agilerl

Or install in development mode:

git clone https://github.com/AgileRL/AgileRL.git && cd AgileRL
pip install -e .

AgileRL ships optional dependency groups that you can install as needed:

InstallationDescription
agilerl[box2d]Box2D physics engine for Gymnasium environments

관련 아이템