azure-ai-voicelive-dotnet
Skill by sickn33
Azure.AI.VoiceLive is a .NET SDK skill for building real-time voice AI applications with Azure AI. It covers session setup, event handling, and function calling over a bidirectional WebSocket connection. It is aimed at .NET developers building voice assistants.
Install azure-ai-voicelive-dotnet
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-ai-voicelive-dotnet ~/.claude/skills/azure-ai-voicelive-dotnetRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install azure-ai-voicelive-dotnet in Claude Code
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-ai-voicelive-dotnet ~/.gemini/antigravity-cli/skills/azure-ai-voicelive-dotnetAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install azure-ai-voicelive-dotnet in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Azure.AI.VoiceLive is a .NET skill for building real-time voice AI applications with Azure AI. It shows how to create a VoiceLiveClient, authenticate with Microsoft Entra ID or an API key, and open a bidirectional WebSocket session. The session can be configured with instructions, a voice, turn detection and audio formats.
The workflow covers processing streamed events for audio, text, errors and function calls, sending user messages, and adding function tools. The source notes that audio playback uses NAudio or another library, and that tool arguments from the model should be validated. It is aimed at developers building voice assistants on Azure with .NET.
Written from the project's SKILL.md and checked against it.
What it can do
- Start sessionOpens a VoiceLiveSession with StartSessionAsync and a model name.
- Configure sessionSets instructions, voice, turn detection and PCM16 audio formats.
- Process eventsReads audio, text, error and response events from GetUpdatesAsync.
- Send user messageAdds a UserMessageItem and starts a response.
- Function callingDefines a function tool and returns its output to the session.
- Voice optionsSupports Azure standard, Azure HD and Azure custom voices.
- Error handlingShows how to ignore a benign no active response cancellation error.
What you need
- An Azure AI resource endpoint
- Cognitive Services User role on the resource, or an API key
- The Azure.AI.VoiceLive and Azure.Identity NuGet packages
- NAudio for audio capture and playback, if used
Try asking
- Show me how to start a voice live session with Entra ID in .NET
- Help me add a weather function tool to my voice assistant
- Configure semantic VAD and PCM16 audio for a voice assistant
Good to know
- Examples are SDK fragments; pin a compatible package and check the API in Microsoft docs.
- Exact audio formats and rates depend on the pinned model and SDK.
- Reconfigure the session after adding tools.
- The weather function in the example performs no live lookup.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/azure-ai-voicelive-dotnet/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB
Alternatives to azure-ai-voicelive-dotnet
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
azure-ai-voicelive-dotnet: common questions
How do I authenticate with the Voice Live SDK?
The source recommends DefaultAzureCredential with the Cognitive Services User role. It also shows an AzureKeyCredential option using an API key.
Which models does the skill list?
It lists gpt-4o-realtime-preview, gpt-4o-mini-realtime-preview and phi4-mm-realtime.
How should tool calls from the model be handled?
The source says model-provided tool arguments are untrusted. It advises validating the schema, allowlisting operations, and requiring authorization for external effects.
How do I install azure-ai-voicelive-dotnet?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is azure-ai-voicelive-dotnet free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is azure-ai-voicelive-dotnet safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to azure-ai-voicelive-dotnet?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
