Skip to main content
The Agents SDK’s built-in OpenAI voice models cannot be redirected to Lokutor with a base URL alone: the TTS model requests raw 24 kHz PCM (Lokutor always returns a 44.1 kHz WAV) and transcribe() uses the Realtime WebSocket API. The lokutor-agents-voice adapter calls /v1/audio/speech and /v1/audio/transcriptions and converts the audio.

Limits

  • Push-to-talk input only (AudioInput). StreamedAudioInput is not implemented; use /ws/stt directly.
  • One synthesis request per text chunk; audio is resampled to 24 kHz with linear interpolation.

Verification

Run against the live API with openai-agents 0.24.0: a TTS to STT round trip and a VoicePipeline with an echo workflow. Not run: SingleAgentVoiceWorkflow with an LLM, and streamed input.