Migrate from Agent Service (classic)
If you’re using Voice Live with Agent Service (classic), we recommend you migrate to the new Foundry Agent Service. For general Agent Service migration steps, see Migrate from Agent Service (classic) to Foundry Agent Service.Voice Live SDK changes
The Voice Live SDK introduces typed configuration classes that replace the raw query parameters used in the classic integration:| Classic (v1) | New (v2) |
|---|---|
agent-id query parameter | agent_name in AgentConfig / AgentSessionConfig |
agent-project-name query parameter | Project endpoint in client constructor |
agent-access-token query parameter | Handled automatically by SDK |
Manual connect() with query dict | Strongly typed AgentSessionConfig passed to session options |
Minimum SDK versions
| Language | Package | Minimum version |
|---|---|---|
| Python | azure-ai-voicelive | 1.2.0 |
| C# | Azure.AI.VoiceLive | 1.1.0 |
| Java | azure-ai-voicelive | 1.0.0 |
| JavaScript | @azure/ai-voicelive | 1.0.0 |
Before and after: Python connection setup
**Classic (v1)—raw query parameters inconnect():
AgentSessionConfig:
Related content
- Explore How to add proactive messages
- Explore How to improve tool calling and latency wait times
- Learn more about How to use the Voice Live API
- See the Voice Live API reference