Skip to main content
Pick the path that matches your stack. Each one uses the same protocol, described in the API reference. They differ in how much of the code around it you write yourself.

Python from scratch

No framework, full control: plain websockets, a tool dispatcher, and real audio input.

Browser (JavaScript)

Microphone capture and streamed replies, directly in a browser tab, no SDK.

Speech to text

Transcribe a microphone with the stock openai SDK in Python or Node, then turn it into a voice-in, text-out agent.

Your own text-to-speech

Speak the replies with your own voice or vendor: streaming, barge-in, playback reports and time to first audio.

Voice agent with Cartesia

A sample app for your own text-to-speech: a Python server and browser page, Cartesia speech from the first words, barge-in and playback reports.

LiveKit Agents

Use Dialog-RSN-1 as the model in a LiveKit AgentSession, in place of the STT, turn detector and LLM.

Migrating from OpenAI Realtime

Move an OpenAI Realtime client over: which fields carry across, which change, and which to remove.
Every guide has a public repo with its full example, and dialog-rsn-1-realtime-agents adds a larger browser sample in plain JavaScript: three agents that each run a whole call, with searched knowledge, a flow step and a language switch. The API reference lists them all. If you’re new to the API, start with the quickstart. It covers the connection, the session and a single turn.
Last modified on November 24, 2026