> ## Documentation Index
> Fetch the complete documentation index at: https://rasa.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Speech models

> How speech models talk with callers while Mantle handles agent work.

> [!WARNING]
>
> Speech models are a beta feature. Their behavior and configuration may change
> in future releases. They are not intended for production or for processing
> sensitive or personal data.

Voice can use cascaded speech: one service turns caller audio into text, and
another turns Mantle's reply into speech. Or one speech model can listen and
speak directly.

In both setups, Mantle is still the agent's brain: it runs skills and tools. A
speech model handles the live conversation and asks Mantle for help when the
caller needs those capabilities. It works alongside your configured Mantle
model; it does not replace it.

## Two ways to handle voice

> [tab] Cascaded
>
> Caller
> speaks
>
> audio
>
> Listening service
> turns speech into text
>
> words
>
> Mantle
> handles the request
>
> reply
>
> Speaking service
> turns text into speech
>
> audio
>
> Caller
> hears the reply
>
> The listening service gets the caller's words. The speaking service only gets Mantle's reply.
>
> In cascaded speech, one service listens and another speaks. Since they do
> not share the full conversation, interruptions need extra coordination.
> Each reply waits for Mantle to process the caller's words.

> [tab] Speech model + Mantle
>
> Caller
> speaks and listens
>
> conversation
>
> spoken reply
>
> Speech model
> listens and speaks
>
> asks for help
>
> gets a result
>
> Mantle
> runs skills and tools
>
> The speech model handles the conversation. Mantle provides skills and tools when needed.

The speech model and Mantle each keep their own view of the conversation. Try
multi-turn requests and longer calls to check that the model gives Mantle the
details it needs and uses Mantle's results correctly.

## Audio in, speech out

Speech-to-speech means the model takes audio in and produces spoken audio. A
full-duplex model can also listen while speaking.
Check each provider's behavior before relying on callers being able to talk
over the agent.

## When to choose each mode

Choose cascaded speech when you want to configure listening and speaking
independently, or need a text transcript before Mantle responds.
Choose a speech model when you want it to handle the live conversation while
Mantle runs the agent's skills and tools.
The actual latency, language coverage, and turn-taking behavior depend on the
provider and model, so evaluate them with your voice channel and use case.

Provider behavior, model settings, and credentials differ. See the
[speech model reference](https://rasa.com/docs/mantle/reference/speech-models.md) for configuration and
[test and monitor voice](https://rasa.com/docs/mantle/voice/testing.md) to inspect voice conversations.

> [!NOTE]
>
> The Inspector in Rasa Studio uses Studio's Deepgram voice gateway. A shared
> `voice.speech_model` cannot replace that gateway. Set listening and speaking
> services on the Inspector channel if you want it to use Studio's voice while
> other channels use a speech model.

## Next steps

> [card] [Speech model reference](https://rasa.com/docs/mantle/reference/speech-models.md)
>
> Provider names, configuration fields, credentials, and channel precedence.

> [card] [Speech providers](https://rasa.com/docs/mantle/reference/speech-providers.md)
>
> Configure separate speech recognition and synthesis providers.

> [card] [Test and monitor voice](https://rasa.com/docs/mantle/voice/testing.md)
>
> Try voice conversations in the Inspector and inspect their traces.


## Related topics

- [agent.yml](https://rasa.com/docs/mantle/reference/agent-yml.md)
- [Twilio Voice](https://rasa.com/docs/reference/channels/twilio-voice.md)
- [Speech model reference](https://rasa.com/docs/mantle/reference/speech-models.md)
- [Speech providers](https://rasa.com/docs/mantle/reference/speech-providers.md)
- [Custom speech providers](https://rasa.com/docs/mantle/reference/custom-speech-providers.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.