Ai optimizer

From VectorSpaceLab/AREX-Skill · View interactive version

Ai optimizer is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Route AI-Optimizer reinforcement-learning collection tasks across model-based RL, easy-MARL, offline RL, safe command builders, and repository limitations.

How to use this skill

Skill file

AI-Optimizer

Use this repo skill when a task names AI-Optimizer or asks for help with its reinforcement-learning algorithm collection: model-based RL, easy-MARL multi-agent RL, offline RL, algorithm selection, command construction, dataset/schema checks, dependency caveats, or safe static verification before running experiments.

AI-Optimizer is a research-code collection rather than one installable Python distribution. Treat each algorithm family as its own runtime surface with separate dependencies and simulator/data requirements.

Route by task

| User request mentions | Read |

|---|---|

| Dreamer, ED2-Dreamer, PlaNet, MuZero, Sampled MuZero, MBPO, ED2-MBPO, BMPO, CaDM, world models, learned dynamics, planning, model-based baselines | model-based-rl |

| MARL, easy-MARL, IDQN, VDN, QMIX, CommNet, IDDPG, MADDPG, IPPO, MAPPO, MAGYM, MPE, scenario names, multi-agent training commands | multi-agent-rl |

| Offline RL, batch RL, D4RL, MDPDataset, d3rlpy-derived APIs, BCQ, BEAR, CQL, AWAC, REDQ, UWAC, ISPI, COMBO, MOPO, E2O, PEX, offline-to-online | offline-rl |

| Unsure where a folder or algorithm belongs, or need a high-level map of checked-in and empty areas | repository-map.md |

| Import/install/backend/data failures shared across algorithm families | troubleshooting.md |

| Staleness, source commit, dirty state, or evidence-path audit | repo-provenance.md |

Safe default workflow

  1. Identify the algorithm family and route to the matching sub-skill.
  2. Use bundled command builders or validators before running original training code:
  1. Run scripts/check_ai_optimizer_static.py when checking a generated skill tree or a target checkout layout without launching training.
  2. Before executing any printed command, verify the target runtime environment for that algorithm family. Do not assume dependencies are shared across subdirectories.
  3. Treat full RL training, simulator execution, CUDA allocation, dataset downloads, and background experiment launches as deliberate heavy actions that need task-specific approval and resources.

Important constraints

Minimal inspection checks

For a target AI-Optimizer checkout, prefer safe checks before training:

python scripts/check_ai_optimizer_static.py --source-root /path/to/AI-Optimizer
python sub-skills/multi-agent-rl/scripts/build_easy_marl_command.py --agent-name IDQN --env-name discrete_meeting
python sub-skills/model-based-rl/scripts/build_muzero_command.py --env CartPole-v1 --case classic_control --opr train --no-cuda --force
python sub-skills/offline-rl/scripts/build_offline_rl_command.py bcq --dataset halfcheetah-medium-v2 --seed 0 --omit-gpu

The printed commands are recipes for a target checkout. The helpers do not install dependencies, start environments, download datasets, run training, or write model outputs.

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.