Skip to content
cccskills
FreePublished on GitHub

agilerl

Use AgileRL for reinforcement learning workflows: classical RL training, evolutionary HPO, evolvable networks, multi-agent PettingZoo training, offline/bandit data, and LLM fine-tuning.

The English summary is being prepared. Showing the original description.

See how to install

Files included (43)

  • SKILL.md4.7 KB
  • references/benchmarking.md1.8 KB
  • references/package-overview.md2.9 KB
  • references/repo-provenance.md1.0 KB
  • references/repo-routing-metadata.json513 B
  • references/troubleshooting.md2.8 KB
  • scripts/check_agilerl_install.py2.8 KB
  • sub-skills/evolvable-modules/references/api-reference.md1.5 KB
  • sub-skills/evolvable-modules/references/configuration.md1.4 KB
  • sub-skills/evolvable-modules/references/modules-and-networks.md2.3 KB
  • sub-skills/evolvable-modules/references/troubleshooting.md1.5 KB
  • sub-skills/evolvable-modules/scripts/inspect_evolvable_builders.py2.1 KB
  • sub-skills/evolvable-modules/SKILL.md2.3 KB
  • sub-skills/hpo-and-mutation/references/api-reference.md1.4 KB
  • sub-skills/hpo-and-mutation/references/hpo-workflows.md2.2 KB
  • sub-skills/hpo-and-mutation/references/troubleshooting.md1.9 KB
  • sub-skills/hpo-and-mutation/scripts/inspect_hpo_setup.py2.0 KB
  • sub-skills/hpo-and-mutation/SKILL.md2.7 KB
  • sub-skills/llm-fine-tuning/references/api-reference.md1.2 KB
  • sub-skills/llm-fine-tuning/references/configuration.md1.4 KB
  • sub-skills/llm-fine-tuning/references/troubleshooting.md1.7 KB
  • sub-skills/llm-fine-tuning/references/workflows.md1.7 KB
  • sub-skills/llm-fine-tuning/scripts/inspect_llm_dependencies.py2.0 KB
  • sub-skills/llm-fine-tuning/SKILL.md2.1 KB
  • sub-skills/multi-agent-and-wrappers/references/api-reference.md1.1 KB
  • sub-skills/multi-agent-and-wrappers/references/configuration.md1.2 KB
  • sub-skills/multi-agent-and-wrappers/references/troubleshooting.md1.6 KB
  • sub-skills/multi-agent-and-wrappers/references/workflows.md1.9 KB
  • sub-skills/multi-agent-and-wrappers/scripts/inspect_multi_agent_setup.py2.2 KB
  • sub-skills/multi-agent-and-wrappers/SKILL.md2.5 KB
  • sub-skills/offline-bandits-data/references/api-reference.md1.0 KB
  • sub-skills/offline-bandits-data/references/data-formats.md1.5 KB
  • sub-skills/offline-bandits-data/references/troubleshooting.md1.2 KB
  • sub-skills/offline-bandits-data/references/workflows.md1.8 KB
  • sub-skills/offline-bandits-data/scripts/inspect_bandit_setup.py2.0 KB
  • sub-skills/offline-bandits-data/SKILL.md2.2 KB
  • sub-skills/training-workflows/references/api-reference.md2.2 KB
  • sub-skills/training-workflows/references/configuration.md1.7 KB
  • sub-skills/training-workflows/references/distributed-training.md1.2 KB
  • sub-skills/training-workflows/references/troubleshooting.md1.7 KB
  • sub-skills/training-workflows/references/workflows.md3.1 KB
  • sub-skills/training-workflows/scripts/agilerl_classic_smoke.py2.9 KB
  • sub-skills/training-workflows/SKILL.md3.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

  • Install: pip install agilerl.
  • Optional LLM stack: pip install "agilerl[llm]" only when the task uses GRPO/CISPO/GSPO, DPO/SFT, vLLM, PEFT, DeepSpeed, or transformer datasets.
  • Import check: python -c "import agilerl, importlib.metadata as md; print(md.version('agilerl'))".
  • Read references/package-overview.md for the algorithm family map, references/troubleshooting.md for cross-cutting dependency/backend issues, and references/repo-provenance.md when checking whether this skill is stale.
  • Run scripts/check_agilerl_install.py --help for a safe local capability probe; it does not train, download models, or require the source checkout.

Route By Task

User taskRead
Train PPO, DQN, RainbowDQN, DDPG, or TD3 on Gymnasium; wire create_population, train_on_policy, train_off_policy, replay/rollout buffers, or distributed classical trainingsub-skills/training-workflows/SKILL.md
Configure tournament selection, mutations, mutable RL hyperparameters, architecture mutation probabilities, or population evolutionsub-skills/hpo-and-mutation/SKILL.md
Build custom EvolvableModule/EvolvableNetwork objects, net_config, MLP/CNN/LSTM/MultiInput/SimBa configs, actors, critics, or DummyEvolvable wrapperssub-skills/evolvable-modules/SKILL.md
Use PettingZoo multi-agent training, MADDPG, MATD3, IPPO, AsyncPettingZooVecEnv, agent id grouping, or AgileRL wrapperssub-skills/multi-agent-and-wrappers/SKILL.md
Use offline datasets, HDF5/Minari conversion, replay filling, CQL/ILQL, contextual bandits, NeuralUCB, NeuralTS, or BanditEnvsub-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 envssub-skills/llm-fine-tuning/SKILL.md
Compare benchmark scripts or adapt performance runs safelyreferences/benchmarking.md

Common AgileRL Building Blocks

  • Algorithms: PPO, DQN, RainbowDQN, DDPG, TD3, CQN, ILQL, NeuralUCB, NeuralTS, MADDPG, MATD3, IPPO, GRPO, CISPO, GSPO, LLM PPO, REINFORCE, SFT, and DPO.
  • Population setup usually starts with agilerl.utils.utils.create_population(...) and a Gymnasium or PettingZoo observation/action space.
  • Evolution usually combines TournamentSelection(...) and Mutations(...); use HyperparameterConfig and RLParameter for mutable algorithm attributes.
  • Network configuration usually uses net_config with encoder_config, head_config, and optional recurrent/CNN/MultiInput fields.
  • Training helpers return trained populations and fitness metrics; full training can be long, so prefer import/config/smoke checks before launching runs.

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

  • Install/import, Python version, missing optional extras, Torch/Gymnasium/PettingZoo/JAX/W&B issues: references/troubleshooting.md.
  • Training shape/config errors: sub-skills/training-workflows/references/troubleshooting.md.
  • Mutation/HPO mistakes: sub-skills/hpo-and-mutation/references/troubleshooting.md.
  • Network architecture/config mistakes: sub-skills/evolvable-modules/references/troubleshooting.md.
  • Multi-agent env/wrapper mistakes: sub-skills/multi-agent-and-wrappers/references/troubleshooting.md.
  • Offline/bandit data schema mistakes: sub-skills/offline-bandits-data/references/troubleshooting.md.
  • LLM optional dependency and backend mistakes: sub-skills/llm-fine-tuning/references/troubleshooting.md.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

3ddfa

Free

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

acme

Free

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill