sickn33/antigravity-awesome-skills/azure-ai-voicelive-ts
- community
Checking that the SKILL.md file is still in the repository.
Azure AI Voice Live SDK for JavaScript/TypeScript. Build real-time voice AI applications with bidirectional WebSocket communication.
Install
npx vskill@latest install sickn33/antigravity-awesome-skills/azure-ai-voicelive-tsSKILL.md
@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
Historical example baseline: 1.0.0-beta.3. Pin and verify preview API compatibility before use.
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 | |
g711_ulaw | 8kHz | Telephony (US) | |
g711_alaw | 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
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/azure-ai-voicelive-ts/SKILL.md
Popularity
- Repository stars
- 26,647
- Repository forks
- 4,541
- Repository npm downloads, 7 days
- 6,478
- 7-day trend score
- 72
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 23 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sickn33/antigravity-awesome-skills/azure-ai-voicelive-ts)