Dev & Engineering ✓ Microsoft · Official

Azure Voice Live for Python

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

52/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 2.7k
Last updated
3mo ago
License
MIT
azurevoice-aiwebsocketaudio-streaming
+3python-sdkvoice-activity-detectionfunction-calling

What does this skill do, and when should you 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.

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

How do you install this skill?

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.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
Install first
  • Python
  • azure-ai-voicelive
  • aiohttp
  • azure-identity

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.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/.github/plugins/azure-sdk-python/skills/azure-ai-voicelive-py" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

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.

What are this skill's strengths and limitations?

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 does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Azure Voice Live for Python this page ✓ Microsoft · Official 52 · Use with care ★ 2.7k 3mo ago MIT
Azure Voice Live for .NET ✓ Microsoft · Official 46 · Use with care ★ 2.7k 3mo ago MIT
Azure AI VoiceLive for Java ✓ Microsoft · Official 45 · Not recommended ★ 2.7k 3mo ago MIT
Azure Voice Live for TypeScript ✓ Microsoft · Official 44 · Not recommended ★ 2.7k 3mo ago MIT
Azure AI Content Safety for Python ✓ Microsoft · Official 53 · Use with care ★ 2.7k 3mo ago MIT

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.

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
52/ 100 5-point scale 2.6 / 5
1Trust16 / 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.

2Reliability8 / 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.

3Adaptability9 / 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.

4Convention9 / 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.

5Effectiveness6 / 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.

6Verifiability4 / 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.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a Review evidence[1][2][3][4][5][6][7][8][9][10][11]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

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 Voice Live for .NET

Build real-time, bidirectional voice AI applications with the Azure .NET SDK.

★ 2.7k FS 46 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI VoiceLive for Java

Build real-time, bidirectional AI voice conversations in Java over WebSocket.

★ 2.7k FS 45 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Voice Live for TypeScript

Build real-time, bidirectional voice assistants with Azure in TypeScript.

★ 2.7k FS 44 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Content Safety for Python

Guides Python applications in detecting harmful text and images and enforcing custom blocklists.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Web PubSub for Python

Build Azure WebSocket messaging and publish-subscribe workflows for Python applications.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Conversation Understanding for Python

Helps Python developers analyze conversation intents and entities with the Azure SDK.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

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

★ 2.7k FS 55 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Foundry Agent Framework

Helps Python developers build persistent Azure AI Foundry agents with hosted tools, MCP integrations, threads, and streaming.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Persistent Agents for .NET

A practical .NET playbook for building and operating Azure AI persistent agents.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Document Translation for Python

Batch-translate Azure Blob Storage documents in Python while preserving their original formats.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Text Translation for Python

Add real-time Azure text translation to Python applications.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Search for Python

Helps Python developers build vector, hybrid, and semantic search applications with Azure AI Search.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs for Python

A practical guide to high-throughput event ingestion, consumption, and checkpointing in Python.

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure OpenAI for .NET

Gives coding agents practical .NET patterns for Azure OpenAI integrations.

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Microsoft Foundry Python Projects Skill

Gives coding agents dependable patterns for building Foundry AI applications with the Azure AI Projects Python SDK.

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

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

★ 2.7k FS 60 Recommended 3mo ago
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.

★ 2.7k FS 57 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

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

★ 2.7k FS 56 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

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

★ 2.7k FS 55 Use with care 3mo ago
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.

★ 2.7k FS 55 Use with care 3mo ago

Related skills