Skip to content

Enterprise deploymentCustomer-hosted or fully managed.Contact salesView pricing

+Integrations · SDKs & gateways

Intertrace + OpenAI SDK

Chat Completions and Responses through Intertrace with one base URL change, in Python or Node.
OpenAI SDK (Python / Node) · python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["INTERTRACE_RUNTIME_API_KEY"],
    base_url="https://intertrace.fly.dev/v1",
)
print(client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "Hello"}],
).choices[0].message.content)

Chat Completions + Responses against the Intertrace OpenAI-compat plane.

+Three steps

  1. 01

    Get a runtime key

    Create an itr_rt_* key in Connect. It carries your tenant, so no org headers are needed.

  2. 02

    Point the client at Intertrace

    Paste the snippet. Nothing else in your code changes.

  3. 03

    Watch decisions arrive

    Every call shows up in Traffic with its verdict and the reason, in monitor mode first.

Full setup guide in the docs →

+Watch

OpenAI SDK, connected in 0:19

+What you get

Once it's connected

  • Prompt injection and instruction override caught before the model sees it
  • Sensitive data kept out of prompts and responses
  • Tool calls authorized before they execute
  • Every decision logged with its reason, per agent

+Related

+ The AI watching your AI

Protect your OpenAI SDK agents today.

Start in monitor mode, see every decision, then turn on enforcement when you're ready.