AReaL Repo Skill
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.
First questions to answer
- Workflow type: config-driven post-training, custom dataset/reward/workflow, backend/distributed debugging, or v2 service operation?
- Runtime variant: SGLang CUDA, vLLM CUDA, training-only CUDA, CPU/import-only inspection, sandbox, or vendor accelerator branch?
- Resource shape: local/Ray/Slurm, nodes, GPUs per node, shared storage, model path, and whether rollout and training roles are separated or colocated?
- Safety: is this only a command/config review, or may the agent start services, run training, download data/models, or use credentials?
Install and import baseline
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