Configure Overview
Choose configuration for the way you use Relay. Start with plugins.toml for
exporters, guardrails, and other plugin behavior. The CLI also uses config.toml
for gateway, coding-agent, and provider settings.
Configure Plugins
Start with Use Plugins to choose existing components for
observability, adaptive tuning, PII redaction, or resource metrics.
Edit their settings in plugins.toml, or use the CLI editor:
Refer to Plugin Configuration for file locations, precedence, and validation. Use Manage Plugins to install additional plugins.
Configure Coding Agents and Gateways
Edit CLI gateway, agent, and provider settings with:
Persistent coding-agent integrations read user and system configuration. Copy the settings you need from a quick-start project into those files before switching to persistent use. Follow Prepare Relay Configuration for the handoff, CLI Configuration for file selection, and Provider Authentication for credentials.
For an organization-managed deployment, use Configuration and Managed Clients.
Configure Observability
The built-in observability plugin exports Agent Trajectory Observability
Format (ATOF) events, Agent Trajectory Interchange Format (ATIF) trajectories,
and OpenTelemetry data. Choose an exporter in
Observability, then follow
Observability Configuration.
OpenTelemetry supports three configuration paths:
- Configured network export: Set an explicit endpoint and choose a
full,gen_ai, oropeninferencetrace projection. Useheader_envorheader_fileto reference credentials for that endpoint. - Automatic network export: Standard
OTEL_EXPORTER_OTLP_*endpoint environment variables activate the matching trace, log, and metric pipelines. An explicitopentelemetry.enabled = falsedisables automatic export;OTEL_SDK_DISABLED=truedisables Relay’s OTLP exporters. - Local trace files: Write OTLP data to a file sink without a network endpoint.
Refer to OpenTelemetry for environment-variable behavior and Trace File Sinks for local output.
Configure Application and Framework Integrations
Use Initialize Plugins to activate configured plugins through the Python, Node.js, or Rust SDK. Follow your framework integration guide or application instrumentation guide for the runtime lifecycle.
For adaptive behavior, use Adaptive Configuration. For process-wide stderr and file logging, use Operational Logging.