> 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 AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

# nemo-relay-worker-proto

> Versioned gRPC protocol for NeMo Relay out-of-process worker plugins.

Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker`.

Versioned gRPC protocol for NeMo Relay out-of-process worker plugins.

The protobuf schema owns transport control flow. Relay data transfer objects are carried as JSON envelopes so `nemo-relay-types` remains the shared source of truth for event, LLM, tool, scope, and plugin diagnostic data shapes.

## Modules

* [v1](/reference/api/rust-library-reference/nemo-relay-worker-proto/v1): Generated protobuf and gRPC service definitions.

## Constants

* [WORKER\_PROTOCOL\_GRPC\_V1](/reference/api/rust-library-reference/nemo-relay-worker-proto/constant-worker-protocol-grpc-v1): Stable worker protocol identifier accepted by `compat.worker_protocol`.

## Functions

* [decode\_json\_envelope](/reference/api/rust-library-reference/nemo-relay-worker-proto/fn-decode-json-envelope): Decodes a JSON envelope into the requested DTO type.
* [json\_envelope](/reference/api/rust-library-reference/nemo-relay-worker-proto/fn-json-envelope): Creates a JSON envelope from a serializable DTO.