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

> Lifecycle event types and builder-backed event constructors. Event types for Agent Trajectory Observability Format (ATOF) runtime events.

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

Lifecycle event types and builder-backed event constructors. Event types for Agent Trajectory Observability Format (ATOF) runtime events.

## Structs

* [BaseEvent](/reference/api/rust-library-reference/nemo-relay/api/event/struct-baseevent): Shared event metadata carried by every ATOF event.
* [CategoryProfile](/reference/api/rust-library-reference/nemo-relay/api/event/struct-categoryprofile): Category-specific profile data.
* [DataSchema](/reference/api/rust-library-reference/nemo-relay/api/event/struct-dataschema): Identifier for the schema that describes an event's opaque `data` payload.
* [EventCategory](/reference/api/rust-library-reference/nemo-relay/api/event/struct-eventcategory): Semantic category carried by ATOF `category`.
* [MarkEvent](/reference/api/rust-library-reference/nemo-relay/api/event/struct-markevent): ATOF point-in-time mark event.
* [ScopeEvent](/reference/api/rust-library-reference/nemo-relay/api/event/struct-scopeevent): ATOF scope lifecycle event.

## Enums

* [Event](/reference/api/rust-library-reference/nemo-relay/api/event/enum-event): Tagged union covering the two ATOF event kinds emitted by the runtime.
* [ScopeCategory](/reference/api/rust-library-reference/nemo-relay/api/event/enum-scopecategory): Agent Trajectory Observability Format (ATOF) lifecycle phase for a scope event.

## Constants

* [ATOF\_VERSION](/reference/api/rust-library-reference/nemo-relay/api/event/constant-atof-version): Agent Trajectory Observability Format (ATOF) protocol version emitted by this runtime.

## Functions

* [attributes\_from\_handle](/reference/api/rust-library-reference/nemo-relay/api/event/fn-attributes-from-handle): Convert handle bitflags into ATOF attributes.
* [llm\_attributes\_to\_strings](/reference/api/rust-library-reference/nemo-relay/api/event/fn-llm-attributes-to-strings): Convert LLM bitflags into ATOF attributes.
* [scope\_attributes\_to\_strings](/reference/api/rust-library-reference/nemo-relay/api/event/fn-scope-attributes-to-strings): Convert scope bitflags into ATOF attributes.
* [tool\_attributes\_to\_strings](/reference/api/rust-library-reference/nemo-relay/api/event/fn-tool-attributes-to-strings): Convert tool bitflags into ATOF attributes.