reasoning-agent-workflows
Enables future agents to operate RLinf reasoning, agentic RL, coding online RL, rollout backend, SFT, reward, and service workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- reasoning-agent-workflows
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Enables future agents to operate RLinf reasoning, agentic RL, coding online RL, rollout backend, SFT, reward, and service workflows.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/reasoning-agent-recipes.md14.2 KB
- 参考文档references/rollout-backends-and-data.md12.6 KB
- 参考文档references/sft-offline-reward.md8.0 KB
- 参考文档references/troubleshooting.md12.0 KB
- 脚本scripts/inspect_agentic_config.py23.9 KB
03 SKILL.md 正文
RLinf reasoning and agent workflow router
Use this sub-skill when a task involves RLinf text reasoning, VLM reasoning, agentic RL, coding online RL, SearchR1/rStar2/WideSeek-R1 style tool workflows, AgentLightning, rollout backends, SFT/VLM SFT, or reward/service integration.
Route first
- Install, Ray startup, node groups, generic placement syntax, and cluster health belong to the
setup-and-clustersub-skill. - Embodied simulator, robot, action-space, and VLA environment details belong to
embodied-workflows. - Metrics, checkpoints, standalone evaluation operations, profiling, CI selection, and runtime log triage belong to
operations-evaluation-debugging. - Registering a new model, environment, reward, algorithm, runner, worker, or tool parser belongs to
extension-development.
Operating loop
- Classify the workflow: math/VQA reasoning RL, PPO with critic, multi-turn agentic RL, coding online RL, AgentLightning, SFT/VLM SFT, or reward-model training.
- Inspect the user-supplied YAML with
scripts/inspect_agentic_config.pybefore launching any expensive run. - Verify prerequisites: model/tokenizer paths, dataset format, required service endpoints, judge/search/code-execution credentials, and rollout backend memory budget.
- Build or edit only the user’s target config/launcher. Use the bundled references below rather than asking future agents to open source examples or docs.
- Escalate to setup/operations/extension sub-skills for out-of-scope cluster, evaluation, or source-code-extension work.
Bundled references
references/reasoning-agent-recipes.md— recipe concepts for math/VQA GRPO/PPO, coding online RL, AgentLightning, SearchR1, rStar2, and WideSeek-R1.references/rollout-backends-and-data.md— SGLang/vLLM backend choices, actor/rollout/inference/reward data flow, dataset schemas, and service prerequisites.references/sft-offline-reward.md— SFT/VLM SFT, offline code validation, LoRA, reward-model training, and reward registry intersections.references/troubleshooting.md— reasoning/agentic-specific failure triage for sequence lengths, logprobs, services, backend OOMs, data loading, and AgentLightning.
Safe helper
scripts/inspect_agentic_config.pyreads one or more YAML files and reports task type, actor/rollout backends, length budget, algorithm settings, external services, and risky missing fields. It is static and non-mutating.
Evidence basis: distilled from RLinf v0.4.0 public configuration examples, English guides, runner/worker source, reasoning/VLM dataset loaders, reward registry, agent tool loops, rollout workers, and e2e configuration families.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).