Agent skill · software engineering · aiskillstore

azure-ai-voicelive-ts

Azure AI Voice Live SDK for JavaScript/TypeScript. Build real-time voice AI applications with bidirectional WebSocket communication.

Why this skill is useful

Provides specific commands and session configuration patterns for building real-time voice AI applications with Azure SDK that the AI wouldn't reliably generate on its own.

What it needs

Requires @azure/ai-voicelive, @azure/identity, @types/node installed locally. Requires azure account access. About 6k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

@azure/ai-voicelive (JavaScript/TypeScript) Real-time voice AI SDK for building bidirectional voice assistants with Azure AI in Node.js and browser environments. Installation Current Version: 1.0.0-beta.3 Supported Environments: Node.js LTS versions (20+) Modern browsers (Chrome, Firefox, Safari, Edge) Environment Variables Authentication Microsoft Entra ID (Recommended) API Key Client Hierarchy Quick Start Session Configuration Event Handling (Azure SDK Pattern) The SDK uses a subscription-based event handling pattern: Function Calling Voice Options Voice Type Config Example ------------ -------- --------- Azure Standard { type: "azure-standard", name: "..." } "en-US-AvaNeural" Azure Custom { type: "azure-custom", name: "...", endpointId: "..." } Custom voice endpoint Azure Personal { type: "azure-personal", speakerProfileId: "..." } Personal voice clone OpenAI { type: "openai", name: "..." } "alloy", "echo", "shimmer" Supported Models Model Description Use Case ------- ------------- ---------- gpt-4o-realtime-preview GPT-4o with real-time audio High-quality conversational AI gpt-4o-mini-realtime-preview Lightweight GPT-4o Fast, efficient interactions phi4-mm-realtime Phi multimodal Cost-effective applications Turn Detection Options Audio Formats Format Sample Rate Use Case -------- ------------- ---------- pcm16 24kHz Default, high quality pcm16-8000hz 8kHz Telephony pcm16-16000hz 16kHz Voice assistants g711ulaw 8kHz Telephony (US) g711alaw 8kHz Telephony (EU) Key Types Reference Type Purpose ------ --------- VoiceLiveClient Main client for creating sessions VoiceLiveSession Active WebSocket session VoiceLiveSessionHandlers Event handler interface VoiceLiveSubscription Active event subscription ConnectionContext Context for connection events SessionContext Context for session events ServerEventUnion Union of all server events Error Handling Logging Browser Usage Best Practices 1. Always use DefaultAzureCredential — Never hardcode API keys 2. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/azure-ai-voicelive-ts

View the source on GitHub

Browse the @skills marketplace