Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
193f1ec
re emit
kaylieee May 12, 2026
420fcf5
suppress spellcheck for dedup
kaylieee May 12, 2026
8c961ff
add checkstyle suppressions
kaylieee May 13, 2026
2f2fcdb
rename targetconfig
kaylieee May 13, 2026
8b3e811
add custom overload
kaylieee May 13, 2026
8214549
Merge branch 'main' into kaylieee/release/2.1.0
kaylieee May 13, 2026
3eac3e7
unhide tsp location
kaylieee May 13, 2026
5e78999
regen
kaylieee May 13, 2026
7a03a9b
add customization for union type
kaylieee May 13, 2026
20283c6
Merge branch 'main' into kaylieee/release/2.1.0
kaylieee May 13, 2026
950bf72
increment versions
kaylieee May 13, 2026
22239bd
fix spacing
kaylieee May 13, 2026
560aec6
regen
kaylieee May 13, 2026
2b02d3e
regen
kaylieee May 15, 2026
fbd71c5
fix spacing
kaylieee May 15, 2026
bd44689
suppress checkstyle
kaylieee May 18, 2026
41792a3
Merge branch 'main' into kaylieee/release/2.1.0
kaylieee May 18, 2026
325c4ac
add listAgentConversations overload
kaylieee May 19, 2026
23106c4
Tests and Samples for 2.1.0 release (#49167)
jpalvarezl May 19, 2026
e84ca83
update samples and tests
kaylieee May 19, 2026
d173b3a
getSessionFiles rename
kaylieee May 19, 2026
fdd06d1
fix async sample
kaylieee May 19, 2026
ab49517
Move evaluator generation ops (#49238)
kaylieee May 21, 2026
4a9a550
Merge branch 'main' into kaylieee/release/2.1.0
kaylieee May 21, 2026
1f1f676
Emit agent optimizations (#49240)
kaylieee May 21, 2026
4b95ebc
update sessionlog tests
kaylieee May 21, 2026
2208496
revert version to beta.2
kaylieee May 21, 2026
6d2da66
update version client txt
kaylieee May 21, 2026
9b12e53
suppress inputitem classes, add binarydata helpers
kaylieee May 22, 2026
29a7440
fix tests, samples
kaylieee May 22, 2026
22c78b7
disable session log tests
kaylieee May 22, 2026
75a6474
suppress checkstyle
kaylieee May 22, 2026
3287ea8
suppression
kaylieee May 22, 2026
9a8bd42
Jpalvarezl/fix/samples for 210 release (#49243)
jpalvarezl May 22, 2026
0fa9bf3
fix type collisions
kaylieee May 26, 2026
aa282ca
ingest latest spec (#49273)
kaylieee May 26, 2026
ac985de
Merge branch 'main' into kaylieee/release/2.1.0
kaylieee May 26, 2026
f841ca2
update commit and re emit
kaylieee May 26, 2026
cdb34f4
remove dataset item tests
kaylieee May 26, 2026
ae4f6c2
update tests, samples
kaylieee May 26, 2026
fc71319
renames
kaylieee May 27, 2026
dbfcb8c
add toolbox params
kaylieee May 27, 2026
54d6ab7
update samples and tests
kaylieee May 27, 2026
1ccef5a
fix format
kaylieee May 27, 2026
fec39d0
disable sessionlog tests
kaylieee May 27, 2026
13d08ea
suppress checkstyle
kaylieee May 27, 2026
2447851
Suppress OpenAI tools (#49278)
kaylieee May 27, 2026
f4ea84b
Fabric IQ and Data Gen samples (#49247)
jpalvarezl May 27, 2026
8cb7f46
deleteSkill returns void
kaylieee May 27, 2026
6e9f47f
formatting updates
kaylieee May 27, 2026
945dc9a
rename to listsessionfiles
kaylieee May 27, 2026
1d57fda
Merge branch 'main' into kaylieee/release/2.1.0
kaylieee May 27, 2026
99fc6bd
update readme
kaylieee May 27, 2026
e0651a5
version update
kaylieee May 27, 2026
ccb33fb
update version txt
kaylieee May 27, 2026
d80e218
rename uri to url
kaylieee May 27, 2026
62fa995
update samples
kaylieee May 27, 2026
3dcd53c
re-emit agents, update samples and tests
kaylieee May 27, 2026
5151afd
re-emit for optin keys
kaylieee May 27, 2026
cf5d13f
rename fabricig
kaylieee May 27, 2026
7e761ba
typed getters and setters for fabriciq require approval
kaylieee May 28, 2026
c2a9684
rename to blueprintIdentity
kaylieee May 28, 2026
79f5566
rename to specify hash type
kaylieee May 28, 2026
3779a29
rename avg to average
kaylieee May 28, 2026
456cefa
fix sample
kaylieee May 28, 2026
cc1e991
hide no-arg constructor
kaylieee May 28, 2026
9cbcb80
add new constructor, update samples
kaylieee May 28, 2026
335e174
re emit from latest spec
kaylieee May 28, 2026
74dee23
Added missing protocol methods (#49297)
jpalvarezl May 29, 2026
78c68ff
Added missing getters for FileSearchTool filter types (#49296)
jpalvarezl May 29, 2026
2c41d3e
code re-gen projects
jpalvarezl May 29, 2026
a640834
README and changelog updates (#49310)
jpalvarezl May 29, 2026
1ec47ad
update deleteskill methods to return void
kaylieee May 29, 2026
d5ff10f
deletememory return void customization
kaylieee May 29, 2026
6d5395d
doc updates, int32 -> int64 update
kaylieee May 29, 2026
3059f2f
re-emit empty model
kaylieee May 29, 2026
f099bf2
rename dispatchRoutineAsync
kaylieee May 29, 2026
841d6d7
renames and sample/test updates
kaylieee May 29, 2026
0de9cbf
Merge branch 'main' into kaylieee/release/2.1.0
kaylieee May 29, 2026
352be01
update spacing
kaylieee May 29, 2026
16392de
Validate new AI sample tests (#49214)
jpalvarezl May 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ com.azure:azure-data-sdk-parent;1.3.0;1.3.0
com.azure:azure-sdk-parent;1.6.0;1.6.0
com.azure:azure-client-sdk-parent;1.7.0;1.7.0
com.azure:azure-ai-agents-persistent;1.0.0-beta.2;1.0.0-beta.3
com.azure:azure-ai-agents;2.0.1;2.1.0-beta.2
com.azure:azure-ai-agents;2.0.1;2.1.0
com.azure:azure-ai-anomalydetector;3.0.0-beta.5;3.0.0-beta.6
com.azure:azure-ai-contentsafety;1.0.18;1.1.0-beta.1
com.azure:azure-ai-contentunderstanding;1.0.0;1.1.0-beta.2
Expand All @@ -53,7 +53,7 @@ com.azure:azure-ai-openai-assistants;1.0.0-beta.5;1.0.0-beta.6
com.azure:azure-ai-openai-realtime;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-ai-openai-stainless;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-ai-personalizer;1.0.0-beta.1;1.0.0-beta.2
com.azure:azure-ai-projects;2.0.1;2.1.0-beta.2
com.azure:azure-ai-projects;2.0.1;2.1.0
com.azure:azure-ai-speech-transcription;1.0.0;1.1.0-beta.1
com.azure:azure-ai-textanalytics;5.5.13;5.6.0-beta.1
com.azure:azure-ai-textanalytics-perf;1.0.0-beta.1;1.0.0-beta.1
Expand Down
31 changes: 24 additions & 7 deletions sdk/ai/azure-ai-agents/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,46 @@
# Release History

## 2.1.0-beta.2 (Unreleased)
## 2.1.0 (2026-05-29)

### Features Added

- Added protocol-style methods on `ResponsesClient` and `ResponsesAsyncClient` that accept a raw JSON request body (`BinaryData`) and a `com.openai.core.RequestOptions`, and return the openai-java raw HTTP response. These mirror the existing `createAzureResponse` and `createStreamingAzureResponse` typed surface: `createResponseWithResponse` (returns `HttpResponseFor<Response>`) and `createResponseStreamWithResponse` (returns `HttpResponseFor<StreamResponse<ResponseStreamEvent>>`). They delegate to the underlying openai-java `ResponseService.withRawResponse()` surface and continue to flow through the Azure HTTP pipeline.

### Other Changes

- Enabled `ResponsesTests` and `ResponsesAsyncTests` (previously `@Disabled`) with create/retrieve/delete/input-items and background-cancel coverage for the typed (`ResponseService` / `ResponseServiceAsync`) surface, plus coverage for the new protocol-method surface. Recordings published to `Azure/azure-sdk-assets` and referenced from `assets.json`.
- Added preview support for external agents via `ExternalAgentDefinition`, `AgentKind.EXTERNAL`, and `AgentDefinitionOptInKeys.EXTERNAL_AGENTS_V1_PREVIEW`.
- Added preview code-based hosted agent operations on `AgentsClient` and `AgentsAsyncClient`, including `createAgentVersionFromCode`, `updateAgentFromCode`, and `downloadAgentCode`, plus related code package models such as `CreateAgentVersionFromCodeContent`, `CodeFileDetails`, and `CodeDependencyResolution`. `CodeConfiguration` now exposes the service-computed code package hash via `getContentSha256()`.
- Added preview agent optimization job and candidate management operations on `AgentsClient` and `AgentsAsyncClient`, including creating, listing, retrieving, canceling, and deleting optimization jobs, listing and inspecting candidates, downloading candidate files, and promoting candidates.
- Added `stopSession` and `stopSessionWithResponse` to stop hosted-agent sessions.
- Added `force` query parameter support for hosted-agent `deleteAgentWithResponse` and `deleteAgentVersionWithResponse` requests through `RequestOptions`, allowing active sessions to be cascade-deleted.
- Added individual memory item operations to `MemoryStoresClient` and `MemoryStoresAsyncClient`: `createMemory`, `updateMemory`, `listMemories`, `getMemory`, and `deleteMemory`, with new `ListMemoriesOptions`, `DeleteMemoryResponse`, and `MemoryItemKind.PROCEDURAL` support.
- Added new preview tools `FabricIqPreviewTool` and `ToolboxSearchPreviewTool`, plus related tool call/output models for Azure tools.
- Added optional per-tool configuration via `ToolConfig` and `toolConfigs` accessors on supported tool classes.
- Added `getComparisonFilter()` and `getCompoundFilter()` convenience getters on `FileSearchTool` for retrieving OpenAI filter types.
- Added new feature-flag values, including `AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW`, `AgentDefinitionOptInKeys.EXTERNAL_AGENTS_V1_PREVIEW`, and `FoundryFeaturesOptInKeys.AGENTS_OPTIMIZATION_V1_PREVIEW`.
- Added hosted-agent, Fabric IQ, Toolbox Search, and async toolbox samples.

### Breaking Changes

### Bugs Fixed
- `AgentEndpoint` renamed to `AgentEndpointConfig`.
- Session file listing methods on `AgentSessionFilesClient` and `AgentSessionFilesAsyncClient` were renamed from `getSessionFiles` to `listSessionFiles` and now return paged `SessionDirectoryEntry` results. `SessionDirectoryListResponse` was removed.
- Hosted-agent session methods no longer take a required `isolationKey` argument. Use overloads that accept the optional `userIsolationKey` value, or set the `x-ms-user-isolation-key` header through `RequestOptions`.
- `AgentDefinitionOptInKeys.CONTAINER_AGENTS_V1_PREVIEW` was removed. Use the applicable hosted-agent, code-agent, agent-endpoint, workflow-agent, or external-agent opt-in key instead.
- `HostedAgentDefinition` no longer exposes top-level `image` or `containerProtocolVersions` accessors. Use `ContainerConfiguration` for container images and `protocolVersions` for ingress protocol configuration.
- `CodeConfiguration` constructor now requires `CodeDependencyResolution` in addition to runtime and entry point.
- `WorkIqPreviewTool` now takes the Work IQ project connection ID directly. `WorkIQPreviewToolParameters` was removed.

### Other Changes

- Enabled `ResponsesTests` and `ResponsesAsyncTests` (previously `@Disabled`) with create/retrieve/delete/input-items and background-cancel coverage for the typed (`ResponseService` / `ResponseServiceAsync`) surface, plus coverage for the new protocol-method surface. Recordings published to `Azure/azure-sdk-assets` and referenced from `assets.json`.
- Re-enabled `SessionLogSyncTest` and `SessionLogAsyncTest`; both tests are recordable via `@RecordWithoutRequestBody` and run live against the configured Foundry project.
- Regenerated client from the updated TypeSpec specification.

## 2.1.0-beta.1 (2026-05-12)

### Features Added

- Added new `ToolboxesClient` and `ToolboxesAsyncClient` sub-clients (preview, opt-in via `FoundryFeaturesOptInKeys.TOOLBOXES_V1_PREVIEW`) for managing toolboxes and toolbox versions, with operations including `createToolboxVersion`, `getToolbox`, `getToolboxVersion`, `listToolboxes`, `listToolboxVersions`, `updateToolbox`, `deleteToolbox`, and `deleteToolboxVersion`. New `buildToolboxesClient()` and `buildToolboxesAsyncClient()` methods on `AgentsClientBuilder`.
- Added new `AgentSessionFilesClient` and `AgentSessionFilesAsyncClient` sub-clients for working with files in an agent session, with `uploadSessionFile`, `downloadSessionFile`, `getSessionFiles`, and `deleteSessionFile`. New `buildAgentSessionFilesClient()` and `buildAgentSessionFilesAsyncClient()` methods on `AgentsClientBuilder`.
- Added `buildAgentScopedOpenAIClient(String agentName)` and `buildAgentScopedOpenAIAsyncClient(String agentName)` to `AgentsClientBuilder` for constructing OpenAI clients targeting a specific agent's endpoint (base URL `{endpoint}/agents/{agentName}/endpoint/protocols/openai`). The default `buildOpenAIClient()` / `buildOpenAIAsyncClient()` continue to target `{endpoint}/openai/v1`.
- Added agent-session operations to `AgentsClient` and `AgentsAsyncClient`: `createSession`, `getSession`, `deleteSession`, `listSessions`, and `getSessionLogStreamWithResponse`. Added typed session log streaming convenience methods: `AgentsClient.getSessionLogStream(...)`, and `AgentsAsyncClient.getSessionLogStream(...)`, returning `SessionLogEvent`. New related models: `AgentSessionResource`, `AgentSessionStatus`, `SessionDirectoryEntry`, `SessionDirectoryListResponse`, `SessionFileWriteResponse`, `SessionLogEvent`, `SessionLogEventType`, `IsolationKeySource` (with `Kind`), `EntraIsolationKeySource`, and `HeaderIsolationKeySource`.
- Added agent-session operations to `AgentsClient` and `AgentsAsyncClient`: `createSession`, `getSession`, `deleteSession`, `listSessions`, and `getSessionLogStreamWithResponse`. Added typed session log streaming convenience methods: `AgentsClient.getSessionLogStream(...)`, and `AgentsAsyncClient.getSessionLogStream(...)`, returning `SessionLogEvent`. New related models: `AgentSessionResource`, `AgentSessionStatus`, `SessionDirectoryEntry`, `SessionDirectoryListResponse`, `SessionFileWriteResult`, `SessionLogEvent`, `SessionLogEventType`, `IsolationKeySource` (with `Kind`), `EntraIsolationKeySource`, and `HeaderIsolationKeySource`.
- Added `updateAgentDetails(String, UpdateAgentDetailsPatchRequest, ...)` and `updateAgentDetailsWithResponse` on `AgentsClient`/`AgentsAsyncClient` for patching agent details, plus new `UpdateAgentDetailsPatchRequest` model.
- Added new agent-endpoint and identity model types for hosted agents: `AgentEndpoint`, `AgentEndpointProtocol`, `AgentEndpointAuthorizationScheme` (with `Type`), `EntraAuthorizationScheme`, `BotServiceAuthorizationScheme`, `BotServiceRbacAuthorizationScheme`, `AgentIdentity`, `AgentBlueprintReference` (with `Type`), `ManagedAgentIdentityBlueprintReference`, `AgentCard`, and `AgentCardSkill`. `AgentDetails` now exposes `getAgentEndpoint`, `getInstanceIdentity`, `getBlueprint`, `getBlueprintReference`, and `getAgentCard`. `AgentVersionDetails` now exposes `getInstanceIdentity`, `getBlueprint`, `getBlueprintReference`, and `getAgentGuid`.
- Added agent-versioning model types: `VersionIndicator` (with `Type`), `VersionRefIndicator`, `VersionSelector` (with `Type`), `VersionSelectionRule`, `FixedRatioVersionSelectionRule`, and `CreateAgentVersionInput`.
Expand Down
85 changes: 79 additions & 6 deletions sdk/ai/azure-ai-agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-ai-agents</artifactId>
<version>2.1.0-beta.1</version>
<version>2.1.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -57,9 +57,9 @@ AgentsAsyncClient agentsAsyncClient = new AgentsClientBuilder()
```

The Agents client library has the following sub-clients which group the different operations that can be performed:
- `AgentsClient` / `AgentsAsyncClient`: Perform operations related to agents, such as creating, retrieving, updating, and deleting agents. Also includes agent-session operations (`createSession`, `getSession`, `deleteSession`, `listSessions`, `getSessionLogStream`, `getSessionLogStreamWithResponse`).
- `AgentsClient` / `AgentsAsyncClient`: Perform operations related to agents, such as creating, retrieving, updating, and deleting agents. Also includes hosted-agent sessions, code package operations and preview agent optimization operations.
- `ResponsesClient` / `ResponsesAsyncClient`: Handle responses operations. See the [OpenAI's Responses API documentation][openai_responses_api_docs] for more information.
- `MemoryStoresClient` / `MemoryStoresAsyncClient` **(preview)**: Manage memory stores for agents. This operation group requires the `MemoryStores=V1Preview` feature opt-in flag and is automatically set by the SDK on every request.
- `MemoryStoresClient` / `MemoryStoresAsyncClient` **(preview)**: Manage memory stores and individual memory items for agents. This operation group requires the `MemoryStores=V1Preview` feature opt-in flag and is automatically set by the SDK on every request.
- `ToolboxesClient` / `ToolboxesAsyncClient` **(preview)**: Manage toolboxes and toolbox versions. This operation group requires the `Toolboxes=V1Preview` feature opt-in flag and is automatically set by the SDK on every request.
- `AgentSessionFilesClient` / `AgentSessionFilesAsyncClient` **(preview)**: Work with files in an agent session, including uploading, downloading, listing, and deleting session files.

Expand Down Expand Up @@ -121,21 +121,25 @@ The SDK supports a variety of tools that can be attached to agent definitions. S
| `BingCustomSearchPreviewTool` | Bing custom search |
| `BrowserAutomationPreviewTool` | Browser automation |
| `ComputerUsePreviewTool` | Computer use |
| `FabricIqPreviewTool` | Fabric IQ |
| `McpTool` | Model Context Protocol (MCP) |
| `MemorySearchPreviewTool` | Memory search |
| `MicrosoftFabricPreviewTool` | Microsoft Fabric |
| `SharepointPreviewTool` | SharePoint grounding |
| `ToolboxSearchPreviewTool` | Toolbox search |
| `WebSearchPreviewTool` | Web search |
| `WorkIqPreviewTool` | Work IQ |

Supported tool classes may also expose optional `name`, `description`, and `toolConfigs` properties for user-defined labels and per-tool configuration.

### Experimental features and opt-in flags

Some features require an opt-in via the `Foundry-Features` HTTP header. The SDK provides two enums for these flags:

- **`AgentDefinitionOptInKeys`** — Used when creating or updating agents. Passed as a parameter to `createAgent`, `updateAgent`, `createAgentVersion`, and related methods. Available keys: `HOSTED_AGENTS_V1_PREVIEW`, `WORKFLOW_AGENTS_V1_PREVIEW`, `CONTAINER_AGENTS_V1_PREVIEW`, `AGENT_ENDPOINT_V1_PREVIEW`.
- **`FoundryFeaturesOptInKeys`** — Defines all known opt-in keys, including: `EVALUATIONS_V1_PREVIEW`, `SCHEDULES_V1_PREVIEW`, `RED_TEAMS_V1_PREVIEW`, `INSIGHTS_V1_PREVIEW`, `MEMORY_STORES_V1_PREVIEW`, `TOOLBOXES_V1_PREVIEW`, `SKILLS_V1_PREVIEW`.
- **`AgentDefinitionOptInKeys`** — Used when creating or updating agents. Passed as a parameter to `createAgent`, `updateAgent`, `createAgentVersion`, and related methods. Available keys: `HOSTED_AGENTS_V1_PREVIEW`, `WORKFLOW_AGENTS_V1_PREVIEW`, `AGENT_ENDPOINT_V1_PREVIEW`, `CODE_AGENTS_V1_PREVIEW`, `EXTERNAL_AGENTS_V1_PREVIEW`.
- **`FoundryFeaturesOptInKeys`** — Defines all known opt-in keys, including: `EVALUATIONS_V1_PREVIEW`, `SCHEDULES_V1_PREVIEW`, `RED_TEAMS_V1_PREVIEW`, `INSIGHTS_V1_PREVIEW`, `MEMORY_STORES_V1_PREVIEW`, `ROUTINES_V1_PREVIEW`, `TOOLBOXES_V1_PREVIEW`, `SKILLS_V1_PREVIEW`, `DATA_GENERATION_JOBS_V1_PREVIEW`, `MODELS_V1_PREVIEW`, `AGENTS_OPTIMIZATION_V1_PREVIEW`.

> **Note:** The `MemoryStoresClient` automatically sets the `MemoryStores=V1Preview` opt-in flag on every request. The `ToolboxesClient` automatically sets the `Toolboxes=V1Preview` opt-in flag on every request.
> **Note:** The `MemoryStoresClient` automatically sets the `MemoryStores=V1Preview` opt-in flag on every request. The `ToolboxesClient` automatically sets the `Toolboxes=V1Preview` opt-in flag on every request. Agent optimization methods accept `FoundryFeaturesOptInKeys.AGENTS_OPTIMIZATION_V1_PREVIEW`; code-based hosted agents and external agents use the corresponding `AgentDefinitionOptInKeys` values.

```java
// OpenAI SDK ResponseService accessed from ResponsesClient
Expand All @@ -147,6 +151,23 @@ OpenAIClient openAIClient = builder.buildOpenAIClient();
ConversationService conversationService = openAIClient.conversations();
```

### Preview hosted-agent capabilities

Hosted-agent previews are exposed on `AgentsClient` and `AgentsAsyncClient`. The following capabilities require the corresponding opt-in flag when you create or modify preview resources:

| Capability | APIs and models | Opt-in flag |
|---|---|---|
| Code-based hosted agents | `createAgentVersionFromCode`, `updateAgentFromCode`, `downloadAgentCode`, `CodeConfiguration`, `CodeDependencyResolution` | `AgentDefinitionOptInKeys.CODE_AGENTS_V1_PREVIEW` |
| External agents | `ExternalAgentDefinition`, `AgentKind.EXTERNAL` | `AgentDefinitionOptInKeys.EXTERNAL_AGENTS_V1_PREVIEW` |
| Agent endpoints and sessions | `AgentEndpointConfig`, `createSession`, `listSessions`, `stopSession`, `AgentSessionFilesClient` | `AgentDefinitionOptInKeys.AGENT_ENDPOINT_V1_PREVIEW` |
| Agent optimization | `createOptimizationJob`, `listOptimizationJobs`, `listOptimizationCandidates`, `promoteOptimizationCandidate` | `FoundryFeaturesOptInKeys.AGENTS_OPTIMIZATION_V1_PREVIEW` |

For code-based hosted agents, `CodeConfiguration.getContentSha256()` returns the service-computed SHA-256 hash of the uploaded code package. Session APIs that need per-user isolation can use overloads that accept `userIsolationKey`, or set the `x-ms-user-isolation-key` header through `RequestOptions`. To delete hosted agents or agent versions that still have active sessions, add the `force=true` query parameter through `RequestOptions` when calling the corresponding `deleteAgentWithResponse` or `deleteAgentVersionWithResponse` method.

### Memory item management

`MemoryStoresClient` and `MemoryStoresAsyncClient` manage memory stores and individual memory items. In addition to store-level operations, use `createMemory`, `updateMemory`, `listMemories`, `getMemory`, and `deleteMemory` to manage individual memories. `ListMemoriesOptions` supports filtering by scope and `MemoryItemKind`, including `MemoryItemKind.PROCEDURAL`.

### Using OpenAI's official library

If you prefer using the [OpenAI official Java client library][openai_java_sdk] instead, you can do so by including that dependency in your project instead and following the instructions in the linked repository. Additionally, you will have to set up your `OpenAIClient` as shown below:
Expand Down Expand Up @@ -492,6 +513,24 @@ See the full sample in [FabricSync.java](https://github.com/Azure/azure-sdk-for-

---

##### **Fabric IQ (Preview)**

Connect agents to Fabric IQ project connections for enterprise data grounding:

```java com.azure.ai.agents.define_fabric_iq

FabricIqPreviewTool fabricIqTool = new FabricIqPreviewTool(fabricIqConnectionId)
.setServerLabel("fabric_iq")
.setRequireApproval("never")
.setName("fabric_iq_lookup")
.setDescription("Use FabricIQ to answer questions grounded in enterprise data.");

```

See the full sample in [FabricIQSync.java](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/tools/FabricIQSync.java).

---

##### **Microsoft SharePoint (Preview)** ([documentation](https://learn.microsoft.com/azure/foundry/agents/how-to/tools/sharepoint?pivots=java))

Search through SharePoint documents for grounding:
Expand Down Expand Up @@ -576,6 +615,40 @@ See the full sample in [OpenApiWithConnectionSync.java](https://github.com/Azure

---

#### Toolbox Tools

Toolbox tools are defined in toolbox versions and managed through `ToolboxesClient` / `ToolboxesAsyncClient`.

##### **Toolbox Search (Preview)**

Use `ToolboxSearchPreviewTool` inside a toolbox version to let an agent search the available toolbox tools at runtime:

```java com.azure.ai.agents.toolboxes.ToolboxSearchToolboxSample.createToolboxSearchToolbox

ToolboxSearchPreviewTool toolboxSearchTool = new ToolboxSearchPreviewTool()
.setName("search_tools")
.setDescription("Search over available toolbox tools at runtime.");

ToolboxVersionDetails version = toolboxesClient.createToolboxVersion(
toolboxName,
Collections.singletonList(toolboxSearchTool),
"Toolbox version with a Toolbox Search preview tool.",
null,
null,
null);

System.out.printf("Created toolbox: %s%n", version.getName());
System.out.printf("Toolbox version: %s%n", version.getVersion());
for (Tool tool : version.getTools()) {
System.out.printf("Tool type: %s%n", tool.getType());
}

```

See the full sample in [ToolboxSearchToolboxSample.java](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/toolboxes/ToolboxSearchToolboxSample.java).

---

### Streaming responses

The `ResponsesClient` and `ResponsesAsyncClient` support streaming, which allows you to process response events as they arrive rather than waiting for the full response. This is useful for displaying text to users in real time and observing tool execution progress.
Expand Down
2 changes: 1 addition & 1 deletion sdk/ai/azure-ai-agents/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "java",
"TagPrefix": "java/ai/azure-ai-agents",
"Tag": "java/ai/azure-ai-agents_a3142fe843"
"Tag": "java/ai/azure-ai-agents_9343deca93"
}
Loading
Loading