executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
arealUse AReaL for large-scale asynchronous LLM reinforcement learning, agentic RL, distributed post-training, inference/agent services, backend planning, and customization workflows.
Independent GitHub snapshot · Automated classification · Original documentation governs
AReaL is a Python framework for asynchronous reinforcement learning and post-training of LLM, VLM, and agentic systems. Use this skill when a task asks how to configure, run, customize, or debug AReaL experiments, services, datasets, rewards, workflows, or distributed backends.
This generated skill is self-contained operating guidance. Do not depend on the original checkout being present; use the bundled references and scripts here.
AReaL supports Python >=3.11,<3.13. For real training and inference, prefer the project runtime image or a uv environment matching the intended backend variant.
Common install choices:
# Default CUDA runtime: training packages plus SGLang inference.
uv sync --extra cuda
# vLLM variant: use the vLLM project manifests before syncing.
cp pyproject.vllm.toml pyproject.toml
cp uv.vllm.lock uv.lock
uv sync --extra cuda
# CPU/import-oriented development only; not proof of backend runtime.
uv sync
Minimal import smoke after installation:
python - <<'PY'
import areal
from areal.api.cli_args import GRPOConfig, SFTConfig
print(areal.__version__)
print(GRPOConfig.__name__, SFTConfig.__name__)
PY
For a safe environment and CLI check that does not launch training or services, run scripts/areal_env_doctor.py.
| User task | Read next |
|---|---|
| Run or adapt GRPO/PPO/SFT/DPO/RW experiments, choose trainer/config class, validate YAML and overrides, checkpoint/logging/recovery | sub-skills/post-training-experiments/SKILL.md |
Add or debug datasets, reward functions, RLVRWorkflow, VisionRLVRWorkflow, multi-turn/tool workflows, or agent framework integrations | sub-skills/custom-data-rewards-workflows/SKILL.md |
| Choose FSDP/Megatron/Archon/SGLang/vLLM backends, parse backend strings, plan GPU allocation, debug CUDA/NCCL/OOM/LoRA/FP8/weight sync | sub-skills/distributed-engines-backends/SKILL.md |
Operate areal inf, areal agent, areal train, model registration, service state/logs/status, online RL sessions, Hermes-style loops | sub-skills/services-cli-operations/SKILL.md |
references/package-overview.md: AReaL architecture, package layout, public entry points, and installed-package facts.references/configuration-cheatsheet.md: shared config classes, override syntax, backend fields, and cross-skill config rules.references/troubleshooting.md: cross-cutting install/import, backend variant, config, GPU, service, checkpoint, and credential failure modes.references/repo-provenance.md: source snapshot and evidence baseline for refresh decisions.scheduler.type=local|ray|slurm.ArealOpenAI only for legacy/framework-specific cases.scripts/areal_env_doctor.py: import/CLI/backend visibility check.sub-skills/post-training-experiments/scripts/validate_experiment_config.py: safe config/override validator.sub-skills/custom-data-rewards-workflows/scripts/check_workflow_contract.py: dataset/reward/workflow import and sample-contract checker.sub-skills/distributed-engines-backends/scripts/check_backend_plan.py: backend-string and GPU-demand checker.sub-skills/services-cli-operations/scripts/check_service_cli.py: static service CLI/TOML command checker.When you cannot verify a capability locally, be explicit: