This quick start shows the smallest Rust workflow that emits scope and mark events.
Pick the installation path that matches whether you are using a published package or a local checkout.
Use the published crates when you are consuming a release:
Install the published NeMo Relay CLI separately when you need coding-agent hook and LLM gateway observability:
Use a path dependency when your application is consuming a local checkout:
nemo-relay is the core Rust runtime surface.nemo-relay-adaptive is the companion crate for adaptive runtime primitives and Redis-backed learning components.nemo-relay-cli is a binary crate. Use cargo install nemo-relay-cli@0.4.0 when
you need the NeMo Relay CLI.The example below creates a scope and records a mark event from Rust.
The script should exit cleanly and print lifecycle lines from the subscriber.
Native subscriber delivery is asynchronous, so examples flush before checking
subscriber output.
You should see one line for the scope start event, one for the initialized
mark, and one for the scope end event.
That tells you two things:
Use these links to continue from the quick start into the core runtime concepts.