Skip to main content
Start with LiveKit and Prism for an agent that listens, takes turns, and replies in speech through one model. Use the LiveKit TTS tutorial to choose your own transcription and language model. Rime speech-to-text can handle transcription for that pipeline. Use a direct API starter when you already own transport, transcription, turn detection, and orchestration.
Keep RIME_API_KEY on the server. Browser clients should call your application server or connect through a server-side WebSocket bridge rather than authenticate with Rime directly.

Choose an implementation

LiveKit with Prism

Build a browser voice agent with Prism’s model, turn handling, and function tools through the Rime plugin.

LiveKit with Rime TTS

Run an end-to-end browser agent with LiveKit transport, turn detection, speech recognition, agent logic, and Rime speech.

Pipecat with Prism

Run a browser voice agent with Prism’s model and turn handling through Pipecat.

Direct API starters

Add a server-side Rime speech route and a browser voice interface to your application stack.

Voice platforms

Use Rime through a framework or service that supplies transport, telephony, or agent orchestration.

WebSocket API

Build directly on persistent synthesis connections when you need incremental text, word timestamps, context management, or interruption control.

Prism speech-to-speech

Send the caller’s audio to Prism over one WebSocket. Prism takes turns, handles interruptions, and replies in speech with your instructions and tools.

Choose Prism or a pipeline

Prism and a pipeline solve the same problem in different ways. A pipeline gives you a language model of your choice, more languages, and the full voice catalog. Prism gives you turn-taking, interruptions, and fillers without building them yourself. Here’s how the two compare:

Rime is the speech layer

The LiveKit tutorial implements the complete path. The direct API pages are application starters: they demonstrate the Rime proxy and browser interface while leaving the production speech-recognition and agent-logic choices to your application.

Design for live conversation

Stream speech

Start playback while the response is still being generated and choose an audio format for your transport.

Handle interruptions

Use timestamps, context IDs, segmentation, and clear operations to coordinate turns and barge-in.

Reduce latency

Measure time to first audio and tune the synthesis path for responsive conversations.

Choose a voice

Match a voice, model, and language to the agent’s audience and role.