> This page is for Platform.

> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes.

## Multilingual agents that switch languages and voices in real time

The new `multilingual` AI parameter accepts an array of language-voice pairs.
The AI agent continuously detects the other party's language,
and switches to the configured TTS voice (and language) whenever it changes.

The `multilingual` and `languages` objects within the AI method are mutually exclusive.

See [`ai.multilingual`](/docs/swml/reference/calling/ai/multilingual).