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

# Module runtime

> Runtime invocation helpers.

Generated from `cargo doc --no-deps -p nemo-fabric-core`.

Runtime invocation helpers.

## Structs

* [AdapterInvocation](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-adapterinvocation): One invocation against an initialized adapter runtime.
* [ArtifactManifest](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-artifactmanifest): Manifest of run artifacts.
* [ArtifactRef](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-artifactref): Reference to one artifact.
* [EnvironmentHandle](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-environmenthandle): Resolved execution environment context.
* [ErrorInfo](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-errorinfo): Normalized error metadata.
* [FabricEvent](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-fabricevent): NeMo Fabric lifecycle or progress event.
* [InvocationHandle](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-invocationhandle): One request sent to a runtime.
* [OpenAiChatCompletionChunk](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-openaichatcompletionchunk): OpenAI Chat Completions chunk accepted by the native streaming profile.
* [OpenAiChatCompletionChunkChoice](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-openaichatcompletionchunkchoice): One choice within an OpenAI Chat Completions streaming chunk.
* [OpenAiChatCompletionChunkDelta](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-openaichatcompletionchunkdelta): Incremental assistant message fields carried by one OpenAI choice.
* [OpenAiStreamInvocation](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-openaistreaminvocation): One adapter-native OpenAI streaming invocation.
* [OpenAiStreamSink](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-openaistreamsink): Adapter-facing stream sink with invocation identity generated by NVIDIA NeMo Fabric.
* [OpenAiStreamTransport](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-openaistreamtransport): SDK-owned loopback transport for one native OpenAI streaming invocation.
* [RunRequest](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-runrequest): A request passed to a NeMo Fabric-managed harness runtime.
* [RunResult](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-runresult): Result from a NeMo Fabric-managed harness invocation.
* [RunUsage](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-runusage): Normalized invocation usage exposed to NeMo Fabric consumers.
* [RuntimeContext](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-runtimecontext): Context generated for one invocation of a started runtime.
* [RuntimeHandle](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-runtimehandle): Active or resumable harness runtime.
* [RuntimeTelemetryContext](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-runtimetelemetrycontext): Runtime telemetry config passed to adapters.
* [TelemetryRef](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/struct-telemetryref): Reference to telemetry emitted by Relay or another configured telemetry path.

## Enums

* [ErrorStage](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/enum-errorstage): NeMo Fabric lifecycle stage associated with an error.
* [OpenAiChatCompletionChunkObject](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/enum-openaichatcompletionchunkobject): Exact OpenAI object discriminator accepted by the v1 chunk profile.
* [OpenAiStreamHost](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/enum-openaistreamhost): Supported native-streaming listener host.
* [OpenAiStreamProfile](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/enum-openaistreamprofile): Supported OpenAI-compatible chunk profile.
* [OpenAiStreamProtocolVersion](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/enum-openaistreamprotocolversion): Supported southbound native-streaming protocol version.
* [OpenAiStreamRecord](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/enum-openaistreamrecord): One correlated NDJSON record on the adapter-native stream channel.
* [RunStatus](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/enum-runstatus): Runtime completion status.

## Functions

* [invoke\_openai\_stream](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/fn-invoke-openai-stream): Invoke a started harness runtime and pass through native OpenAI chat-completion chunks.
* [invoke\_runtime](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/fn-invoke-runtime): Invoke a started harness runtime.
* [prepare\_environment](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/fn-prepare-environment): Resolve or attach to the execution environment context for a run plan.
* [run\_plan](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/fn-run-plan): Invoke a NeMo Fabric run plan.
* [start\_runtime](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/fn-start-runtime): Start or connect to a harness runtime.
* [stop\_runtime](/nemo/fabric/dev/reference/api/rust-library-reference/nemo-fabric-core/runtime/fn-stop-runtime): Stop or detach from a harness runtime.