Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
81e0bcc
Regenerate voice agents SDK and improve samples
Aug 6, 2026
d90ef44
Fix voice agents validation issues
Aug 6, 2026
ff732a1
Address voice agents PR review comments
Aug 6, 2026
8969093
Add voice agents recording and live coverage
Aug 6, 2026
adb3e80
Fix voice agents pipeline validation
Aug 7, 2026
df85f9f
Fix voice agents validation issues
Aug 7, 2026
895d247
Fix voice agents pipeline validation
Aug 7, 2026
cda1821
Update voice agents API surface metadata
Copilot Aug 7, 2026
728f7f5
Address review feedback on agentserver samples
Copilot Aug 7, 2026
61ce7a8
Address response sample review feedback
Copilot Aug 7, 2026
21acd8e
Align invocations dependency comment
Copilot Aug 7, 2026
682ac00
Merge remote-tracking branch 'origin/main' into xitzhang/voice-agent-…
Aug 7, 2026
1984182
Fix voice agents recording test failures
Aug 7, 2026
32fc2cd
Fix voiceagents recording decode and aio transport headers
Aug 10, 2026
e6fb74e
Avoid concrete transport import in aio patch
Aug 10, 2026
0e85bc8
Merge remote-tracking branch 'origin/main' into xitzhang/voice-agent-…
Aug 13, 2026
1e37d81
Emit azure-ai-projects voice agent SDK from TypeSpec, add realtime cl…
Aug 13, 2026
23b70a7
Remove remaining sdk/voiceagents CI config files
Aug 13, 2026
580eff9
Improve realtime client: closed property, repr, wrapped connect error…
Aug 13, 2026
2ede6f8
Fix mypy/pylint/cspell issues and revert VoiceAgents header addition
Aug 13, 2026
c70d024
Regenerate azure-ai-projects API consistency artifacts
Copilot Aug 13, 2026
1db7726
Update azure-ai-projects API snapshot
Copilot Aug 13, 2026
a1762c9
Fix mypy/pyright/cspell CI failures for voice agent PR
Aug 14, 2026
e368d99
Add sync Realtime client for voice agents; regenerate SDK from TypeSp…
Aug 15, 2026
294a250
fix pylint
Aug 17, 2026
0f70525
Update azure-ai-projects api.md and api.metadata.yml for sync Realtim…
Copilot Aug 17, 2026
1f7b0b5
Merge branch 'main' into xitzhang/voice-agent-pupr
xitzhang Aug 17, 2026
0b0ce93
Fix voice-agent async decode bug, CI failures, and PR review comments
Aug 17, 2026
343df7c
Merge branch 'xitzhang/voice-agent-pupr' of https://github.com/Azure/…
Aug 17, 2026
58b08d0
Guard generated-attribute access for mocked __init__ tests; export Cl…
Aug 17, 2026
1f4f7d5
Add optional 'realtime' extra for websockets dependency; fix missing …
Aug 18, 2026
a15b014
Fix pylint reimported warning: remove duplicate AgentKind import in t…
Aug 18, 2026
839ca91
Regenerate SDK from latest voice-agents TypeSpec, fix conversation_id…
Aug 19, 2026
104696d
Fix azure-ai-projects API consistency
Copilot Aug 19, 2026
d4fe284
Merge branch 'main' into xitzhang/voice-agent-pupr
xitzhang Aug 19, 2026
ddc8099
Fix sphinx docstring warnings, pyright httpx type errors, stale routi…
Aug 19, 2026
16b0bac
Merge branch 'xitzhang/voice-agent-pupr' of https://github.com/Azure/…
Aug 19, 2026
00f2dc4
Update azure-ai-projects API snapshot
Copilot Aug 19, 2026
80859bb
Regenerate voice agent SDK from TypeSpec PR #45357, fix samples and t…
Aug 20, 2026
5685670
Fix voice_agent_web_socket static/runtime mismatch, sphinx docstring …
Aug 20, 2026
b5847a8
Cap openai to <3.0.0 to avoid httpx2 transport incompatibility with c…
Aug 20, 2026
532ab7e
Fix get_session_log_stream duplicate stream kwarg and resolve mypy un…
Aug 20, 2026
c25d9a4
Merge remote-tracking branch 'origin/main' into xitzhang/voice-agent-…
Aug 20, 2026
7ff4a95
Regenerate SDK from TypeSpec (voice agents PR), fix generate_agent pr…
Aug 20, 2026
2b31ed1
Fix sphinx docs build and pyright/mypy/pylint errors
Aug 21, 2026
dbd5dd4
Regenerate SDK from TypeSpec commit 28f4aa2 (align realtime item hier…
Aug 21, 2026
dbfd60e
Regenerate SDK from TypeSpec commit 8692ffec (voice agents v1 preview…
Aug 23, 2026
c0795de
Merge remote-tracking branch 'origin/main' into xitzhang/voice-agent-…
Copilot Aug 23, 2026
b681c71
Regenerate azure-ai-projects from TypeSpec commit 2e1e4f1d, add agent…
Sep 1, 2026
1a03869
Merge remote-tracking branch 'origin/main' into xitzhang/voice-agent-…
Sep 1, 2026
40fe677
Regenerate azure-ai-projects from TypeSpec commit 3fe1059c, restore R…
Sep 1, 2026
5565656
Fix PR #48484 review comments, docs generation failure, and recording…
Sep 2, 2026
48bafa6
Regenerate azure-ai-projects from TypeSpec commit 1070c74a, add telep…
Sep 3, 2026
da740dd
Merge remote-tracking branch 'origin/main' into xitzhang/voice-agent-…
Sep 3, 2026
9ab2ddf
Fix stale api.md from cached apistub wheel build (no source changes)
Sep 3, 2026
3a36a74
Fix PR #48484 review comments: security hardening, protocol bugs, sam…
Sep 3, 2026
b9a2242
Add voice agent realtime/conversation tests, live-test infra, and SDK…
Sep 3, 2026
6af54a6
Merge remote-tracking branch 'origin/main' into xitzhang/voice-agent-…
Sep 3, 2026
d7c6a97
Regenerate api.md/api.metadata.yml/docs/public-methods.md after main …
Sep 3, 2026
c8ffb74
Fix Analyze-stage CI failures (cspell/mypy/pyright/pylint) and resolv…
Sep 4, 2026
5cafb4f
Fix UnicodeEncodeError crash risk in voice agent samples that print m…
Sep 4, 2026
954026d
Improve voice agent sample code quality
Sep 4, 2026
072d33d
Resolve PR review comments: pin live-test region, restore open-union …
Sep 4, 2026
634ba12
Part 1: Emit SDK from TypeSpec
Sep 4, 2026
87a4cac
Part 2: Apply post-emitter-fixes.cmd
Sep 4, 2026
56bf718
Part 3: Additional edits
Sep 4, 2026
f7b24c7
Merge remote-tracking branch 'origin/main' into xitzhang/voice-agent-…
Sep 4, 2026
7575f0e
Merge branch 'main' into xitzhang/voice-agent-pupr
yulin-li Sep 5, 2026
4ad1e6d
Regenerate azure-ai-projects voice agent SDK
Sep 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions sdk/voiceagents/azure-ai-voiceagents/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Release History

## 1.0.0b1 (2026-08-06)

### Other Changes

- Initial version
21 changes: 21 additions & 0 deletions sdk/voiceagents/azure-ai-voiceagents/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Copyright (c) Microsoft Corporation.

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
7 changes: 7 additions & 0 deletions sdk/voiceagents/azure-ai-voiceagents/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
include *.md
include LICENSE
include azure/ai/voiceagents/py.typed
recursive-include tests *.py
recursive-include samples *.py *.md
include azure/__init__.py
include azure/ai/__init__.py
93 changes: 93 additions & 0 deletions sdk/voiceagents/azure-ai-voiceagents/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Azure AI Voice Agents client library for Python

The Azure AI Voice Agents client library provides APIs for creating and managing
voice agents in an Azure AI Foundry project, reading persisted voice
conversations, and connecting to a voice agent over a realtime WebSocket session.

Use this package to:

- Generate or create voice agents with model, instruction, voice, and tool settings.
- Manage voice agent versions and operational state.
- Stream live microphone audio to an existing voice agent and receive spoken responses.
- Read persisted conversation transcripts and audio when an agent is configured to store them.

## Getting started

### Install the package

```bash
python -m pip install azure-ai-voiceagents
```

### Prerequisites

- Python 3.10 or later is required to use this package.
- You need an [Azure subscription][azure_sub].
- You need an Azure AI Foundry project endpoint, for example
`https://<account>.services.ai.azure.com/api/projects/<project>`.
- For Microsoft Entra ID authentication, install [`azure-identity`][azure_identity_pip].
- For realtime async WebSocket sessions, install an async transport such as `aiohttp`.

### Authenticate the client

The client supports token credentials from the
[`azure-identity`][azure_identity_credentials] library. For example,
[`DefaultAzureCredential`][default_azure_credential] can authenticate from your
developer environment or configured application identity.

```python
from azure.ai.voiceagents import VoiceAgentsClient
from azure.identity import DefaultAzureCredential

client = VoiceAgentsClient(
endpoint="https://<account>.services.ai.azure.com/api/projects/<project>",
credential=DefaultAzureCredential(),
)
```

## Examples

Create a voice agents client and list the voice agents in a project:

```python
from azure.ai.voiceagents import VoiceAgentsClient
from azure.ai.voiceagents.models import AgentDefinitionOptInKeys
from azure.identity import DefaultAzureCredential

client = VoiceAgentsClient(
endpoint="https://<account>.services.ai.azure.com/api/projects/<project>",
credential=DefaultAzureCredential(),
)

for agent in client.voice_agents.list_voice_agents(
foundry_features=AgentDefinitionOptInKeys.VOICE_AGENTS_V1_PREVIEW
):
print(agent.name)
```

See the [samples](samples/README.md) directory for management, quickstart, and
realtime conversation examples.

## Contributing

This project welcomes contributions and suggestions. Most contributions require
you to agree to a Contributor License Agreement (CLA) declaring that you have
the right to, and actually do, grant us the rights to use your contribution.
For details, visit <https://cla.microsoft.com>.

When you submit a pull request, a CLA-bot will automatically determine whether
you need to provide a CLA and decorate the PR appropriately (e.g., label,
comment). Simply follow the instructions provided by the bot. You will only
need to do this once across all repos using our CLA.

This project has adopted the
[Microsoft Open Source Code of Conduct][code_of_conduct]. For more information,
see the Code of Conduct FAQ or contact <opencode@microsoft.com> with any
additional questions or comments.

<!-- LINKS -->
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#credentials
[azure_identity_pip]: https://pypi.org/project/azure-identity/
[default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential
[azure_sub]: https://azure.microsoft.com/free/
6 changes: 6 additions & 0 deletions sdk/voiceagents/azure-ai-voiceagents/_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"apiVersion": "v1",
"apiVersions": {
"Azure.AI.Projects": "v1"
}
}
Loading
Loading