Skip to content

Samples for 2.4.0 - #50187

Open
Jose Alvarez (jpalvarezl) wants to merge 25 commits into
mainfrom
jpalvarezl/samples_2_4_0
Open

Samples for 2.4.0#50187
Jose Alvarez (jpalvarezl) wants to merge 25 commits into
mainfrom
jpalvarezl/samples_2_4_0

Conversation

@jpalvarezl

Copy link
Copy Markdown
Member

This pull request introduces new features and documentation improvements to the Azure AI Agents SDK, with a focus on draft agent versions, agent optimization, new toolbox tools, and enhanced sample coverage. It also clarifies the usage of preview features and updates the README with new guidance and samples.

Key changes:

New Features and Samples

  • Added synchronous and asynchronous samples demonstrating how to create and inspect draft agent versions using AgentsClient and AgentsAsyncClient. These samples show how to create both released and draft agent versions, list versions with and without drafts, and clean up agents after testing. (sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/agents/AgentDraftSample.java, sdk/ai/azure-ai-agents/src/samples/java/com/azure/ai/agents/agents/AgentDraftAsyncSample.java) [1] [2]
  • Added new samples for the Reminder toolbox tool, hosted-agent enable/disable, advanced memory-store workflows, and agent optimization. (sdk/ai/azure-ai-agents/CHANGELOG.md)

Documentation and README Updates

  • Expanded the README to document draft agent versions, including how to create, list, and manage them, and linked to the new samples.
  • Documented the new agent optimization preview feature, including links to service documentation and samples. [1] [2]
  • Added guidance and samples for using the x-ms-user-identity header to scope conversation operations to a delegated end user.
  • Improved documentation for Fabric IQ and added documentation and samples for the new Work IQ tool.
  • Added documentation for the Reminder (preview) toolbox tool, including sample usage.

Preview Features Clarification

  • Clarified when to use AgentsClientBuilder.allowPreview(true) for accessing preview APIs, including draft agent versions and other preview features. [1] [2]

These changes enhance the SDK's usability and feature set, especially around preview and advanced agent management scenarios.

Kaylie (kaylieee) and others added 25 commits August 17, 2026 14:20
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 679cb280-41ef-40f8-b9dd-33fa4746aefc
Copilot-Session: 679cb280-41ef-40f8-b9dd-33fa4746aefc

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Track the dispatched run by ID, recognize V2 terminal phases, and ensure asynchronous cleanup on failures.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 679cb280-41ef-40f8-b9dd-33fa4746aefc
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 679cb280-41ef-40f8-b9dd-33fa4746aefc
Add synchronous and asynchronous Agent Optimizer samples using the beta Agents clients and Azure Core polling primitives. Document the preview workflow and required Foundry configuration in the package README.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 679cb280-41ef-40f8-b9dd-33fa4746aefc
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 679cb280-41ef-40f8-b9dd-33fa4746aefc
Demonstrate v2 memory updates, chained updates, searches, and scope cleanup in synchronous and asynchronous Java samples.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 679cb280-41ef-40f8-b9dd-33fa4746aefc
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 679cb280-41ef-40f8-b9dd-33fa4746aefc
Improve Work IQ sample discoverability, tool invocation, output handling, and async cleanup.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 679cb280-41ef-40f8-b9dd-33fa4746aefc
Improve Fabric IQ sync and async samples with readable response and annotation output, configurable agent names, and reliable asynchronous cleanup. Expand README coverage with authoritative documentation and both sample links.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 679cb280-41ef-40f8-b9dd-33fa4746aefc
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 679cb280-41ef-40f8-b9dd-33fa4746aefc
@jpalvarezl Jose Alvarez (jpalvarezl) changed the title Jpalvarezl/samples 2 4 0 Samples for 2.4.0 Aug 19, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
36 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Base automatically changed from kaylieee/release/2.4.0 to main August 19, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants