Mistral Python SDK removes VoiceAgentSession.update and the transport session methods, and adds audio.sessions.update() (mistralai 3.8.0, November 18, 2026) | Wirestack
Mistral AIUpdateBuildChecked against the official docs, Nov 24, 2026
Mistral Python SDK removes VoiceAgentSession.update and the transport session methods, and adds audio.sessions.update() (mistralai 3.8.0, November 18, 2026)
mistralai 3.8.0 drops VoiceAgentSession.update, send_session_update and add_function_handlers. Use audio.sessions.update().
Create each key on its own page, paste it below, then copy the finished lines into your project's .env file. Your keys stay in this tab. They are never sent to Wirestack or saved; we only count that the panel was used.
The Mistral Python SDK mistralai 3.8.0 came out on November 18, 2026. It removes several voice agent methods from the stable API:
VoiceAgentSession.update
Transport.send_session_update
Transport.add_function_handlers
LiveKitTransport.send_session_update
LiveKitTransport.add_function_handlers
Code that calls them fails after you upgrade.
It adds a new stable operation, sdk.audio.sessions.update(). It updates the instructions, tools or turn handling of a live audio session. The agent applies the update at its next turn boundary, so it is not yet applied when the call returns. The agent's session_updated and session_update_failed webhooks report the outcome to your server.
sdk.responses.create() and sdk.responses.count_input_tokens() get new request fields: ttl, name, namespace and async.
Other breaking changes in sdk.responses.create():
The name field is removed from the response.function_call_arguments.done event.
The response code, reason and service_tier fields get new enum values (data_residency_mismatch, misalignment_policy_violation, max_messages, steered, fast, ultrafast).
The legacy beta judges are also removed. Use client.beta.observability.evaluations.scorers instead. Older SDK versions calling the judge endpoints get 410 Gone.
Prerequisites
A Mistral API key in MISTRAL_API_KEY
Python code that uses mistralai voice agent sessions or the Responses API
Steps
Update the SDK.
Shell
pip install mistralai==3.8.0
Search your code for VoiceAgentSession.update, send_session_update and add_function_handlers. They no longer exist.
To change a live session, call audio.sessions.update() with the session ID and the fields you want to change (instructions, tools or turn). This is the example from the SDK docs:
Python
from mistralai.client import Mistralimport oswith Mistral( api_key=os.getenv("MISTRAL_API_KEY"),) as mistral: res = mistral.audio.sessions.update(session_id="e7fa5d49-3528-45a6-942c-da6c39ecb063") # Handle response print(res)
Listen for the session_updated and session_update_failed webhooks to know whether the update applied.
If you stream Responses and read name from response.function_call_arguments.done, take the function name from an earlier event instead. If you match on code, reason or service_tier, handle the new values.
Test it
Start a voice session, call audio.sessions.update() with new instructions, and wait for the session_updated webhook. The agent should follow the new instructions from its next turn.
Not confirmed
The release notes do not say that audio.sessions.update() replaces VoiceAgentSession.update, and give no migration steps for add_function_handlers.
The notes do not explain what the new ttl, name, namespace and async fields do.