azure-ai-voicelive-py
Skill by sickn33
Shows how to build real-time voice AI applications with the Azure AI Voice Live SDK. It covers bidirectional WebSocket sessions, audio streaming, event handling and function calls for Python developers.
Install azure-ai-voicelive-py
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-py ~/.claude/skills/azure-ai-voicelive-pyRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
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-py ~/.gemini/antigravity-cli/skills/azure-ai-voicelive-pyAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install azure-ai-voicelive-py in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The azure-ai-voicelive-py skill shows how to build real-time voice AI applications with the Azure AI Voice Live SDK. It covers bidirectional WebSocket communication, authentication with DefaultAzureCredential or an API key, and session setup with instructions, voice, audio formats and turn detection. It also includes examples for streaming base64 PCM16 audio, handling server events, running function calls and interrupting responses.
The skill is written for Python developers who use Azure AI services. The source describes its snippets as version-sensitive sketches rather than complete audio clients, so users should verify the installed SDK version, endpoint, model availability and token audience. It also notes that audio and transcripts leave the machine for Azure, so recording authorization and data retention need attention. Reference files cover the API, examples and models.
Written from the project's SKILL.md and checked against it.
What it can do
- Session configurationSets instructions, modalities, voice, audio formats and turn detection for a voice session.
- Audio streamingSends base64 PCM16 microphone audio and receives audio deltas for playback.
- Event handlingProcesses session, transcription, response and error events from the connection.
- Function callsHandles function call events and returns function_call_output items to the model.
- Interrupt handlingCancels the current response and clears output audio when the user starts speaking.
- Manual turn modeTurns off voice activity detection and commits user audio turns manually.
- Conversation historyAdds system and user messages to the conversation before requesting a response.
- Turn detection optionsDescribes server VAD and Azure semantic VAD settings for detecting speech turns.
What you need
- Python
- An Azure Cognitive Services endpoint
- Azure credentials or an API key
- Python packages azure-ai-voicelive, aiohttp and azure-identity
Try asking
- Write a Python script that starts a voice session with Azure AI Voice Live.
- Show me how to stream microphone PCM16 audio to Azure Voice Live.
- Add a get_weather function tool to my Azure voice session setup.
Good to know
- The snippets are version-sensitive sketches, not complete audio clients.
- The source says API key auth is not recommended for production.
- Reference defaults can conflict with some explicit credential scopes, so token audience needs checking.
- Audio and transcripts are sent to Azure and need recording authorization.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/azure-ai-voicelive-py/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB -
UPSTREAM-LICENSE.txt1 KB -
UPSTREAM-NOTICE.md2 KB -
references/api-reference.md9 KB -
references/examples.md17 KB
Show all 6 files
-
references/models.md18 KB
Alternatives to azure-ai-voicelive-py
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-py: common questions
Does this skill need an Azure account?
It connects to an Azure Cognitive Services endpoint using DefaultAzureCredential or an API key. The source prefers DefaultAzureCredential.
Is it safe to send user audio through this?
The source states that audio and transcripts leave the machine for Azure. It advises obtaining recording or upload authorization and minimizing retention and logs.
Can the model run tool calls on its own?
The source says generated function calls are requests, not permission. Tool names, JSON schemas and user authorization should be validated server-side.
How do I install azure-ai-voicelive-py?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is azure-ai-voicelive-py free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is azure-ai-voicelive-py safe to use?
It scores 92 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-py?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
