nemo-relay-plugin-adaptive-tuning
Use this skill when baseline NeMo Relay instrumentation exists and the user wants to configure or evaluate adaptive plugin behavior, including telemetry, state, adaptive_hints, tool_parallelism, ACG, hint consumption, or measured rollout.
- 0
- Installs
- —
- Rating
- —
- Success rate
- 6
- Files scanned
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 5773a010643b3c4a… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
SKILL.md
Tune Adaptive Plugin Behavior
Use This When
Use this skill when a user has baseline NeMo Relay instrumentation and wants to improve latency, parallelism, prompt-cache behavior, or model-request behavior from runtime signals. Keep adaptive behavior measured against a known baseline.
Do Not Use This When
Do not use this skill when the application is not instrumented yet. Start with
nemo-relay-instrument-calls or nemo-relay-get-started first.
Default Guidance
- Observe first, compare against a baseline, then enable one behavior change at a time.
- Use the adaptive plugin component rather than inventing separate tuning logic or hand-registering adaptive behavior at every call site.
- Start with in-memory state and telemetry-only behavior for local development.
- Move to persistent state only when learned signals must survive restarts or be shared across workers.
- Add active behavior only after representative runtime events show what should change.
Embedded Adaptive Model
- Adaptive behavior is configured through the first-party plugin component with
kind
adaptive. - Adaptive requires existing NeMo Relay scopes and at least one relevant managed tool or LLM lifecycle event stream because it learns from runtime signals.
- Main configuration areas are state, telemetry, adaptive hints, tool parallelism, Adaptive Cache Governor (ACG), and rollout policy.
- State backends are
in_memoryandredis. - Tool-parallelism modes are
observe_only,inject_hints, andschedule. - Adaptive Cache Governor providers are
passthrough,anthropic, andopenai; omit ACG until prompt-cache planning is needed. - Helper APIs exist in Rust
nemo_relay_adaptive, Pythonnemo_relay.adaptive, and Node.jsnemo-relay-node/adaptive. Go and raw FFI are source-first or advanced surfaces.
Default Path
Use this rollout sequence:
- Confirm the app emits scope events and the managed tool or LLM events needed for the behavior being evaluated. Do not require both call types when the workflow uses only one.
- Capture a baseline for the workflow you want to improve.
- Enable adaptive telemetry with in-memory state.
- Read
references/config.mdwhen exact plugin configuration fields are needed. - Run representative traffic and inspect reports or runtime events.
- If configuration validation fails or expected events are absent, return the diagnostics and stop. Keep the last known working configuration active.
- Before enabling scheduling, verify tool idempotency and race behavior. Before enabling ACG, verify that provider request payloads are stable.
- Enable the smallest behavior change in config.
- Read
references/hints.mdwhen application logic consumes adaptive hints, tool-parallelism guidance, or ACG diagnostics. - Compare results against the baseline. If latency, correctness, or failure rate regresses, restore the last known working configuration and retain the sanitized diagnostics for review.
Failure Modes To Avoid
- Do not enable scheduling before tool idempotency and race behavior are known.
- Do not enable prompt-cache planning before provider payloads are stable.
- Do not treat adaptive hints as mandatory instructions unless the consuming path explicitly defines that contract.
- Do not use environment variables as the primary adaptive configuration model.
- Do not tune from a single run or unrepresentative traffic.
- Do not suppress or replace original tool and model errors.
- Do not add retries until the call owner defines their safety.
- Revert adaptive behavior when it increases the failure rate.
Load A Reference When
- You need the exact adaptive config shape ->
references/config.md - You need to consume adaptive hints or scheduling guidance in app logic ->
references/hints.md
Use Another Skill When
- You need to build reusable plugin behavior instead of configuring the built-in
adaptive component ->
nemo-relay-plugin-build
Related Skills
nemo-relay-get-startednemo-relay-instrument-callsnemo-relay-plugin-observabilitynemo-relay-plugin-build
Files
6- BENCHMARK.md
c24bacb6193.8 KB - SKILL.md
4b4f4ac9ca4.4 KB - evals/evals.json
d59e23d47116.5 KB - references/config.md
f9d7e75ece3.3 KB - references/hints.md
79e68279332.7 KB - skill-card.md
7c64b334514.0 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from NVIDIA/skills8
Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration, dask-cuDF, ETL, joins, groupby, CSV/Parquet I/O, nullable semantics, and multi-GPU DataFrame workloads.
Use when asked to install, deploy, run, validate, troubleshoot, or stop NVIDIA AI-Q Blueprint infrastructure.
Use when asked to run deep research or AI-Q research through a reachable NVIDIA AI-Q Blueprint backend.
Customize NVIDIA Nemotron Voice Agent's Generic Pipecat example for healthcare appointment, five-field patient intake, or custom tool-calling workflows without a separate backend.
Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use when the user provides RTSP URLs or asks to calibrate live cameras; VIOS records clips, AMC ingests them, then runs calibration.
Run end-to-end calibration on the shipped sample dataset (sdg_08_2_sample_data_010926.zip) against a running AMC microservice. Use when user says 'test sample dataset', 'run sample calibration', 'verify AMC install', or 'launch and test'.
Calibrates pre-recorded `cam_*.mp4` datasets through the AutoMagicCalib REST API. Use for user-supplied local MP4s; route live RTSP streams to `amc-run-rtsp-calibration`.
Launch AutoMagicCalib microservice and web UI from NGC release images via Docker Compose. Use when user says 'deploy auto calibration', 'launch auto calibration', 'launch AMC', 'start MS+UI', or 'set up auto-magic-calib'. Requires NGC API key.
Related knowledge skillsscan passed
PostHog error tracking for Hono
[DEPRECATED - use continuous-learning-v2] Legacy v1 stop-hook skill extractor. v2 is a strict superset with instinct-based, project-scoped, hook-reliable learning. Do not invoke v1: when continuous learning, session learning, or pattern extraction is requested, route to continuous-learning-v2 instea