Skip to content

[Walkthrough] Run the Relay Observability template #2

Description

@kic635

Goal

This walkthrough shows how to run the Relay Observability template with AgentSeek Desktop, open the application, and inspect the resulting traces in Trace Center.

What is NVIDIA NeMo Relay?

Before starting, see the official documentation:

NeMo Relay is not the trace UI and it is not the database. It is an agent runtime and instrumentation layer. It observes the lifecycle of an agent run, including LLM calls, tool calls, middleware, subagents, errors, and nested scopes. It then converts the captured lifecycle events into standard or Relay-specific observability formats and exports them to downstream systems.

In this template, the roles are:

Agent application
        ↓
NeMo Relay: capture scopes, lifecycle events, and tool/LLM activity
        ↓
ATOF / ATIF / OpenInference / OpenTelemetry
        ↓
Phoenix Trace Center
        ↓
OceanBase SeekDB persistence

Relay is therefore the instrumentation and export layer. Phoenix is the trace inspection layer, and SeekDB is the persistence layer.

Step 1: Install AgentSeek Desktop

Download and install https://github.com/agentseek-ai/agentseekd/releases/tag/v0.1.0

Image

Step 2: Select SeekDB

After installation, select the SeekDB option.

Image

Step 3: Select the template

Open the template list and select the Relay Observability template.

Image

If the template is not listed, click the pencil icon to edit the template source.

Image Image

Set the template source to:

https://github.com/agentseek-ai/agentseek-templates/tree/main

Step 4: Install the template

Click Install.

Image

Configure the following environment variables as shown in the screenshot:

  • BUB_API_KEY
  • BUB_API_BASE
  • TAVILY_API_KEY
Image

Step 5: Wait for installation

Wait for the installation to complete. You can open the Logs Center to monitor its progress.

Image

Step 6: Start the instance

After installation completes, open the instance list and click the action button.

Image

Step 7: Open the application and inspect traces

After the instance starts, open its details page.

Image

Click Open Application to open the frontend and start a conversation.

Image

After the conversation, return to the instance details page and click the Trace ID entry shown in the screenshot to open Trace Center and inspect the generated traces.

Image Image Image

Understanding ATOF and ATIF

The Trace Center view is backed by data captured and exported by NeMo Relay. The following two formats are important:

ATOF: Agent Trajectory Observability Format

ATOF is the raw, canonical event stream produced from the agent lifecycle. It records what actually happened during execution: scopes, turns, LLM calls, tool calls, subagent activity, errors, and lifecycle transitions. In the template, ATOF can be retained as a JSONL audit/debug stream.

ATOF is useful for:

  • verifying whether Relay captured the real execution;
  • debugging missing or malformed events;
  • keeping a raw audit record before further projection or export;
  • diagnosing whether a problem happened in the application, Relay, or Phoenix path.

ATIF: Agent Trajectory Interchange Format

ATIF is a normalized agent trajectory representation for analysis and evaluation workflows. It organizes an agent run into a portable trajectory that can be consumed by downstream tools, evaluation pipelines, and inspection workflows.

The distinction is:

Agent execution
      ↓
ATOF: raw canonical observability events
      ↓
ATIF: normalized agent trajectory for analysis/evaluation
      ↓
OpenInference / OpenTelemetry: interoperable trace projections
      ↓
Phoenix and other observability backends

What Relay does with ATOF and ATIF

Relay is the component that captures the runtime lifecycle and produces these outputs. It does not replace ATOF or ATIF; it is the runtime that generates and projects the captured events into those formats.

Summary: the role of NeMo Relay

NeMo Relay is the execution-observability layer between the agent application and downstream systems. It captures the run once, preserves parent-child scope and lifecycle context, and can project the same captured execution into ATOF, ATIF, OpenInference, and OpenTelemetry outputs.

In this walkthrough:

  • Relay captures the Agent/LLM/Tool execution;
  • ATOF provides the raw audit and debugging event stream;
  • ATIF provides a normalized trajectory for analysis and evaluation;
  • OpenInference/OpenTelemetry provide interoperable trace exports;
  • Phoenix provides the Trace Center UI;
  • SeekDB persists the Phoenix trace data.

The key point is that Phoenix is only the inspection and persistence surface. NeMo Relay is what observes and structures the actual agent execution before it reaches Phoenix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions