Nemo relay instrument calls

From NVIDIA/skills · View interactive version

Nemo relay instrument calls is an AI agent skill from the GitHub repository NVIDIA/skills. Use this skill when an application owns tool or LLM/provider call sites and needs to wrap them with NeMo Relay scopes and managed execution APIs for lifecycle events, middleware, or guardrails.

How to use this skill

Skill file

Instrument Tool And LLM Calls

Use this skill when an app already has tool functions or model/provider calls and

needs to run them through NeMo Relay correctly.

Keep the original callable behavior stable while adding Relay lifecycle capture.

Default Guidance

llm_call_execute(LlmCallExecuteParams::builder()...)

managed execute helpers.

Embedded Runtime Semantics

the raw input. If rejected, the runtime emits a standalone mark event and does

not run request intercepts or the callable.

that reaches execution intercepts and the callback.

not rewrite the caller-visible request or arguments.

may short-circuit by returning their own result.

returned to application code remains the raw callback or execution-intercept

result.

emits an end event without a semantic output payload.

Keep the original tool callable responsible for business logic; let NeMo Relay

own lifecycle events, middleware, and metadata.

and stable call identifiers when they matter for trace export or diagnostics.

If you use them, every start call needs a matching end or error path with the

relevant semantic payloads supplied explicitly.

conditional_execution(...) are for advanced adapters that need one middleware

family before calling a provider manually.

dropping the stream early can prevent finalizers and subscribers from seeing a

complete output.

Checklist

Use Another Skill When

Choose another skill when the task requires a neighboring workflow:

failures.

worker-pool guidance.

behavior.

Related Skills

Use these skills for adjacent workflows:

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.