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

# Module api

> Public API for the NeMo Relay runtime.

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

Public API for the NeMo Relay runtime.

## Modules

* [event](/reference/api/rust-library-reference/nemo-relay/api/event): Lifecycle event types and builder-backed event constructors. Event types for Agent Trajectory Observability Format (ATOF) runtime events.
* [llm](/reference/api/rust-library-reference/nemo-relay/api/llm): LLM lifecycle helpers and managed execution entry points.
* [registry](/reference/api/rust-library-reference/nemo-relay/api/registry): Global and scope-local middleware registration helpers. Middleware registry helpers for global and scope-local guardrails, intercepts, and subscribers.
* [runtime](/reference/api/rust-library-reference/nemo-relay/api/runtime): Advanced runtime state, callbacks, and scope-stack helpers. Advanced runtime state, callbacks, and scope-stack helpers.
* [scope](/reference/api/rust-library-reference/nemo-relay/api/scope): Scope stack lifecycle and mark-event entry points.
* [subscriber](/reference/api/rust-library-reference/nemo-relay/api/subscriber): Global and scope-local event subscriber registration helpers.
* [tool](/reference/api/rust-library-reference/nemo-relay/api/tool): Tool lifecycle helpers and managed execution entry points.