Skip to main content
Use this page as the implementation handoff. Both paths use a project-scoped Relay key, but they change different parts of the stack.
A workspace admin can open Relay → Get Started, choose Live or Observe, and select Copy AI prompt. That prompt includes a newly created project-scoped key and the workspace’s exact endpoint. The public prompts below use placeholders so this page is safe to share.

Before you install

  1. Sign in to Oximy and open Relay → Get Started.
  2. Select the automatically created Default project, or choose the project that should own this workload’s keys, traffic, limits, and reports.
  3. Create a project key. Store the full ox_... value in the application’s existing ignored secret store; Relay only reveals it once.
  4. Choose Live or Observe below. A project can use both.

Live: route through Relay

Live is for teams that want Relay to execute the model request. Keep the application’s prompts, request options, and control flow; change the compatible client’s base URL and authentication. Use https://relay.oximy.com/v1 for OpenAI-compatible clients. Start with a provider-qualified model configured in the project, or use oximy/auto after enabling automatic routing.
Use a stable x-session-id when the client supports custom headers so related requests appear as one Agent Run. Open Relay → Traffic after the first call and confirm the requested model, resolved model, status, cost, and latency.

Live AI install prompt

Replace <YOUR_RELAY_KEY> and paste this prompt into the coding agent that can edit the application:

Observe: keep the current provider path

Observe is for teams that want Relay traffic, cost, latency, and trace analysis without putting Relay in the model execution path. The application keeps its current provider or gateway. Add Relay as another OTLP/HTTP trace destination. The exact trace endpoint is:
Install the standard OpenTelemetry packages if they are not already present:
Add Relay alongside the processors already attached to the tracer provider:
Do not set or replace global OTEL_EXPORTER_* variables in an application that already exports telemetry; that can redirect its existing observability pipeline. Preserve the current provider, exporters, processors, resources, propagation, instrumentation, and shutdown behavior.

Observe AI install prompt

Replace <YOUR_RELAY_KEY> and send this prompt to the application owner, or to the observability owner when a Collector manages export:
Generate that request, then open Relay → Traffic and filter the source to OTEL. First confirm that the trace arrived; then validate model, token, cost, latency, status, and LLM attributes supplied by the instrumentation.
Live and Observe tokens count toward Oximy metering. Relay-created Shadow candidate rows do not, although the model provider may still charge for the candidate request.

Understand integration modes

Compare Live, Observe, existing-gateway, and route-only responsibilities.

Troubleshoot installation

Diagnose authentication, request, trace, and source problems.