rllm
Use rLLM for language-agent evaluation, dataset/task management, RL/SFT post-training, CLI setup, and gateway-backed rollout tracing.
Files24
View on GitHubSKILL.md08-移动开发/rllm/SKILL.md
GitHubrLLM
Use this root skill when a task names rLLM, rllm, rllm-model-gateway, AgentFlow, @rllm.rollout, rllm eval, rllm dataset, rllm train, rllm sft, Tinker, Verl, Fireworks, sandboxed language-agent benchmarks, or the rLLM CLI.
This is a router, not a full manual. First classify the request, then read the focused sub-skill and only the references needed for that workflow.
Fast Start
Check installation scope. Read
references/installation-and-environment.mdbefore installing extras. Core eval/data workflows are lighter than Tinker/Verl/Fireworks/AgentCore training workflows.Run a safe smoke check when setup is uncertain:
python scripts/rllm_smoke_check.pyThe script imports core packages, inventories CLI entry points, and reports optional backend availability without training, downloading data, or contacting providers.
Use current public APIs, not stale docs. Confirmed source facts:
rolloutandevaluatorare top-levelrllmexports;AgentConfiglives inrllm.types;SimpleWorkflowis imported fromrllm.workflows.simple_workflow, not directly fromrllm.workflows.Keep credentials explicit. Provider API keys, Tinker/Fireworks credentials, UI login, and remote sandbox services are never implied by a successful import check.
Treat full training as backend-specific. CPU/import tests can validate guidance, but local
verl, Tinker, Fireworks, AgentCore, and long distributed runs require their actual backend/runtime evidence.
Route By Task
- Evaluate agents and author AgentFlows: read
sub-skills/evaluation/SKILL.mdfor@rllm.rollout,@rllm.evaluator,AgentFlow,Task,Episode,Trajectory,rllm eval, pass@k, harness selection, sandboxed eval, and saved episode/result interpretation. - Manage datasets and task layouts: read
sub-skills/datasets/SKILL.mdforrllm dataset, registered datasets, local benchmark directories,dataset.toml,task.toml, Harbor-compatible task packages, verifier metadata, and eval-to-SFT curation. - Train or fine-tune models: read
sub-skills/training/SKILL.mdforrllm train,rllm sft,AgentTrainer,AgentSFTTrainer,BackendProtocol, Tinker, Verl, Fireworks, remote runtimes, gateway-backed traces, algorithm config, and backend validation failures. - Operate the CLI around workflows: read
sub-skills/cli-ops/SKILL.mdforrllm model,rllm login,rllm init,rllm agent,rllm view, andrllm snapshotsetup/utility workflows. - Debug gateway or trace capture: start with
references/gateway-and-traces.md, then usetrainingfor end-to-end training/eval wiring orcli-opsfor provider/model configuration.
Shared References
references/cli-command-map.mdmaps every top-level CLI command to its owning sub-skill and common non-destructive help checks.references/gateway-and-traces.mdcovers the bundledrllm-model-gatewayservice, client/config types, sessions, workers, traces, and trace-conversion pitfalls.references/troubleshooting.mdcovers cross-cutting import, optional dependency, provider, sandbox, and backend errors.references/repo-provenance.mdrecords the source revision and extraction evidence used to build this skill.
Avoid
- Do not run long RL/SFT jobs, large dataset downloads, provider calls, snapshot builds, or remote sandbox provisioning unless the user explicitly wants those side effects.
- Do not tell users to read or run files from the original checkout. This skill tree contains the distilled references and safe helper scripts needed after the checkout is gone.