Nemo relay plugin adaptive tuning

From NVIDIA/skills · View interactive version

Nemo relay plugin adaptive tuning is an AI agent skill from the GitHub repository NVIDIA/skills. 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.

How to use this skill

Skill file

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

a time.

or hand-registering adaptive behavior at every call site.

shared across workers.

change.

Embedded Adaptive Model

kind adaptive.

managed tool or LLM lifecycle event stream because it learns from runtime

signals.

parallelism, Adaptive Cache Governor (ACG), and rollout policy.

openai; omit ACG until prompt-cache planning is needed.

and Node.js nemo-relay-node/adaptive. Go and raw FFI are

source-first or advanced surfaces.

Default Path

Use this rollout sequence:

  1. 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.

  1. Capture a baseline for the workflow you want to improve.
  2. Enable adaptive telemetry with in-memory state.
  3. Read references/config.md when exact plugin configuration fields are needed.
  4. Run representative traffic and inspect reports or runtime events.
  5. If configuration validation fails or expected events are absent, return the

diagnostics and stop. Keep the last known working configuration active.

  1. Before enabling scheduling, verify tool idempotency and race behavior. Before

enabling ACG, verify that provider request payloads are stable.

  1. Enable the smallest behavior change in config.
  2. Read references/hints.md when application logic consumes adaptive hints,

tool-parallelism guidance, or ACG diagnostics.

  1. 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

path explicitly defines that contract.

Load A Reference When

references/hints.md

Use Another Skill When

adaptive component -> nemo-relay-plugin-build

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.