redai-studio/relax/agentic-rollout

Claude Code and agent skill by redai-studio/relax

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Assess an agent, bridge it into Relax, check launch readiness, and demonstrate resident Agentic rollout with evidence. Use when evaluating an agent app before integration, authoring an Agentic recipe or resource adapter, connecting an external agent with --use-agentic-rollout, auditing model-visible context linearity or SessionForest export, checking remote or large-scale resident concurrency, or preparing an Agentic experiment.

Install

npx vskill@latest install redai-studio/relax/agentic-rollout

SKILL.md

The same SKILL.md was published earlier as redai-studio/relax/agentic-rollout.

Agentic rollout

Work in stages. Identify the user's current stage from the request and available artifacts before reading or changing code.

Stage router

User stateEnter
Agent is not connected to RelaxStage A: Assess the Agent
User asks to implement the connectionStage A quick gate, then Stage B: Bridge into Relax
Integration exists and user asks whether it is safe to runStage C: Check before Launch
User explicitly asks to run an experimentStage C must pass, then Stage D: Demonstrate with an Experiment
Experiment is stalled or failedDiagnose the Agentic layer first, then route Ray evidence to debug-hang

Start every response with the current stage letter and name, evidence available, and blocking unknowns. Do not repeat a completed stage when its evidence is still current; recheck drift-prone configuration and runtime state.

Non-negotiable boundaries

  • Inspect the current checkout, diff, and exact source before making claims.
  • Treat model-facing messages, tools, and chat_template_kwargs as the context contract. Python calls and internal agent objects are not substitutes.
  • Treat reasoning and tool-call parsers as part of the model/chat-template contract. A basic text response does not

prove parser compatibility.

  • Distinguish logical prompt Groups, physical Session slots, model requests, exported contexts, and training rows.

--agentic-concurrency counts Groups across Prepare and Runtime. Leased members generate independently when ready; external executors own physical task quotas.

  • The launched --agent-command cleans up its tools, descendants, containers and remote jobs, both on natural exit

and when Relax sends SIGTERM because of a timeout or another reason. Relax fallback cleanup runs after logical retirement; cleanup failures warn without holding Group capacity or invalidating exports.

  • Apply export, advantage, and dynamic-batching rules to exported contexts per Session. The number of resident Sessions is a different dimension.
  • Choosing resident Agentic rollout (--use-agentic-rollout) gives Agentic ownership of train and Eval generation;

--custom-generate-function-path is ignored on this path.

  • Distinguish the timeout of each Relax-facing model API request from --agent-timeout. The former must let one request

survive prelaunch, partial, or fully-async holds; the latter is a Runtime active-time safety budget intended to contain a stuck agent loop or tool execution.

  • Identify whether the agent uses Chat Completions, OpenAI Responses, or Anthropic Messages, and compare its payload

with the supported fields, Items, and blocks. Record the request's stream setting and require complete history on every request. Use runtime-operations.md for transport-specific response checks.

  • Inspect fixed internal widths only when the large-scale risk gate is triggered.
  • Keep this skill Agentic-specific. Route RL algorithms, OPD/TIS/loss details, generic TransferQueue sampling, model backends, and Ray scheduling to their dedicated experts or skills after checking the Agentic boundary.
  • Never assume a remote agent platform has enough slots. Unknown capacity produces an UNVERIFIED Stage C result.
  • Do not launch a remote experiment unless the user explicitly requests it. Load relax-dev-debug for code changes or remote validation.
  • Respect explicit edit and test boundaries. Validation does not authorize adding tests or changing unrelated files.

Stage A: Assess the Agent

Goal: decide whether the existing agent can connect without corrupting context, export, or execution semantics.

  1. Read the agent entry point, Relax-facing agent client, its request and outer task timeouts, tool loop, context store,

compaction/retry logic, and final-output path.

  1. Capture or reconstruct exact model request and response payloads. Prefer the HTTP payload over internal message

classes. Record the endpoint, protocol, stream value, authentication header, complete-history representation, reasoning/tool blocks, and missing, null, or zero-length content. Resolve the final request URL after client-specific path handling; determine whether the client appends its resource path or constructs the endpoint itself, and verify that the Relax route prefix is preserved.

  1. Determine the raw reasoning and tool-call syntax produced by the model under the exact chat template. Identify the

compatible SGLang parser names or prove that no parser is required.

  1. Read context-linearity.md and classify every transition as append, intentional fork, accidental fork, or reset.
  2. Read integration-contract.md and compare the agent with the Relax input, API, and output contracts.
  3. Read runtime-operations.md and check whether the agent client relies on unsupported API or process behavior.
  4. Determine whether execution is local per Session or submitted to a centralized remote platform. Record any train/Eval slot pools and hard concurrency limits.

Return:

text
Current stage: A
Stage name: Assess the Agent
Integration readiness: READY | NEEDS_CHANGES | BLOCKED
Context topology: linear | intentional branches | accidental branches | unknown
Execution shape: local | remote shared | remote dedicated | unknown
Required adaptations:
Blocking unknowns:
Next allowed stage:

Do not modify Relax or start an experiment in this stage.

Stage B: Bridge into Relax

Enter only when the user asks for implementation and Stage A has no unresolved blocker.

  1. Preserve the agent's normal model-and-tool loop.
  2. Map dataset fields with --input-key, --metadata-key, and --multimodal-keys; decide whether the harness receives

ready-to-use messages or constructs them from metadata at runtime.

  1. Use the recipe assembly and environment contracts in integration-contract.md.

Ensure the launched --agent-command cleans up resources on natural exit and on SIGTERM from Relax.

  1. Configure the agent application's client that calls RELAX_BASE_URL so the timeout of each model API request can

span every applicable prelaunch, partial-rollout, or fully-async hold. Keep this client timeout separate from --agent-timeout, which bounds the agent process's Runtime active time.

  1. Send complete histories on every model request: Chat uses messages, Responses uses typed input Items, and

Messages uses system + messages. Keep tools and applicable template arguments stable. Do not use Responses previous_response_id as a continuation mechanism.

  1. When canonicalization is needed, ask before changing developer semantics, choose a stable nonempty representation

for empty tool results, and reuse the canonical payload in later turns and explicit export.

  1. Configure --agentic-reasoning-parser and --agentic-tool-call-parser when required by the verified model/template

format. Do not copy parser names from a different model recipe.

  1. Use agentic-training-contract.md for export, advantage, logical identity, and dynamic-batching decisions. Nonlinear history requires explicit export. Custom advantage uses named explicit export records.

Explicit export remains canonical Chat-shaped messages, nested function tools, and chat_template_kwargs regardless of the request protocol. Custom advantage returns None or a list with one result mapping per sampled Session. In each mapping, an export's advantage is a scalar shared by all assistant turns or a list with one value per assistant turn. Keep every normalization input in export metadata.

  1. Decide where reward and advantages come from. For one implicitly exported context, write reward in the agent

output or configure --custom-rm-path. When using --agentic-custom-advantage-path, use explicit export and keep its inputs in export metadata. Multiple exported contexts require custom advantage and dynamic batching.

  1. Resolve Group concurrency, external executor quotas, and Eval demand separately using

external-agent-capacity.md. Do not copy a hardware example's capacity as a universal default or assume another recipe is enabled automatically.

  1. Keep the change at the adapter and recipe boundary unless the verified contract requires a core relax/agentic/** change.

Start with:

  • docs/en/guide/agentic-rollout.md
  • the closest maintained example, such as examples/mini_swe_agent/
  • integration-contract.md

Read the exact core source only when a verified incompatibility or requested core change requires it.

Stage C: Check before Launch

Goal: produce a launch verdict without starting the job.

  1. Re-read the final agent adapter and launch script.
  2. Read parameter-preflight.md. Resolve every applicable Agentic parameter after

defaults and validation, then check its dependencies and runtime evidence.

  1. Audit context linearity again from the integrated HTTP payloads.
  2. Read resident-lifecycle.md. Verify independent member generation,

Group size, generation gates, and the physical release contract.

  1. When a capacity-limited external platform is used, read

external-agent-capacity.md. With local execution, report external quotas as N/A but still check the host budget and release owner.

  1. Read large-scale-rollout.md if and only if the projected or observed load is

large enough to approach or exceed a fixed internal width or known validated scale envelope. Otherwise report Internal scale: N/A; prelaunch, production use, or a "large-scale" label alone does not activate this check.

  1. When the agent uses explicit export, nonlinear history, multiple contexts, custom advantage, --log-passrate, a reward

object or --reward-key, a configured RM, or --group-rm, read agentic-training-contract.md.

  1. Read runtime-operations.md. Verify protocol and transport compatibility, the

per-request Relax-facing client timeout, reasoning/tool-call parsers, the agent process timeout, optional KV/admission flags, errors, and observable evidence.

  1. When prelaunch, partial rollout, or fully async is enabled, read partial-and-async-lifecycle.md and verify the applicable cross-step state transitions.
  2. Report unknown remote capacity, internal scale evidence, or networking as blockers rather than optimistic assumptions.

Return:

text
Current stage: C
Stage name: Check before Launch
Verdict: PASS | UNSAFE | UNVERIFIED
Agentic parameters: PASS | NEEDS_CHANGES | UNVERIFIED
Context linearity: PASS | NEEDS_CHANGES | UNVERIFIED
External executor capacity: PASS | UNSAFE | UNVERIFIED | not applicable
Resource release contract: PASS | NEEDS_CHANGES | UNVERIFIED
External capacity: PASS | UNSAFE | UNVERIFIED | N/A
Internal scale: PASS | UNSAFE | UNVERIFIED | N/A
Internal width changes: N/A | see conditional large-scale result
Relax-facing per-request timeout: PASS | UNSAFE | UNVERIFIED
Reasoning/tool-call parsers: PASS | NEEDS_CHANGES | UNVERIFIED | N/A
Export/advantage/batching: PASS | NEEDS_CHANGES | UNVERIFIED
Required slots:
Configured slots:
Blocking items:
Ready to launch: yes | no

Stage D: Demonstrate with an Experiment

Enter only after explicit user authorization and a passing Stage C check. Use the environment-specific launch skill when one exists; otherwise follow relax-dev-debug and ssh-ray-cluster constraints.

Validate in order:

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
635
Repository forks
174
7-day trend score
37

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/redai-studio/relax/agentic-rollout/badge)](https://verified-skill.com/skills/redai-studio/relax/agentic-rollout)

Something wrong with this skill or its page? Tell us.