> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/relay/llms.txt.
> For full documentation content, see https://docs.nvidia.com/nemo/relay/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

# Trait Provider Plugin

> Provider plugin trait for backend-specific translation.

Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi`.

<pre />

Provider plugin trait for backend-specific translation.

Plugins are stateless on the forward path. They translate provider-agnostic intents into backend-native API parameters.

## Object Safety

This trait is object-safe and can be stored as `Arc<dyn ProviderPlugin>`.

## Thread Safety

The `Send + Sync` bounds allow plugins to be shared across async tasks and threads.

## Required Methods

#### `plugin_id`

<pre />

Unique identifier for this plugin (e.g., "anthropic", "openai", "passthrough").

#### `plugin_name`

<pre />

Human-readable name for this plugin.

#### `translate`

<pre />

Translate intents into backend-native API parameters.

#### `capabilities`

<pre />

Report the capabilities of the backend this plugin targets.

## Implementors

### `impl ProviderPlugin for AnthropicCachePlugin`

<pre />

### `impl ProviderPlugin for OpenAICachePlugin`

<pre />

### `impl ProviderPlugin for PassthroughPlugin`

<pre />