Skip to navigation

Use Plugins

View as Markdown

Use this section to configure and run built-in and separately installed NeMo Relay plugins. Choose a guide based on how you use plugins:

GoalStart here
Set plugin options in files or with nemo-relay plugins editConfigure
Install, inspect, enable, disable, or remove a discoverable plugin with the CLIManage
Validate, activate, and close a plugin host through a language SDKInitialize
Create a reusable pluginBuild Plugins

Built-in Plugins

Relay includes these built-in components. Configure them as [[components]] entries in plugins.toml.

  • Observability exports ATOF, ATIF, or typed OpenTelemetry data.
  • Adaptive configures adaptive runtime behavior.
  • NeMo Guardrails (Deprecated) installs Guardrails-backed policy checks. The built-in plugin is scheduled for removal in NeMo Relay 0.9 and should not be used for new deployments.
  • PII Redaction sanitizes sensitive data in observability payloads.
  • Model Pricing configures catalog sources for cost estimates on managed or manually observed LLM responses.
  • Resource Metrics explains optional polling marks and on-demand snapshots for CPU, memory, processes, disk, network, and GPUs.

First Party Plugins

First-party plugins are published separately by NVIDIA. Install and manage them with the Relay CLI for a user account or a system-wide deployment.

  • NeMo Switchyard routes model requests across models and providers. The guide covers installation, configuration, a routed request, and removal.

Use Build Plugins only when you are authoring the plugin itself. It covers generic plugin components, manifests, native ABI plugins, Python workers, and the grpc-v1 protocol.

Embedded Diagnostics Service

For language-hosted Relay, add a root [diagnostics] section to plugins.toml. Initialization uses it to select a service owned by the process. The service remains available after individual plugins close. Refer to Embedded Diagnostics for configuration precedence, startup limits, and optional readers.