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
- Sign in to Oximy and open Relay → Get Started.
- Select the automatically created Default project, or choose the project that should own this workload’s keys, traffic, limits, and reports.
- Create a project key. Store the full
ox_...value in the application’s existing ignored secret store; Relay only reveals it once. - 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. Usehttps://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.
- OpenAI Python
- OpenAI TypeScript
- Anthropic Python
- Vercel AI SDK
- LangChain Python
- cURL
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:- Python
- TypeScript
- OTEL Collector
Install the standard OpenTelemetry packages if they are not already present:Add Relay alongside the processors already attached to the tracer provider:
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:
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.