Dev & Engineering ✓ Microsoft · Official java-sdkazure-voicelivewebsocketaudio-streamingvoice-activity-detectionreactive-programming

Azure AI VoiceLive for Java

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

FollowSkills review · FSRS-2.0
Not recommended
45/ 100 5-point scale 2.3 / 5
1 2 3 4 5 6
1Trust11 / 25 · 2.2/5

It presents API-key and DefaultAzureCredential authentication and recommends managed identity, but it does not explain audio, transcription, or function-call data flows, privacy retention, least-privilege requirements, user confirmation, or server-side external effects. Sensitive-data handling and recovery boundaries are absent, so points are deducted.

2Reliability7 / 20 · 1.8/5

The main workflow, audio parameters, and error-handling examples are reasonably detailed, but event class names, method signatures, and examples may be inconsistent. Async subscription, backpressure, lifecycle, and reconnect behavior are not diagnostically controlled, and no skill-specific key-path tests are shown; the static calibration therefore limits the score.

3Adaptability8 / 15 · 2.7/5

Triggers, Java SDK scope, and real-time voice scenarios are clear, covering API keys, managed identity, audio, VAD, events, and function calling. However, non-fit cases, regional availability, Chinese voice support, and mainland-China network reachability are not stated, leaving important boundary evidence missing.

4Convention9 / 15 · 3.0/5

The skill includes installation, environment variables, authentication, workflow, voice configuration, function calling, error handling, references, MIT licensing, author, and version metadata. However, the dependency is beta, there is no compatibility matrix, changelog, detailed maintenance path, troubleshooting section, or complete limitations disclosure; the supplied reference example is visibly truncated.

5Effectiveness6 / 15 · 2.0/5

The material covers client creation, session setup, audio streaming, event handling, and function calling, so it could support generation of a basic VoiceLive Java implementation. No build or runtime result is included, and API/type accuracy and resource-lifecycle correctness remain uncertain, requiring substantial user verification and likely revision.

6Verifiability4 / 10 · 2.0/5

SDK source and sample links, pinned dependency versions, and repository CI/test materials provide limited traceability. This review is static only; no skill-specific tests, build evidence, or independent corroboration are shown, and the key references are not actually reproduced in the supplied material, so points are deducted.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • Do not treat the examples as directly runnable; compile them against the target beta.2 SDK and verify event types, method signatures, and dependency versions first.
  • Audio, transcription, personal voices, and function calling may involve sensitive data or external effects; add application-level notice, authorization, least privilege, log redaction, and confirmation before function execution.
  • Add explicit session closure, disconnect, reconnect, timeout, rate-limit, backpressure, and microphone/speaker resource-cleanup guidance.
  • Confirm Azure VoiceLive availability for the target region, account, mainland-China network environment, and Chinese-language voice requirements.
See the full review method →

What does this skill do, and when should you use it?

This skill is for Java developers using the Azure AI VoiceLive SDK to create real-time, bidirectional voice sessions. It covers Maven installation, API-key and DefaultAzureCredential authentication, WebSocket session startup, reactive event handling, and audio streaming. The examples define 24 kHz, 16-bit, mono PCM requirements and show turn detection, transcription, noise reduction, echo cancellation, interruption handling, and function calling. It is a practical fit for Java voice-assistant projects, although the source does not document complete testing or production deployment procedures.

Shows how to add the azure-ai-voicelive Maven dependency, read the VoiceLive endpoint and credential environment variables, create a VoiceLiveAsyncClient, start a WebSocket session, and configure voice, modalities, audio formats, sampling rate, transcription, and server-side voice activity detection. It demonstrates sending PCM16 audio chunks, subscribing to session events, playing response audio deltas, handling completion and error events, and configuring OpenAI, Azure Standard, Azure Custom, and Azure Personal voices.

  1. A Java team building an assistant that listens and responds to users in real time.
  2. A developer streaming PCM16 microphone audio to VoiceLive over WebSocket.
  3. A conversational application using server-side voice activity detection for turn-taking and interruptions.
  4. A Java project enabling Whisper transcription, noise reduction, or echo cancellation for voice input.
  5. A developer adding custom functions such as weather lookup to a voice assistant.

What are this skill's strengths and limitations?

Pros
  • Provides copyable Java examples for client creation, session configuration, and event handling.
  • Documents both API-key and DefaultAzureCredential authentication.
  • Covers voice activity detection, interruptions, transcription, noise reduction, echo cancellation, and function calling.
  • Clearly specifies the required real-time audio format and response-audio event handling.
Limitations
  • The SDK dependency is versioned as 1.0.0-beta.2, a beta release.
  • The source provides no skill-specific test scenarios or acceptance results.
  • Examples require an external Azure VoiceLive endpoint and real-time WebSocket connectivity.
  • Microphone capture, audio playback, and a complete production deployment are not implemented.

How do you install this skill?

Install the Microsoft Agent Skills collection with:

npx skills add microsoft/skills

Select azure-ai-voicelive-java in the installation wizard. The repository states that skills are installed into the selected agent directory, such as .github/skills/ for GitHub Copilot; the exact destination is determined by the wizard.

How do you use this skill?

Ask a coding agent using a trigger such as "VoiceLiveClient java", "voice assistant java", "real-time voice java", "audio streaming java", or "voice activity detection java". Add com.azure:azure-ai-voicelive:1.0.0-beta.2, set AZURE_VOICELIVE_ENDPOINT, and choose AzureKeyCredential or DefaultAzureCredential. Start a session with VoiceLiveAsyncClient, configure VoiceLiveSessionOptions, send 24 kHz, 16-bit, mono, signed little-endian PCM audio, and subscribe to the event stream.

FAQ

Does this skill include the Azure VoiceLive service itself?
No. It provides Java SDK guidance; you still need a VoiceLive endpoint and appropriate authentication.
Is an API key required?
No. You can use AzureKeyCredential, or the recommended DefaultAzureCredential and other token credentials for production.
What audio format is required?
The source specifies 24 kHz sampling, 16-bit PCM, mono audio, signed and little-endian.
Does it implement microphone capture and audio playback?
No. The examples use readAudioChunk() and playAudioChunk() placeholders, so the application must provide the audio pipeline.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Voice Live for Python

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

Dev & Engineering ✓ Microsoft · Official

Azure Voice Live for .NET

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

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 AI Vision Image Analysis for Java

A practical Java SDK guide for captions, OCR, object detection, tagging, and smart image cropping.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Java

A practical Java playbook for building file and streaming workflows on Azure Blob Storage.

Dev & Engineering ✓ Microsoft · Official

Azure Web PubSub for Java

A practical Java SDK guide for Azure Web PubSub messaging, groups, permissions, and real-time client access.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB Java Skill

Guides Java developers in building globally distributed, partitioned, and reactive Azure Cosmos DB applications.

Dev & Engineering ✓ Microsoft · Official

Azure CallingServer Java Legacy Maintainer

Maintain legacy CallingServer Java code and migrate it toward Azure Communication Services Call Automation.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Java

Query Azure Monitor logs and resource metrics from Java applications.

Dev & Engineering ✓ Microsoft · Official

Azure Communication Common for Java

Guides Java developers through shared ACS authentication, token refresh, and communication identifier handling.

Dev & Engineering ✓ Microsoft · Official

Azure Web PubSub for Python

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

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Keys for Java

Ground Java coding agents in secure Azure Key Vault and Managed HSM key-management workflows.

Dev & Engineering ✓ Microsoft · Official

Azure Batch Java Job Orchestration

Run and manage large-scale parallel and HPC workloads on Azure from Java.

Dev & Engineering ✓ Microsoft · Official

Azure Tables Java Skill

Build Java applications for Azure Table Storage and the Cosmos DB Table API.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Log Ingestion for Java

Guides Java applications in sending structured custom logs to Azure Monitor through DCRs.

Dev & Engineering ✓ Microsoft · Official

Azure Event Grid for Java

A practical Java SDK guide for publishing, consuming, and handling Azure Event Grid events.

Dev & Engineering ✓ Microsoft · Official

Azure Document Intelligence for Java

Gives Java developers practical patterns for extracting and classifying data with Azure Document Intelligence.

Dev & Engineering ✓ Microsoft · Official

Azure Voice Live for TypeScript

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

Dev & Engineering ✓ Microsoft · Official

Azure Communication Chat for Java

A practical Java SDK guide for building Azure real-time chat threads, messaging, and participant workflows.

Dev & Engineering ✓ Microsoft · Official

Azure Call Automation for Java

Build Java workflows for IVR, call routing, recording, and voice-driven interactions.

Related skills