Python Quickstart for NeMo Relay
This Quickstart Guide walks you through the process for instrumenting one scope, tool call, and large language model (LLM) call with NeMo Relay, then verifying the result in a local Agent Trajectory Observability Format (ATOF) file. For detailed setup, refer to the Installation Guide.
This example uses local tool and model callbacks. It does not require an inference key or a live model.
Prerequisites
Before you start, make sure you have:
- Python 3.11 or newer
uv
Quickstart Steps
To quickly get started with NeMo Relay, complete the following steps:
Install NeMo Relay
Create a project and install the NeMo Relay version for these docs.
For an existing uv project, run only the uv add command from its directory.
Configure the plugin
Save the following configuration as plugins.toml in your project directory:
ATOF output can contain sensitive prompts, responses, tool arguments, and tool
results. Protect logs/events.jsonl even when full payload export is disabled.
Next Steps
Now that you have a working setup, you should explore the following resources in greater detail: