Quick Start

View as Markdown

Choose a Quick Start path based on the boundary that you want Relay to observe or control:

  • Use the CLI path when a local coding-agent harness owns the invocation.
  • Use a binding quick start when your application owns the tool or LLM call.
  • Use a supported integration guide when a framework or agent harness owns the boundary.

If you still need the shared runtime vocabulary for scopes, middleware, events, or plugins, refer to the Agent Runtime Primer or Concepts first.

Examples by Integration Layer

Use this map when you know what Relay boundary you want to verify, but you do not yet know which guide owns the working path.

LayerUse WhenStart HereSuccess Check
CLI and gatewayA coding-agent harness owns invocation and provider routingCLI Basic UsageThe wrapped agent runs with Relay active and emits hook output, plus gateway-routed LLM lifecycle output when provider routing is active.
Persistent host-plugin installsYou want the maintained install path for Codex or Claude Code instead of the transparent wrapperPlugin Installationnemo-relay doctor --plugin <host> confirms the installed host plugin is registered and ready.
Direct Python or Node.js application APIsYour application owns the tool or LLM callbackPython Quick Start or Node.js Quick StartThe sample prints event lines plus tool and LLM results.
Direct Rust application APIsYour Rust application owns the tool or LLM callbackRust Quick StartThe sample prints scope, tool, and LLM lifecycle output plus the initialized mark event.
Plugin-managed runtime setupYou need process-level exporter or plugin behavior from plugins.tomlPlugin Configuration FilesThe selected plugin path activates and writes the expected output or behavior.
Managed middlewareYou want policy, redaction, routing, or execution wrapping around managed callsAdd MiddlewareOne allowed request succeeds, one rejected request stops before execution, and observed payloads match the policy.
Framework integrationsA framework such as LangChain, LangGraph, or Deep Agents owns callbacks or schedulingSupported IntegrationsThe integration guide’s verify step confirms the expected framework-owned output.
OpenClaw plugin pathOpenClaw owns plugin setup and Relay observes the OpenClaw-managed boundaryOpenClawThe OpenClaw guide’s verify step confirms plugin setup and runtime output.
Manual or CI workflowsYou need explicit config files, deterministic commands, or non-interactive automationCLI Basic Usage and Plugin Configuration FilesThe explicit command uses the intended config files without interactive setup.

Local Coding-Agent Runs

Use the NVIDIA NeMo Relay CLI when you want to observe a local Codex, Claude Code, or Hermes Agent session without changing application code.

Framework or Agent-Harness-Owned Code

Use a supported integration guide when LangChain, LangGraph, Deep Agents, or OpenClaw owns scheduling, callbacks, tool execution, provider payloads, or agent lifecycle hooks. If you are building or reviewing a framework integration that is not covered by a maintained guide, use the generic framework integration workflow instead.

Application-Owned Code

Use a binding Quick Start when your application owns the LLM or tool call and you want to instrument that boundary directly.