-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Foundry Agents v2: Azure.AI.Projects 1.2.0 and new Azure.AI.Projects.OpenAI #53594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR replaces Azure.AI.Projects with Azure.AI.Agents (V2 SDK) by moving files from a private repository. The main changes include adding the new Azure.AI.Agents SDK, modifying Azure.AI.Projects to work with agents V2, and removing the dependency on Azure.AI.OpenAI.
Key Changes
- Added Azure.AI.Agents SDK with support for Agents V2
- Modified Azure.AI.Projects to work with agents V2
- Removed Azure.AI.OpenAI dependency from Azure.AI.Projects
Reviewed Changes
Copilot reviewed 63 out of 940 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/ai/Azure.AI.Agents/src/Custom/*.cs | Core custom implementations for agents, conversations, memory stores, and API interactions |
| sdk/ai/Azure.AI.Agents/src/Custom/Internal/*.cs | Internal helper classes for telemetry, collections, pipeline policies, and serialization |
| sdk/ai/Azure.AI.Agents/samples/*.md | Sample documentation for various agent scenarios |
| sdk/ai/Azure.AI.Agents/src/Azure.AI.Agents.csproj | Project configuration with dependencies on Azure.Core, System.Text.Json, and OpenAI |
| sdk/ai/Azure.AI.Agents/README.md | Library documentation and usage examples |
| sdk/ai/Azure.AI.Agents/CHANGELOG.md | Version 2.0.0 changelog placeholder |
sdk/ai/Azure.AI.Agents/src/Custom/Internal/InternalOpenAICollectionResultOptions.cs
Outdated
Show resolved
Hide resolved
78194be to
e97ad52
Compare
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
e97ad52 to
637124d
Compare
sdk/ai/Azure.AI.Agents/src/Properties/PublishProfiles/FolderProfile.pubxml
Outdated
Show resolved
Hide resolved
|
@m-redding: Would you please give this a pass and take point on the approval for central files? |
|
/azp run prepare-pipelines |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
|
/azp run prepare-pipelines |
@m-redding right; we're going to remove the Azure.AI.Agents folder entirely since its functionality has been ported to the combination of |
* Refactor test and fix elemetry regression. * Fix
* (squash merge) remove old agents folder * remove leftover old (and unused) project ref
* incorporate SCM 1.8.1 via OpenAI 2.7.0 rev * (tiny) normalize slashes in csproj
* Add web search sample and test. * Merge to upstream and re record tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We generally don't link to a PR repo spec in the public SDK repo. Is there a public version of that? Also is the leading underscore intended? I believe that will break tooling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't yet have the TypeSpec in the public repository, pending integration of a few additional decorators that are used and were recently added to an experimental namespace in typespec-azure-core. In the meantime, local generation requires locally updating the package.json for the emitter; the underscore is there to separate the generation verification from CI.
sdk/ai/Azure.AI.Projects.OpenAI/tests/Azure.AI.Projects.OpenAI.Tests.csproj
Outdated
Show resolved
Hide resolved
sdk/ai/Azure.AI.Projects/tests_agents/Azure.AI.Projects.Agents.Tests.csproj
Outdated
Show resolved
Hide resolved
sdk/ai/Azure.AI.Projects/tests_agents/Azure.AI.Projects.Agents.Tests.csproj
Show resolved
Hide resolved
sdk/ai/Azure.AI.Projects/tests_agents/Azure.AI.Projects.Agents.Tests.csproj
Show resolved
Hide resolved
sdk/resourcemanager/Azure.ResourceManager/tests/Azure.ResourceManager.Tests.csproj
Outdated
Show resolved
Hide resolved
* Add Azure AI Search example. * disable auto restore * revert changes to TEST_PROXY_EXE_PATH. skip TryRestoreLocalTools() * investigate test_proxy_exe_path * run proxy directly * additional changes to set-t-artifact-packages * dotnet tool restore realreally should be working. dig into why * swapping to console.Writeline * another method to get the direct dotnet tool restore output * throw an exception with all the detail * deliberately break after restore * I'm deliberately breaking this thing just to see what is going wrong with TryRestoreLocalTools(). why does dotnet make it so hard to see output from tests holy crap * the issue is not restoring, it's _running_. I believe that the CWD that we're passing to dotnet tool run isn't resolving the installed tool * dump the tool directory * testing something * revert TestProxyProcess cs changes. --------- Co-authored-by: Scott Beddall <[email protected]> Co-authored-by: Maddy Heaps <[email protected]>
* Fix memory stores * Add tests for memory store tool.
* Add MCP samples and implement MCP with project ID. * Fix
* add samples and make tests recordable * remove deploy and infer for now * revert test file changes * add getfinetuningclients method * fix files tests * refactor to support new way of getting openai client * Fix unit tests * record oss model test and clean up samples * update recordings * update samples * update * update test recordings * remove logging * review comments * add descriptions * fix broken links * fix snippet generation issues * test fixes * remove delay in playback * update * update * Update sdk/ai/Azure.AI.Projects/README.md Co-authored-by: Nikolay Rovinskiy <[email protected]> * Update sdk/ai/Azure.AI.Projects/README.md Co-authored-by: Nikolay Rovinskiy <[email protected]> * Update sdk/ai/Azure.AI.Projects/README.md Co-authored-by: Nikolay Rovinskiy <[email protected]> * Update sdk/ai/Azure.AI.Projects/README.md Co-authored-by: Nikolay Rovinskiy <[email protected]> * Update sdk/ai/Azure.AI.Projects/README.md Co-authored-by: Nikolay Rovinskiy <[email protected]> * Update sdk/ai/Azure.AI.Projects/README.md Co-authored-by: Nikolay Rovinskiy <[email protected]> * Update sdk/ai/Azure.AI.Projects/samples/Sample15_Files.md Co-authored-by: Nikolay Rovinskiy <[email protected]> * fix typos * increase timout for rft test * add pause test * add file processing helper to all samples --------- Co-authored-by: nick863 <[email protected]>
SDK Support for Microsoft Foundry: Ignite, including Agents Service ("Agents v2")
Azure.AI.Projectsis updated with a wide swath of new capabilities that include Agent management, Evals, Schedules, RedTeams, Insights, Memory Stores, and moreAzure.AI.Projects.OpenAIpackage separately provides low-dependency extension support for OpenAI APIs, including Agent integration into Responses