Skip to content

Commit 6aa919d

Browse files
committed
voice live with agents quickstart
1 parent 6886e4d commit 6aa919d

File tree

6 files changed

+14
-11
lines changed

6 files changed

+14
-11
lines changed

articles/ai-services/speech-service/includes/quickstarts/voice-live-agents/ai-foundry.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ ms.date: 7/31/2025
99
ms.custom: references_regions
1010
---
1111

12-
In this article, you learn how to use voice live with agents and Azure AI Speech in the [Azure AI Foundry portal](https://ai.azure.com/?cid=learnDocs).
12+
In this article, you learn how to use voice live with [Azure AI Foundry Agent Service](/azure/ai-foundry/agents/overview) and [Azure AI Speech](/azure/ai-services/speech-service/overview) in the [Azure AI Foundry portal](https://ai.azure.com/?cid=learnDocs).
1313

1414
[!INCLUDE [Introduction](intro.md)]
1515

1616
## Prerequisites
1717

1818
- An Azure subscription. <a href="https://azure.microsoft.com/free/ai-services" target="_blank">Create one for free</a>.
1919
- An [Azure AI Foundry resource](../../../../multi-service-resource.md) created in one of the supported regions. For more information about region availability, see the [Voice Live API overview documentation](../../../voice-live.md).
20+
- An Azure AI Foundry agent created in the [Azure AI Foundry portal](https://ai.azure.com/?cid=learnDocs). For more information about creating an agent, see the [Create an agent quickstart](/azure/ai-foundry/agents/quickstart).
2021

2122
> [!TIP]
2223
> To use voice live, you don't need to deploy an audio model with your Azure AI Foundry resource. Voice live is fully managed, and the model is automatically deployed for you. For more information about models availability, see the [voice live overview documentation](../../../voice-live.md).

articles/ai-services/speech-service/includes/quickstarts/voice-live-agents/python.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.topic: include
77
ms.date: 7/31/2025
88
---
99

10-
In this article, you learn how to use voice live with agents and Azure AI Speech using Python code.
10+
In this article, you learn how to use voice live with [Azure AI Foundry Agent Service](/azure/ai-foundry/agents/overview) and [Azure AI Speech](/azure/ai-services/speech-service/overview) using Python code.
1111

1212
[!INCLUDE [Introduction](intro.md)]
1313

@@ -16,6 +16,7 @@ In this article, you learn how to use voice live with agents and Azure AI Speech
1616
- An Azure subscription. <a href="https://azure.microsoft.com/free/ai-services" target="_blank">Create one for free</a>.
1717
- <a href="https://www.python.org/" target="_blank">Python 3.8 or later version</a>. We recommend using Python 3.10 or later, but having at least Python 3.8 is required. If you don't have a suitable version of Python installed, you can follow the instructions in the [VS Code Python Tutorial](https://code.visualstudio.com/docs/python/python-tutorial#_install-a-python-interpreter) for the easiest way of installing Python on your operating system.
1818
- An [Azure AI Foundry resource](../../../../multi-service-resource.md) created in one of the supported regions. For more information about region availability, see the [Voice Live API overview documentation](../../../voice-live.md).
19+
- An Azure AI Foundry agent created in the [Azure AI Foundry portal](https://ai.azure.com/?cid=learnDocs). For more information about creating an agent, see the [Create an agent quickstart](/azure/ai-foundry/agents/quickstart).
1920

2021
> [!TIP]
2122
> To use voice live, you don't need to deploy an audio model with your Azure AI Foundry resource. Voice live is fully managed, and the model is automatically deployed for you. For more information about models availability, see the [voice live overview documentation](../../../voice-live.md).
@@ -136,13 +137,11 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
136137
async def main() -> None:
137138
# Set environment variables or edit the corresponding values here.
138139
endpoint = os.environ.get("AZURE_VOICE_LIVE_ENDPOINT") or "https://contoso-proj-agentic-foundry-res.cognitiveservices.azure.com/"
140+
agent_id = os.environ.get("AI_FOUNDRY_AGENT_ID") or "your-agent-id"
141+
project_name = os.environ.get("AI_FOUNDRY_PROJECT_NAME") or "your-project-name"
139142
api_version = os.environ.get("AZURE_VOICE_LIVE_API_VERSION") or "2025-05-01-preview"
140143
api_key = os.environ.get("AZURE_VOICE_LIVE_API_KEY") or "your_api_key"
141144
142-
# Agent-specific configuration for Azure AI Foundry projects
143-
agent_id = os.environ.get("AI_FOUNDRY_AGENT_ID") or "your-agent-id"
144-
project_name = os.environ.get("AI_FOUNDRY_PROJECT_NAME") or "your-project-name"
145-
146145
# For the recommended keyless authentication, get and
147146
# use the Microsoft Entra token instead of api_key:
148147
scopes = "https://ai.azure.com/.default"

articles/ai-services/speech-service/includes/quickstarts/voice-live-agents/resource-authentication.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Create a new file named `.env` in the folder where you want to run the code.
1111
In the `.env` file, add the following environment variables for authentication:
1212

1313
```plaintext
14+
AZURE_VOICE_LIVE_ENDPOINT=<your_endpoint>
1415
AI_FOUNDRY_PROJECT_NAME=<your_project_name>
1516
AI_FOUNDRY_AGENT_ID=<your_agent_id>
1617
AZURE_VOICE_LIVE_API_VERSION=2025-05-01-preview
@@ -23,6 +24,7 @@ Replace the default values with your actual project name, agent ID, API version,
2324

2425
|Variable name | Value |
2526
|--------------------------|-------------|
27+
| `AZURE_VOICE_LIVE_ENDPOINT` | This value can be found in the **Keys and Endpoint** section when examining your resource from the Azure portal. |
2628
| `AI_FOUNDRY_PROJECT_NAME` | The name of your Azure AI Foundry project. |
2729
| `AI_FOUNDRY_AGENT_ID` | The ID of your Azure AI Foundry agent. |
2830
| `AZURE_VOICE_LIVE_API_VERSION`| The API version you want to use. For example, `2025-05-01-preview`. |
@@ -33,6 +35,7 @@ Learn more about [keyless authentication](/azure/ai-services/authentication) and
3335

3436
|Variable name | Value |
3537
|--------------------------|-------------|
38+
| `AZURE_VOICE_LIVE_ENDPOINT` | This value can be found in the **Keys and Endpoint** section when examining your resource from the Azure portal. |
3639
| `AI_FOUNDRY_PROJECT_NAME` | The name of your Azure AI Foundry project. |
3740
| `AI_FOUNDRY_AGENT_ID` | The ID of your Azure AI Foundry agent. |
3841
| `AZURE_VOICE_LIVE_API_VERSION`| The API version you want to use. For example, `2025-05-01-preview`. |

articles/ai-services/speech-service/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ items:
240240
href: voice-live.md
241241
- name: Voice live quickstart
242242
href: voice-live-quickstart.md
243-
- name: Voice live agents quickstart
243+
- name: Voice live with Foundry agents quickstart
244244
href: voice-live-agents-quickstart.md
245245
- name: How to use voice live
246246
href: voice-live-how-to.md

articles/ai-services/speech-service/voice-live-agents-quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'How to use voice live with agents for real-time voice agents with Azure AI Speech'
2+
title: Get started with Azure AI Speech voice live and Azure AI Foundry Agent Service
33
titleSuffix: Azure AI services
44
description: Learn how to use voice live with agents for real-time voice agents with Azure AI Speech.
55
manager: nitinme
@@ -13,7 +13,7 @@ ms.custom: build-2025
1313
recommendations: false
1414
---
1515

16-
# Quickstart: Voice live with agents quickstart (Preview)
16+
# Quickstart: Create a voice live real-time voice agent with Azure AI Foundry Agent Service (Preview)
1717

1818
[!INCLUDE [Feature preview](./includes/previews/preview-generic.md)]
1919

articles/ai-services/speech-service/voice-live-quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'How to use voice live API for real-time voice agents with Azure AI Speech'
2+
title: Get started with Azure AI Speech voice live for real-time voice agents
33
titleSuffix: Azure AI services
44
description: Learn how to use voice live API for real-time voice agents with Azure AI Speech.
55
manager: nitinme
@@ -13,7 +13,7 @@ ms.custom: build-2025
1313
recommendations: false
1414
---
1515

16-
# Quickstart: Voice live API for real-time voice agents (Preview)
16+
# Quickstart: Create a voice live real-time voice agent (Preview)
1717

1818
[!INCLUDE [Feature preview](./includes/previews/preview-generic.md)]
1919

0 commit comments

Comments
 (0)