Agilerl

From VectorSpaceLab/AREX-Skill · View interactive version

Agilerl is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Use AgileRL for reinforcement learning workflows: classical RL training, evolutionary HPO, evolvable networks, multi-agent PettingZoo training, offline/bandit data, and LLM fine-tuning.

How to use this skill

Skill file

AgileRL

Use this repo skill when a task involves AgileRL, agilerl, evolutionary hyperparameter optimization for RL, Gymnasium/PettingZoo training with AgileRL algorithms, AgileRL evolvable modules/networks, offline RL datasets, contextual bandits, or AgileRL LLM post-training.

Quick Start

Route By Task

| User task | Read |

| --- | --- |

| Train PPO, DQN, RainbowDQN, DDPG, or TD3 on Gymnasium; wire create_population, train_on_policy, train_off_policy, replay/rollout buffers, or distributed classical training | sub-skills/training-workflows/SKILL.md |

| Configure tournament selection, mutations, mutable RL hyperparameters, architecture mutation probabilities, or population evolution | sub-skills/hpo-and-mutation/SKILL.md |

| Build custom EvolvableModule/EvolvableNetwork objects, net_config, MLP/CNN/LSTM/MultiInput/SimBa configs, actors, critics, or DummyEvolvable wrappers | sub-skills/evolvable-modules/SKILL.md |

| Use PettingZoo multi-agent training, MADDPG, MATD3, IPPO, AsyncPettingZooVecEnv, agent id grouping, or AgileRL wrappers | sub-skills/multi-agent-and-wrappers/SKILL.md |

| Use offline datasets, HDF5/Minari conversion, replay filling, CQL/ILQL, contextual bandits, NeuralUCB, NeuralTS, or BanditEnv | sub-skills/offline-bandits-data/SKILL.md |

| Plan LLM fine-tuning/post-training with GRPO, CISPO, GSPO, LLM PPO, REINFORCE, SFT, DPO, vLLM, DeepSpeed, PEFT, or AgileRL LLM envs | sub-skills/llm-fine-tuning/SKILL.md |

| Compare benchmark scripts or adapt performance runs safely | references/benchmarking.md |

Common AgileRL Building Blocks

Safe Validation Pattern

  1. Check installation and optional dependency availability with scripts/check_agilerl_install.py.
  2. Validate spaces, algorithm names, INIT_HP, net_config, and HPO configs with the nearest sub-skill helper script.
  3. Run tiny constructor/import checks before full training.
  4. Treat demos, tutorials, benchmark launchers, and original repo tests as evidence only; do not depend on the AgileRL source checkout from this generated skill.
  5. For long training, LLM, GPU, vLLM, DeepSpeed, Minari remote, UCI, or benchmark tasks, document required hardware/data/network first and ask before expensive execution.

Troubleshooting First Reads

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.