Skip to content

Commit afefa99

Browse files
authored
azure-ai-agents and azure-ai-projects 2.6.0 release chores (#50541)
* update versions * pin tsp location to main * update readme and changelog * update metadata from regen * update changelog, add regression test * put generated back * update offsetdatetime * remove ms from duration * update type to long * update endpoint getter to string * beta annotate voice enum values * make discriminated base classes non constructable * make discriminated field final * undo for old classes * bump changelog date * bump agents tsp hash to main
1 parent 6046f26 commit afefa99

60 files changed

Lines changed: 685 additions & 378 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎eng/versioning/version_client.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ com.azure:azure-data-sdk-parent;1.3.0;1.3.0
3737
com.azure:azure-sdk-parent;1.6.0;1.6.0
3838
com.azure:azure-client-sdk-parent;1.7.0;1.7.0
3939
com.azure:azure-ai-agents-persistent;1.0.0-beta.2;1.0.0-beta.3
40-
com.azure:azure-ai-agents;2.5.0;2.6.0-beta.1
40+
com.azure:azure-ai-agents;2.5.0;2.6.0
4141
com.azure:azure-ai-anomalydetector;3.0.0-beta.5;3.0.0-beta.6
4242
com.azure:azure-ai-contentsafety;1.0.20;1.1.0-beta.2
4343
com.azure:azure-ai-contentunderstanding;1.0.0;1.1.0-beta.4
@@ -53,7 +53,7 @@ com.azure:azure-ai-openai;1.0.0-beta.16;1.0.0-beta.17
5353
com.azure:azure-ai-openai-assistants;1.0.0-beta.5;1.0.0-beta.6
5454
com.azure:azure-ai-openai-realtime;1.0.0-beta.1;1.0.0-beta.1
5555
com.azure:azure-ai-openai-stainless;1.0.0-beta.1;1.0.0-beta.1
56-
com.azure:azure-ai-projects;2.5.0;2.6.0-beta.1
56+
com.azure:azure-ai-projects;2.5.0;2.6.0
5757
com.azure:azure-ai-speech-transcription;1.0.0;1.1.0-beta.1
5858
com.azure:azure-ai-textanalytics;5.5.15;5.6.0-beta.1
5959
com.azure:azure-ai-textanalytics-perf;1.0.0-beta.1;1.0.0-beta.1

‎sdk/ai/azure-ai-agents/CHANGELOG.md‎

Lines changed: 55 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,70 @@
11
# Release History
22

3-
## 2.6.0-beta.1 (Unreleased)
3+
## 2.6.0 (2026-09-22)
44

55
### Features Added
66

7-
- Added `VersionSelector.setVersionSelectionRule` as a convenience for configuring a single version selection rule.
8-
- Added public `StreamingResponseUtils` in the `com.azure.ai.agents.util` package for converting OpenAI streaming
9-
responses to Azure SDK `IterableStream` and Reactor `Flux` types.
10-
- Added raw JSON WebSocket sends, complete unknown-event payloads, UTF-8 binary JSON reception, configurable receive
11-
limits and overflow policies, and opt-in recovery from malformed events.
12-
- Added custom WebSocket close codes and reasons, and per-event synchronous receive timeouts.
13-
- Added realtime session options for session IDs, structured inputs, persistence, and agent version selection.
14-
15-
- Added preview `BetaVoiceAgentsTelephonyClient` and `BetaVoiceAgentsTelephonyAsyncClient` for outbound call jobs and campaign management, including recipient import, validation, publishing, pausing, resuming, and cancellation.
16-
- Added preview `BetaVoiceAgentsConversationsClient` and `BetaVoiceAgentsConversationsAsyncClient` for managing
17-
persisted voice-agent conversations and their responses, items, and audio content.
7+
- Added preview voice-agent lifecycle support through `VoiceAgentDefinition`, `AgentKind.VOICE`, and
8+
`AgentEndpointProtocol.VOICE`. With `AgentsClientBuilder.allowPreview(true)`, voice agents can be created and versioned
9+
with `AgentsClient` and `AgentsAsyncClient`, with configuration for speech models, instructions, structured inputs,
10+
audio and transcription, turn detection, greetings and interim responses, function/MCP/toolbox/system tools,
11+
subagents, persistence, avatars, and animation.
12+
- Added `createAgentFromPrompt` and `createAgentFromPromptWithResponse` to `BetaAgentsClient` and
13+
`BetaAgentsAsyncClient` for generating and creating agents from kind-specific high-level inputs.
1814
- Added preview `BetaVoiceAgentWebSocketClient`, `BetaVoiceAgentWebSocketAsyncClient`,
19-
`BetaVoiceAgentWebSocketSessionClient`, and `BetaVoiceAgentWebSocketSessionAsyncClient` with typed realtime events,
20-
text and PCM16 audio input, response cancellation, function-call output, persisted-conversation options, and
21-
authenticated `wss://` transport.
22-
- Added synchronous and asynchronous live text conversation samples, an asynchronous Java Sound microphone/speaker sample with barge-in, and a live client-executed function-tool sample.
23-
24-
### Breaking Changes
25-
26-
- Voice-agent WebSocket connections now require secure endpoints, including localhost. Synchronous sessions now
27-
enforce a 32 MiB default message limit.
28-
- Replaced `generateAgent` and `generateAgentWithResponse` on `AgentsClient` and `AgentsAsyncClient` with
29-
`createAgentFromPrompt` and `createAgentFromPromptWithResponse` on `BetaAgentsClient` and `BetaAgentsAsyncClient`.
30-
- Moved `getId()` and `getConversationId()` from `VoiceResponseBase` to `VoiceResponse`.
15+
`BetaVoiceAgentWebSocketSessionClient`, and `BetaVoiceAgentWebSocketSessionAsyncClient` for authenticated realtime
16+
`wss://` sessions. The clients support typed and raw events, text and audio input, response cancellation,
17+
client-executed function results, persisted conversations, agent-version overrides, and the related realtime session,
18+
conversation-item, response, transcription, MCP, audio, avatar, and RTC event models.
19+
- Added `VoiceAgentWebSocketConnectionOptions` for session IDs, structured inputs, persistence, version selection,
20+
handshake and close timeouts, receive-buffer and message-size limits (32 MiB by default), overflow policies, and
21+
opt-in recovery from malformed events. Sessions also support raw JSON sends, complete unknown-event payloads,
22+
UTF-8 binary JSON, per-event synchronous receive timeouts, and custom close codes and reasons.
23+
- Added type-safe constructors and accessors for union-valued voice and realtime properties, including session
24+
configurations, tool choices, token limits, tracing, truncation, voices, MCP options, and transcription usage.
25+
- Added preview `BetaVoiceAgentsConversationsClient` and `BetaVoiceAgentsConversationsAsyncClient` for listing,
26+
retrieving, and deleting persisted voice-agent conversations; reading responses and conversation items; and retrieving
27+
or downloading input, generated, and full-conversation audio.
28+
- Added preview `BetaVoiceAgentsTelephonyClient` and `BetaVoiceAgentsTelephonyAsyncClient` for Teams Phone Extension and
29+
Twilio bindings, call listing and inspection, call transfer and termination, transfer-target management, and scheduled
30+
outbound call jobs with retry and cancellation support. All voice beta clients are built through
31+
`AgentsClientBuilder.beta()` and automatically add the `VoiceAgents=V1Preview` feature opt-in.
32+
- Added preview GitHub Copilot harness and built-in toolset support for prompt agents through
33+
`PromptAgentDefinition.setHarness(...)`, `GitHubCopilotHarness`, `GitHubCopilotToolsetPreview`, and related types.
34+
Prompt agents can also reference versioned Foundry skills through `PromptAgentDefinition.setSkills(...)` and
35+
`SkillReference`.
36+
- Added preview Model Router session affinity. `AzureCreateResponseOptions.setRoutingConfig(...)` configures affinity
37+
mode and session ID, while `ModelRouterDetails.getSessionAffinity()` exposes the effective mode, source, and routing
38+
decision.
39+
- Added invocation-protocol content moderation through `RaiConfig.setInvocationsModeration(...)`, with JSON/text input
40+
and output selectors plus SSE event selectors for streaming responses.
41+
- Added `invokeLatestToolboxMcp` and `invokeLatestToolboxMcpWithResponse` to `ToolboxesClient` and
42+
`ToolboxesAsyncClient`. `ToolboxDetails` now exposes its last-updated time and latest-version details through
43+
`getUpdatedAt()` and `getVersions()`.
44+
- Added `AgentDetails.getConfigurationState()` to expose an agent's administrative enablement state and
45+
`AgentSessionResource.getStoppedAt()` to expose when a hosted-agent session last stopped or became idle.
46+
- Added `ToolType.GITHUB_COPILOT_TOOLSET_PREVIEW` and `ToolType.BROWSER_AUTOMATION` discriminator values, along with
47+
typed MCP list-tools models for voice-agent realtime sessions.
48+
- Added `VersionSelector.setVersionSelectionRule(...)` as a convenience for configuring one version-selection rule.
49+
- Added public `StreamingResponseUtils` in `com.azure.ai.agents.util` for converting OpenAI streaming responses to Azure
50+
SDK `IterableStream` and Reactor `Flux` types.
51+
- Added voice-agent samples covering lifecycle and version management, guided generation, audio and tool configuration,
52+
persisted conversations and audio, synchronous and asynchronous live text, asynchronous Java Sound audio with
53+
barge-in, and client-executed function tools.
3154

3255
### Bugs Fixed
3356

34-
- Reject insecure voice-agent WebSocket URLs before token acquisition to prevent sending credentials over plaintext.
35-
- Reject HTTP client, pipeline, policy, and retry builder settings that native WebSocket transports cannot honor.
36-
- Enforce the single-iterator contract of synchronous voice-agent event streams.
37-
- Made synchronous voice-agent receive-buffer overflow signaling atomic across concurrent callbacks.
38-
- Fixed polling for telephony operations that return the `cancelled` status spelling.
57+
- Fixed serialization of openai-java `Reasoning` values in `PromptAgentDefinition` so retrieved definitions can be
58+
reused to create new agent versions without emitting unsupported request properties.
59+
- Fixed polling for agent-optimization jobs that return the `cancelled` status spelling.
3960

4061
### Other Changes
4162

63+
- Updated existing response, streaming, and tool samples to configure agent endpoints and route requests through
64+
`buildAgentScopedOpenAIClient(...)` or `buildAgentScopedOpenAIAsyncClient(...)`.
65+
- Added Reactor Netty, Netty, OkHttp, and Okio runtime dependencies for voice-agent WebSocket transport support.
66+
- Regenerated the client from the updated TypeSpec specification.
67+
4268
## 2.5.0 (2026-09-09)
4369

4470
### Features Added

0 commit comments

Comments
 (0)