Skip to main content
Use the Context Router as the model in an OpenAI-compatible client or supported agent integration. You can configure it in an agent framework or a voice platform with a custom LLM field.
Use an agent integration such as ElevenLabs, Vapi, Deepgram, LiveKit, or Pipecat.

Prerequisites

  • A supported agent integration that accepts a custom OpenAI-compatible LLM.
  • An SLNG API key. See Create your API key.
  • A BYOK LLM key registered in your org, so the router has a model to route to. See Bring your own key.

Configuration

Use these three values:

Configure your agent integration

In your agent integration, enter the base URL and model from the table above. Store your API key in the platform’s secret manager or environment, then send it as an Authorization: Bearer <SLNG API key> header. The router also requires two headers that tie each turn to a SLNG agent and call: X-Slng-Agent-Id and X-Slng-Session-Id. Map them to your platform’s agent and session identifiers. Your platform guide lists the exact values to use. Follow your framework or platform guide for its exact configuration steps.
Read the key from the environment. Do not paste the literal value into your code or a shared config.

Next steps