Dev & Engineering ✓ Microsoft · Official azurevoice-aiwebsocketaudio-streamingpython-sdkvoice-activity-detectionfunction-calling

Azure Voice Live for Python

Guides Python developers in building real-time, bidirectional voice AI applications on Azure.

FollowSkills review · FSRS-2.0
Not recommended
52/ 100 5-point scale 2.6 / 5
Trust16 / 25 · 3.2/5

The skill recommends DefaultAzureCredential, constrains production credential chains, and promotes context-managed resources; however, it still includes API-key examples and does not specify least-privilege RBAC, audio/transcript data flows, sensitive-data retention, user confirmation for function or MCP tools, or rollback, so points are deducted.

Reliability8 / 20 · 2.0/5

Installation, authentication, connection lifecycle, events, and error handling are documented; however, the quick start does not close DefaultAzureCredential, examples rely on undefined microphone/playback pseudocode, credential scopes differ from the reference default, and no reproducible skill-specific tests are supplied, limiting the static score.

Adaptability9 / 15 · 3.0/5

The audience, asynchronous Python context, and scenarios such as assistants, transcription, function calling, and avatars are clear; non-fit boundaries, precise triggers, Chinese-language support, and mainland-China reachability are not addressed, and the core dependency is Azure-hosted, so points are deducted.

Convention9 / 15 · 3.0/5

The material has clear installation, environment-variable, API, model, and example references, plus MIT licensing and 1.0.0 metadata; it lacks a changelog, explicit maintenance owner/update path, and disclosure of several service/model prerequisites, while some examples remain pseudocode.

Effectiveness6 / 15 · 2.0/5

It covers the main Voice Live tasks and offers directly reusable starting snippets; nevertheless, outputs depend on user-supplied audio and playback implementations, important integrations are incomplete, and correctness or end-to-end usability is not demonstrated by skill-specific evidence, so points are deducted.

Verifiability4 / 10 · 2.0/5

Structured API and model references are provided, and repository-level CI/evaluation and test signals exist; however, there are no skill-specific test results, third-party execution records, or revision-mapped corroboration for the key paths, so the evidence remains primarily author-provided documentation.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • Do not place the YOUR_KEY examples, pseudocode, or unverified model/event names directly into production; validate the pinned SDK version, API version, credential scope, and service capabilities first.
  • Function calling, MCP, avatars, and transcription may create external effects or process sensitive audio; add application-level confirmation, permission isolation, input validation, redacted logging, and retention controls.
  • Confirm regional availability, network reachability, and compliance requirements for Azure Voice Live in the intended mainland-China deployment environment.
See the full review method →

What it does & when to use it

This skill is for Python developers using the Azure AI Voice Live SDK to build real-time, bidirectional audio applications over WebSockets. It covers asynchronous connections, Entra authentication, legacy API-key access, audio streaming, session configuration, transcription, voice activity detection, function calling, and conversation control. Its examples fit voice assistants, voice chatbots, real-time speech-to-speech translation, and voice-driven avatars. The skill requires an asynchronous SDK path and emphasizes context managers for deterministic resource cleanup.

Shows how to install azure-ai-voicelive, aiohttp, and azure-identity; configure the Azure Cognitive Services endpoint and authentication environment variables; open an asynchronous Voice Live connection with DefaultAzureCredential or AzureKeyCredential for existing keyed deployments; configure text and audio modalities, voices, audio formats, Server VAD, or Azure Semantic VAD; send Base64-encoded PCM audio through input_audio_buffer; and handle audio deltas, transcription, responses, function calls, and errors. It also covers response cancellation, output-buffer clearing, session updates, and conversation items.

  1. A Python developer building a real-time voice assistant can stream audio over an asynchronous WebSocket connection and process model responses.
  2. A team developing a voice chatbot can configure transcription, voices, conversation history, and server-side voice activity detection.
  3. An application developer implementing real-time speech-to-speech translation can use bidirectional audio streaming and transcription events for continuous conversations.
  4. A developer building a voice-driven avatar can combine a Voice Live session with an avatar integration scenario.
  5. A developer whose voice application must call business functions or MCP tools can handle function-call arguments and submit function outputs.

Pros & cons

Pros
  • Provides copyable examples for asynchronous connections, authentication, audio streaming, and event handling.
  • Covers Server VAD, Azure Semantic VAD, manual turns, interruption handling, transcription, and function calling.
  • Clearly recommends DefaultAzureCredential and explains how to constrain its production credential chain.
  • Documents connection resources, voice options, audio formats, and error-handling patterns.
Limitations
  • It explicitly targets the asynchronous Python SDK and is not suited to a synchronous request path.
  • Examples require an Azure service endpoint, credentials, and network connectivity; the source does not explain pricing or quotas.
  • The source does not provide test-coverage results or an independent release process for this specific skill.
  • MCP tools, avatar integration, and reference documents are mentioned, but complete implementations are not included in the supplied content.

How to install

To install the repository's skill collection, run npx skills add microsoft/skills and select the needed skill in the wizard. Alternatively, clone the repository and copy .github/plugins/azure-sdk-python/skills/azure-ai-voicelive-py/ into the target agent's skill directory. The source does not document a standalone installation command for this skill; its Python dependency command is pip install azure-ai-voicelive aiohttp azure-identity.

How to use

Trigger it when building an Azure real-time bidirectional voice application in Python, for example: Use azure-ai-voicelive-py to build an async voice assistant with Server VAD, transcription, and function calling. Set AZURE_COGNITIVE_SERVICES_ENDPOINT before use; for production DefaultAzureCredential, also set AZURE_TOKEN_CREDENTIALS=prod or a specific credential. Use the .aio namespace and manage connections and asynchronous credentials with async with.

Compared to similar skills

The source presents two authentication paths: DefaultAzureCredential is recommended, while AzureKeyCredential is reserved for existing keyed deployments that have not migrated to Entra ID. It also distinguishes Server VAD, Azure Semantic VAD, and manual turn control.

FAQ

What projects is this skill suited for?
It suits Python projects that build real-time, bidirectional voice applications on Azure, including voice assistants, voice chatbots, speech-to-speech translation, and voice-driven avatars.
Is an API key required?
No. The skill recommends DefaultAzureCredential. AzureKeyCredential is provided for existing keyed deployments that have not migrated to Entra ID.
Does the application have to be asynchronous?
Yes. The best-practice guidance requires the `.aio` namespace and `async with` for connections and asynchronous credentials.
How are connection closures or API errors handled?
The examples handle error events and catch ConnectionClosed and ConnectionError, but the source does not provide detailed troubleshooting guidance or service-quota information.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

Dev & Engineering ✓ Microsoft · Official

Azure Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Related skills