Roger Barreto and GitHub
3a7047f6e4
Skip failing IT ( #2904 )
2025-12-16 17:21:22 +00:00
3c322c91e7
.NET: Update to latest Azure.AI.*, OpenAI, and M.E.AI* ( #2850 )
...
* Update to latest Azure.AI.*, OpenAI, and M.E.AI*
Absorb breaking changes in Responses surface area
* Update dotnet/samples/AgentWebChat/AgentWebChat.AgentHost/Utilities/ChatClientExtensions.cs
* Update dotnet/samples/AgentWebChat/AgentWebChat.AgentHost/Utilities/ChatClientExtensions.cs
* Update dotnet/samples/AgentWebChat/AgentWebChat.AgentHost/Utilities/ChatClientExtensions.cs
* Update dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step04_CreateFromOpenAIResponseClient/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Using patch to remove the model is necessary, updated the response client to actually use the the ForAgent
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
2025-12-16 12:41:20 +00:00
eb1117fff4
.NET: adds support for labels in edges, fixes rendering of labels in dot a… ( #1507 )
...
* adds support for labels in edges, fixes rendering of labels in dot and mermaid, adds rendering of labels in edges
* Update dotnet/src/Microsoft.Agents.AI.Workflows/Visualization/WorkflowVisualizer.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* escaping edge labels, adding tests for labels containing strange characters that would break the diagram and enabling the previous signature so the API has backwards compatibility.
* Unify label in EdgeData
* Edge API adjustments, removed useless "sanitizer"
* fixed test
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Jacob Alber <jaalber@microsoft.com >
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-12-12 00:31:45 +00:00
SergeyMenshykh and GitHub
989b6ebe71
.NET: [BREAKING] Prevent nulls in AIAgent property ( #2719 )
...
* prevent nulls in AIAgent property
* address feedback
2025-12-11 09:50:25 +00:00
90964acd2d
.NET: Add LoggingAgent wrapper for ILogger-based observability ( #2701 )
...
* Initial plan
* Add LoggingAgent class and UseLogging extension method
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Add unit tests for LoggingAgent and fix JSON serialization error handling
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Add comments explaining unreachable code in test async iterators
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Fix file encoding - add UTF-8 BOM to all C# files
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Address Format issues
* Addres format
* Break up extensions in dedicated files
* Adjust class names
* Add xmldoc info
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
2025-12-10 12:17:01 +00:00
Stephen Toub and GitHub
b01fd23cd2
Update analyzers for .NET 10 SDK ( #2611 )
2025-12-10 10:34:56 +00:00
2f0b2db12a
fix: Standardize OpenAI API key environment variable naming ( #1001 ) ( #2629 )
...
- Replace OPENAI_APIKEY with OPENAI_API_KEY across all samples
- Replace AZURE_FOUNDRY_OPENAI_APIKEY with AZURE_FOUNDRY_OPENAI_API_KEY
- Ensures consistency with OpenAI's standard naming convention
- Applies to .NET and Python samples
Fixes #1001
Co-authored-by: Alexander Zarei <alzarei@users.noreply.github.com >
2025-12-10 10:33:35 +00:00
0965a83dcd
.NET Workflows - Update Declarative Integration Tests for File Cases ( #2733 )
...
* Updated
* Update dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Agents/VisionAgentProvider.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Consistency
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-09 21:25:26 +00:00
SergeyMenshykh and GitHub
69225b4aa2
.NET: [BREAKING] Change namespaces of the Microsoft.Agents.AI.OpenAI classes ( #2627 )
...
* change namespaces for agents and extension methods of the Microsoft.Agents.AI.OpenAI package
* remove unnecessary namespace
* remove unused namespaces
* fix compilation issues and rrolled back removed run methods
* sort usings
* add extension methods for AIAgent to work with OpenAI Responses primitives
* Move OpenAIChatClientAgent and OpenAIResponseClientAgent to samples
* sort usings
* sort usings
2025-12-09 12:58:44 +00:00
Korolev Dmitry and GitHub
417a529e0e
dont forward conversationId to ichatclient ( #2632 )
2025-12-05 14:41:50 +00:00
9c1b2f9a3f
.NET: Annotate all public methods of OpenAIAssistantClientExtensions with Obsolete attribute ( #2640 )
...
* Initial plan
* Add Obsolete attribute to all public methods of OpenAIAssistantClientExtensions
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Add pragma warning disable CS0618 to files using deprecated OpenAI Assistants API
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Update Obsolete attribute message to use requested text
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
2025-12-05 12:27:48 +00:00
db36809744
.NET: Move TextSearchProvider and TextSearchProviderOptions to Microsoft.Agents.AI namespace ( #2639 )
...
* Initial plan
* Move TextSearchProvider and TextSearchProviderOptions to Microsoft.Agents.AI namespace
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Restore AgentWithTextSearchRag project in solution file
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Revert using statement removal in AgentWithRAG_Step01_BasicTextRAG sample
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Revert the previous revert - remove using Microsoft.Agents.AI.Data from AgentWithRAG_Step01_BasicTextRAG
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Revert using statement removal in AgentWithTextSearchRag sample
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
2025-12-05 11:01:53 +00:00
9c2e800189
Remove unnecessary PackageReferences after .NET 10 update ( #2394 )
...
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
2025-12-04 00:09:51 +00:00
Peter Ibekwe and GitHub
a26e9d6274
.NET: Add Unit test for declarative object model AddConversationMessageExecutor ( #2613 )
...
* Added unit test for RetrieveConversationMessagesExecutor
* Unit test for declarative object model AddConversationMessageExecutor
* Remove unnecessary test.
* Fix test.
2025-12-03 23:25:27 +00:00
6835161f2d
.NET: Fix flaky vector store integration tests - race condition on indexing ( #2586 )
...
* Initial plan
* Add vector store indexing wait helpers to fix flaky tests
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Use proper VectorStoreStatus struct comparison in Azure tests
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Remove unused System.ClientModel import
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Remove excessive comments and unnecessary status variable per code review
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
2025-12-03 20:06:21 +00:00
6232dd8305
.NET [Breaking] Simplify and Refactor ChatclientAgentOptions Ctor + Instructions ( #1517 )
...
* Point AgentOptions.Instructions to ChatOptions
* Update tests and checks
* Update xml docs
* Removal of agentOptions.Instructions in favor of chatOptions.Instructions
* Instructions and tool check consistency
* Instructions and tool check consistency
* Address comment
* Update .github/upgrades/prompts/SemanticKernelToAgentFramework.md
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* Address PR Comment
* Update latest changes to comply with the PR proposal
* Address feedback
* Update dotnet/tests/Microsoft.Agents.AI.UnitTests/ChatClient/ChatClientAgentTests.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* Address instructions
* Update declarative to use promptAgent.Instrucitons with chatOptions.Instructions
---------
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
Co-authored-by: Mark Wallace <127216156+markwallace-microsoft@users.noreply.github.com >
2025-12-03 13:39:47 +00:00
Javier Calvarro Nelson and GitHub
b69f994840
.NET: Fix AG-UI forwardedProps JSON property name ( #2543 )
...
* Fix AG-UI forwardedProps JSON property name
The RunAgentInput.ForwardedProperties property was using the wrong JSON property
name 'forwardedProperties' instead of 'forwardedProps' per the AG-UI protocol
specification.
This fix:
- Changes JsonPropertyName from 'forwardedProperties' to 'forwardedProps'
- Adds comprehensive integration tests for forwarded properties
Fixes #2468
* Fix formatting
2025-12-02 17:00:40 +00:00
Roger Barreto and GitHub
8ae33d3c2b
Address gap IServiceProvider options ( #2551 )
2025-12-01 20:01:13 +00:00
Mark Wallace and GitHub
b26108975d
.NET: Declarative Agents ( #2476 )
...
* Update the declarative agent samples
* Add the Microsoft.Agents.AI.Declarative project
* Make the package non packable
* Use the RecalcEngine when creating the ChatOptions
* Ignore VSTHRD200
* Add geting started samples
* Address code review feedback
2025-12-01 15:15:18 +00:00
67de7bcd93
.NET: Prevent streamed updates loss when resuming streaming ( #2516 )
...
* prevent stremed updates loss when resuming streaming with non-agent managed store or/and context provider
* Update dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* throw not supported exception instead invalid operation
* Update dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* use conversation id to check if chat history is managed by agent service or not
* extract background responses tests into a separate file
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
2025-11-28 16:11:30 +00:00
SergeyMenshykh and GitHub
e769256976
.NET: Require thread for background responses ( #2498 )
...
* require thread for backgraund responses
* address pr review feedback
2025-11-27 16:26:52 +00:00
Phillip Hoff and GitHub
17b4dfab14
.NET: Add orchestration ID to durable agent entity state ( #2137 )
...
* Propagate orchestration ID (if any).
* Add integration test for orchestration ID in entity state.
* Update schema.
* Fixup formatting issues.
* Fix more formatting issues.
2025-11-26 16:32:32 +00:00
Theo van Kraay and GitHub
a57b37d5fa
.NET: Add Cosmos DB implementations for ChatMessageStore and CheckpointStore. ( #1838 )
...
* draft commit
* Added Cosmos agent thread and tests
* revert unnecessary changes and fix tests
* add multi-tenant support with hierarchical partition keys (and tests).
* enhance transactional batch
* address review comments
* Address PR review comments from @westey-m
* Merge upstream/main - resolve slnx conflicts
* use param validation helpers
* Replace useManagedIdentity boolean with TokenCredential parameter
* Remove redundant suppressions and fix tests
* Rename project from Microsoft.Agents.AI.Abstractions.CosmosNoSql to Microsoft.Agents.AI.CosmosNoSql
* Refactor constructors to use chaining pattern
* Reorder deserialization constructor parameters for consistency
* Remove database/container IDs from serialized state
* Remove auto-generation of MessageId
* Optimize AddMessagesAsync to avoid enumeration when possible
* Add MaxMessagesToRetrieve to limit context window
* Make Role nullable instead of defaulting
* Fix net472 build without rebasing 19 commits
* Add Cosmos DB emulator to CI workflow
* Fix Cosmos DB emulator tests: use Skip.If instead of Assert.Fail and start emulator before unit tests
* Replace Skip.If() with conditional return to fix compilation
* Use env var to skip Cosmos tests on non-Windows CI
* Add Xunit.SkippableFact package to properly skip Cosmos tests on Linux
* Change [Fact] to [SkippableFact] for proper test skipping behavior
* Remove stale Microsoft.Agents.AI.Abstractions.CosmosNoSql directory
* Fix code formatting: add braces, this. qualifications, and final newlines
* Fix file encoding to UTF-8 with BOM, fix import ordering, and remove unnecessary using directives
* Convert backing fields to auto-properties and remove Azure.Identity using directive
* Fix CosmosChatMessageStore.cs encoding back to UTF-8 with BOM
* Fix test file formatting: indentation, encoding, imports, this. qualifications, naming conventions, and simplify new expressions
* Fix const field naming violations: Remove s_ prefix from const fields and add this. qualification to Dispose call
* Add local .editorconfig for Cosmos DB tests to suppress IDE0005 false positives from multi-targeting
* Fix IDE1006 naming violations: Rename TestDatabaseId to s_testDatabaseId and add final newlines
* Address PR review comments
Address Wesley's review comments:
- Remove Cosmos DB package references from core projects
- Delete duplicate test files from old package structure
- Remove redundant parameter validation from extension methods
Address Kiran's review comments:
- Remove redundant 429 retry logic (SDK handles automatically)
- Add explicit RequestEntityTooLarge error handling
- Remove dead code in GetMessageCountAsync
- Add defensive partition key validation comments
* Fix IDE0001 formatting error in AgentProviderExtensions.cs. Use type alias to resolve namespace conflict between Azure.AI.Agents.Persistent.RunStatus and Microsoft.Agents.AI.Workflows.RunStatus. This eliminates the need for global:: qualifier which triggered the formatter warning.
* Update package versions for Aspire 13.0.0 compatibility
* Fix TargetFrameworks in Cosmos DB projects
- Replace with which is defined in Directory.Build.props
- Fix package reference from System.Linq.Async to System.Linq.AsyncEnumerable to match Directory.Packages.props
* Remove redundant counter, add partition key validation, use factory pattern for deserialization
2025-11-26 12:36:27 +00:00
westey and GitHub
b6c3b8d3f2
[BREAKING] Remove NotifyThreadOfNewMessagesAsync AIAgent helper ( #2450 )
...
* Remove NotifyThreadOfNewMessagesAsync helper from AIAgent
* Fix bug
* Update comment
2025-11-25 11:59:26 +00:00
1dde57981e
.NET: Add Anthropic Agent Package ( #2359 )
...
* WIP
* WIP
* Simple call working
* Update Thinking sample
* Non-Streaming Function calling working
* Update Anthropic Impl
* Public Preps
* UT + IT working
* Update documentation + samples
* Update variable
* Revert nuget.config
* Add IT for BetaService implementation
* Remove polyfill + enable IT to run for netstandard 2.0
* Skipping Anthropic IT's for manual execution and avoid pipeline execution
* Fix compilation error
* Address error in UT
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix warning
* Net 10 update
* Update for NET 10, remove Anthropic.Foundry due to vulnerability
* Final missing adjustments for NET 10
* Address PR comments
* Remove unused code
* Address feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-25 11:53:18 +00:00
112410ecd6
.NET: [BREAKING] Add GetNewThread overload for taking a ChatMessageStore at thread creation time ( #2429 )
...
* Add GetNewThread overload for taking a ChatMessageStore at thread creation time and move message store creation to thread creation time.
* Fix formatting.
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestion from @rogerbarreto
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
2025-11-25 10:49:01 +00:00
SergeyMenshykh and GitHub
a89c15d6e6
.NET: Change type of props representing continuation token ( #2430 )
...
* change type of props representing continuation token
* use explict cast instead of the as operator
2025-11-25 09:59:43 +00:00
a610a4769c
.NET: Add support for background responses to A2A agent ( #2381 )
...
* add support for baackground responses to a2a agent
* fix line endings
* address pr review comments
* address pr review comments
* update sample to net10.0
* Update dotnet/samples/GettingStarted/A2A/A2AAgent_PollingForTaskCompletion/README.md
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI.A2A/Extensions/A2AAgentTaskExtensions.cs
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/A2A/A2AAgent_PollingForTaskCompletion/Program.cs
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
* address pr review feedback
* add clarification regarding background responses
---------
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
2025-11-24 19:41:06 +00:00
Roger Barreto and GitHub
c692821869
Address IT failure for V2 ( #2421 )
2025-11-24 14:02:32 +00:00
Stephen Toub and GitHub
a116edaf5a
Update to latest MEAI 10.0.1 and OpenAI 2.7.0 ( #2392 )
2025-11-24 13:51:27 +00:00
b66efcc09d
remove version override for v10 packages ( #2393 )
...
Co-authored-by: SergeyMenshykh <sergemenshikh@gmail.com >
2025-11-24 13:01:07 +00:00
Stephen Toub and GitHub
dc2b109b50
.NET: Upgrade to .NET 10 ( #2128 )
...
* Upgrade to .NET 10
- Require .NET 10 SDK
- Include net10.0 assets in all assemblies
- Move net9.0-only targets to net10.0
- Update LangVersion to latest
- Remove complicated distinctions between debug target TFMs and release target TFMs
- Remove unnecessary package dependencies when built into netcoreapp
- Clean up some ifdefs
- Clean up some analyzer warnings
* Fix CI
2025-11-22 04:14:15 +00:00
Peter Ibekwe and GitHub
b7a19b0fa2
Added unit test for RetrieveConversationMessagesExecutor ( #2388 )
2025-11-21 21:03:21 +00:00
westey and GitHub
7148718804
Redacting log data unless opting out. ( #2372 )
2025-11-21 11:09:17 +00:00
Peter Ibekwe and GitHub
ab3d898979
.NET: Add unit tests for RetrieveConversationMessageExecutor executor ( #2232 )
...
* Add unit tests for create conversation executor
* Update indentation and comment typo.
* Added unit tests for declarative executor SetMultipleVariablesExecutor
* Updated comments and syntactic sugar
* Add unit test for declarative executor RetrieveConversationMessageExecutor
* Removed irrelevant code statements
* Updated based on copilot feedback.
2025-11-20 21:47:42 +00:00
Korolev Dmitry and GitHub
1da9107f4a
.NET: Improve AIAgent and Workflow registrations for DevUI integration ( #2227 )
...
* wip
* resolve non-agent workflows as well!
* add tests for devui registrations and resolving
* fixes
* devui for net8 as well!
* simplify TFM
* update tfm...
* tfm rules....
* wip
* roll
* verify entities are registered with a devui call
* tests
* add a proper support for non-keyed workflows
* resolve default aiagent registration
* sort usings :)
* cleanup tests
2025-11-18 15:38:00 +00:00
Chris Gillum and GitHub
77247a304e
.NET: Change thread_id from entity ID to GUID ( #2260 )
2025-11-17 19:30:45 +00:00
+2
e706f07868
.NET: Add Microsoft.Agents.AI.AzureAI (Azure.AI.Project 1.2) Support ( #1662 )
...
* WIP
* Fixed build errors (#1638 )
Comment and nullable type alignment
* .NET: Azure.AI.Agents Package Split + Initial Extensions (#1657 )
* Move packages
* Update nuget.config
* Address Xmldoc
* Remove format from branches checks
* Address Xmldocs
* Add more details to the implementation
* Moving Agent logic to ChatClient
* Adding Name and Id overrides to AzureAIAgent
* Updating extensions
* Add GetAiAgent extensions
* Adding support for version as name can conflict 409 using the Agents API with same name
* Addressing more updates to the extensions
* More improvements
* Remove debugging code from sample
* Address copilot feedback
* Apply suggestions from co-pilot code review
* Update Directory.Packages.props
Fix package version rollback:
Azure.AI.Agents.Persistent (beta-6 => beta-7)
* .NET: Add comprehensive unit tests for Microsoft.Agents.AI.AzureAIAgents extension methods (#1786 )
* Initial plan
* Add comprehensive unit test project for Microsoft.Agents.AI.AzureAIAgents
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Add README documenting test project and package dependency requirements
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Fix documentation URL to use learn.microsoft.com
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Bump back AAAP 1.2.0-beta.7
* Address AI generated UT's
* Remove UT Readme
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .NET: Change model to be required just for prompt agent definition specific extensions (#1812 )
* Remove unneeded model from extensions
* Add noop justification
* Update Package Nameing: V1 -> AzureAI.Persistent / V2 -> AzureAI (#1829 )
* .NET: Update Extensions for Strict Agent Definitions + Improvements (#1892 )
* Update Package Nameing: V1 -> AzureAI.Persistent / V2 -> AzureAI
* Update agents and extensions to comply with strict agent definitions
* More static updates
* Address UT, and ResponseTool support
* Improving reusability extensions
* Addressing ResponseTools Unit Tests and extension setup
* Adapted workaround on breaking AAA with OpenAI 2.6.0
* Small updates
* Remove strictness when retrieving agents, improved XmlDocs
* Improve sample comments
* Update dotnet/tests/Microsoft.Agents.AI.AzureAI.UnitTests/AgentsClientExtensionsTests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address PR comments
* Address UT failing
* Address Copilot feedback
* Address Copilot feedback
* Address comment typo
* Address PR feedback
* Address typo
* Add missing Extensions with ChatClientAgentOptions
* Address comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Version update (#1901 )
* Updated package version (#1906 )
* .NET: Allow Declarative AIAgents Extensions (#1931 )
* Improve reusability of extension code and additional option to losen the strictiness of in-proc tools
* Add missing UT scenarios
* Add missing UT test scenarios
* Normalize changes
* Updated (#1948 )
* .NET: AgentDefinition extensions method simplification (#1967 )
* Update extensions methods that accepts AgentDefinition type to not be restrictive
* Update Unit Tests
* Revert yarn/package-lock
* Revert yarn/package-lock
* Address copilot feedback
* Fix bad merge
* .NET Workflows - WIP Declarative action update (#1761 )
* WIP
* Fixed build errors (#1638 )
Comment and nullable type alignment
* Sync to SDK update
* Checkpoint
* Checkpoint: Tests passing
* Checkpoint: EndWorkflow
* Add trace
* .NET: Azure.AI.Agents Package Split + Initial Extensions (#1657 )
* Move packages
* Update nuget.config
* Address Xmldoc
* Remove format from branches checks
* Address Xmldocs
* Add more details to the implementation
* Moving Agent logic to ChatClient
* Adding Name and Id overrides to AzureAIAgent
* Updating extensions
* Add GetAiAgent extensions
* Adding support for version as name can conflict 409 using the Agents API with same name
* Addressing more updates to the extensions
* More improvements
* Remove debugging code from sample
* Address copilot feedback
* Apply suggestions from co-pilot code review
* Checkpoint
* Update Directory.Packages.props
Fix package version rollback:
Azure.AI.Agents.Persistent (beta-6 => beta-7)
* Add project reference
* .NET: Add comprehensive unit tests for Microsoft.Agents.AI.AzureAIAgents extension methods (#1786 )
* Initial plan
* Add comprehensive unit test project for Microsoft.Agents.AI.AzureAIAgents
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Add README documenting test project and package dependency requirements
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Fix documentation URL to use learn.microsoft.com
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Bump back AAAP 1.2.0-beta.7
* Address AI generated UT's
* Remove UT Readme
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .NET: Change model to be required just for prompt agent definition specific extensions (#1812 )
* Remove unneeded model from extensions
* Add noop justification
* Update Package Nameing: V1 -> AzureAI.Persistent / V2 -> AzureAI (#1829 )
* Checkpoint for merge
* No build errors
* .NET: Update Extensions for Strict Agent Definitions + Improvements (#1892 )
* Update Package Nameing: V1 -> AzureAI.Persistent / V2 -> AzureAI
* Update agents and extensions to comply with strict agent definitions
* More static updates
* Address UT, and ResponseTool support
* Improving reusability extensions
* Addressing ResponseTools Unit Tests and extension setup
* Adapted workaround on breaking AAA with OpenAI 2.6.0
* Small updates
* Remove strictness when retrieving agents, improved XmlDocs
* Improve sample comments
* Update dotnet/tests/Microsoft.Agents.AI.AzureAI.UnitTests/AgentsClientExtensionsTests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address PR comments
* Address UT failing
* Address Copilot feedback
* Address Copilot feedback
* Address comment typo
* Address PR feedback
* Address typo
* Add missing Extensions with ChatClientAgentOptions
* Address comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Updated package version (#1897 )
* Version update (#1901 )
* Checkpoint
* Updated package version (#1906 )
* Checkpoint
* Checkpoint
* Checkpoint
* Align with azure ai agent
* Update dotnet/samples/GettingStarted/Workflows/Declarative/StudentTeacher/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/Declarative/MCPToolApproval/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/Declarative/DeepResearch/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Refactored external input
* Update dotnet/samples/GettingStarted/Workflows/Declarative/MCPToolApproval/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Agent tools patch
* Demos validated
* Checkpoint
* Hygiene
* Checkpoint - Samples
* Update dotnet/samples/GettingStarted/Workflows/Declarative/StudentTeacher/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/Declarative/StudentTeacher/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Checkpoint
* Checkpoint - Deep Research
* Update baseline
* Update
* Typo
* Checkpoint
* Typos
* Sample cleanup
* Update dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/AzureAgentProvider.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI.AzureAI/AgentsClientExtensions.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/Declarative/FunctionTools/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/Declarative/StudentTeacher/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/Declarative/ToolApproval/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/Declarative/DeepResearch/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Typo
* Typo
* Fix input loop
* Sample - Function Calling / External Input
* Typo
* Finessed
* Checkpoint
* Fix feed
* Checkpoint - so close
* Ding dong!
* "there" ***
* Fixup comments
* Fix sample
* Code analysis
* Header
* Typo (variableName)
* Remove dead code
* Skip test (agent api ratchet)
* Comment
* Update dotnet/samples/GettingStarted/Workflows/Declarative/StudentTeacher/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Typo
---------
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com >
* .NET: Latest updates Pre/Post V2 Bugbash Findings (#2040 )
* Improve V2 logic before/after bugbash prep
* Apply suggestions from code review
Co-authored-by: Stephen Toub <stoub@microsoft.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Stephen Toub <stoub@microsoft.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .NET: Update Foundry Agents to latest 2.0.0 alpha.20251107.3 (#2050 )
* Update extensions for new CreateVersionOptions structure
* Update unit tests
* Addresss capitalized
* Update AgentsClientExtensionsTests.cs
Fix invalid cast format failure
* .NET: Feature foundry agent + user agent (#2058 )
* Update unit tests
* Add user-agent protocol calls
* Update unit tests
* Update unit tests with http handler confirmation
* UT fix
* Fix xmldoc
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address copilot feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .NET: Update Extensions to be less restrictive for GetAIAgents (#2091 )
* Update behavior / restrictiveness when retrieving agents
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address format
* Address copilot feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
* .NET Workflows - Support "structured inputs" feature for declarative workflows (#2053 )
* Bump version for release
* .NET Workflows - Separate Foundry/AzureAI Provider into its own package (#2078 )
* Remove unused using directive in AzureAgentProvider
Removed unused using directive for Extensions.
* .NET: Updates to Foundry Agents Package (#2125 )
* Remove the conversation creation always
* Update unit tests + address IL + refactor
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Internalize unused methods
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix declarative workflows integration testcase
* .NET: Feature foundry agent/agent reference extension (Python Parity with Name + Version option) (#2147 )
* Add agent reference extensions
* Add UT covering AgentReference and ModelId
* .NET: Add GettingStarted Samples for Agents V2. (#2159 )
* Add gettingstarted samples for Foundry Agents
* Address structured outputs
* Net 10 -> Net 9 Temporary
* Net 10 -> Net 9 Temporary
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address missing docs + old
* Drop var for samples
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address copilot feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .NET: Foundry Agents V2 - Add CodeInterpreter Sample (#2180 )
* Adding Code Interpreter sample and AgentName naming validation
* Add agent name check UT
* Improve sample code
* Apply suggestion
* Apply suggestion
* Fixed (#2190 )
* .NET Workflows - Add "CustomerSupport" sample (#2102 )
* .NET Workflows - Add sample for hosted declarative workflow (#2199 )
* fwiw
* Less blank lines
* Fixed (#2204 )
* Update version (#2206 )
* .NET: Feature foundry agent/update breaking v2.0 to v1.2 (#2212 )
* Migration WIP Checkpoint 1
* Build + UT + Workflow passing
* Address latest commits after break
* Revert rename in unrelated files
* Address PR comments
* Class renames
* Allow dotnet-format workflow on feature branches
Revert unintentional edit
* .NET: Add Conformance Integration Tests for AzureAI Package (#2237 )
* Conformance tests added and passing
* Correct namespace
* Update Azure.AI.Project to latest public nuget version
* .NET: Added Computer use tool sample (#2235 )
* Initial computer use sample implementation.
* Added background thread to allow polling for long running requests.
* Removed unrequired try-catch block and added missing thread for agent call.
* Removed irrelevant chatOptions and updated code based on feedback.
* Updated image assets and fixed response issue.
* Updated based on PR comments.
* Update to Azure.AI.Project
---------
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
* Package descriptions
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com >
Co-authored-by: Chris Rickman <crickman@microsoft.com >
Co-authored-by: Stephen Toub <stoub@microsoft.com >
Co-authored-by: Mark Wallace <127216156+markwallace-microsoft@users.noreply.github.com >
Co-authored-by: Peter Ibekwe <109177538+peibekwe@users.noreply.github.com >
2025-11-15 10:43:02 +00:00
Chris Gillum and GitHub
939c2d69f9
.NET: Friendly error message when durable agent isn't registered ( #2214 )
...
* .NET: Friendly error message when durable agent isn't registered
* Updates
* Fix file encoding
* Add validation for durable agent proxies
* Copilot PR feedback
2025-11-14 19:28:07 +00:00
b19860b8a8
.NET: Implement Purview middleware in dotnet ( #1949 )
...
* Move Purview integration logic into middleware
* Improve error handling and user id management
* Rename purview package
* Handle 402s more explicitly; add Middleware generation methods; don't ignore exceptions
* Use DI container; pass scope id to PC
* Add protection scope caching
* Wrap more exceptions in PurviewClient
* Remove block check dedup; add tests
* Refactor PurviewWrapper intialization; Add unit tests
* Use different .Use method and add IDisposable stub
* Add background job processing for Purview
* Misc comment cleanup
* Apply copilot comments
* Fix formatting
* Formatting other files to fix pipeline
* Small updates to settings and exceptions
* Add README
* Move Purview sample
* Address review comments and update XML comments
* Newline after namespace
* Move public Purview classes to single namespace; Clean up csproj and slnx
* Commit the renames
* Remove unused openAI dependency
---------
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com >
2025-11-14 00:50:08 +00:00
westey and GitHub
f273ca7353
Fix InMemoryChatMessageStore serialization bug. ( #2185 )
2025-11-13 15:43:01 +00:00
67a8147151
.NET: Python: Azure Functions feature branch ( #1916 )
...
* Python: Add Scaffolding for Durable AzureFunctions package to Agent Framework (#1823 )
* Add scafolding
* update readme
* add code owners and label
* update owners
* .NET: Durable extension: initial src and unit tests (#1900 )
* Python: Add Durable Agent Wrapper code (#1913 )
* add initial changes
* Move code and add single sample
* Update logger
* Remove unused code
* address PR comments
* cleanup code and address comments
---------
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com >
* Azure Functions .NET samples (#1939 )
* Python: Add Unit tests for Azurefunctions package (#1976 )
* Add Unit tests for Azurefunctions
* remove duplicate import
* .NET: [Feature Branch] Migrate state schema updates and support for agents as MCP tools (#1979 )
* Python: Add more samples for Azure Functions (#1980 )
* Move all samples
* fix comments
* remove dead lines
* Make samples simpler
* .NET: [Feature Branch] Durable Task extension integration tests (#2017 )
* .NET: [Feature Branch] Update OpenAI config for integration tests (#2063 )
* Python: Add Integration tests for AzureFunctions (#2020 )
* Add Integration tests
* Remove DTS extension
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Add pyi file for type safety
* Add samples in readme
* Updated all readme instructions
* Address comments
* Update readmes
* Fix requirements
* Address comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .NET: [Feature Branch] Update dotnet-build-and-test.yml to support integration tests (#2070 )
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix DTS startup issue and improve logging (#2103 )
* .NET: [Feature Branch] Introduce Azure OpenAI config for .NET pipeline (#2106 )
Also fixes an issue where we were trying to start docker containers for integration tests on Windows, which doesn't work.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix uv.lock after merge
* Python: Add README for Azure Functions samples setup (#2100 )
* Add README for Azure Functions samples setup
Added setup instructions for Azure Functions samples, including environment setup, virtual environment creation, and running samples.
* Update python/samples/getting_started/azure_functions/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Laveesh Rohra <larohra@microsoft.com >
* Fix or remove broken markdown file links (#2115 )
* .NET: [Feature Branch] Update HTTP API to be consistent across languages (#2118 )
* Python: Fix AzureFunctions Integration Tests (#2116 )
* Add Identity Auth to samples
* Update python/samples/getting_started/azure_functions/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/samples/getting_started/azure_functions/01_single_agent/function_app.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/samples/getting_started/azure_functions/02_multi_agent/function_app.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/samples/getting_started/azure_functions/06_multi_agent_orchestration_conditionals/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Python: Fix Http Schema (#2112 )
* Rename to threadid
* Respond in plain text
* Make snake-case
* Add http prefix
* rename to wait-for-response
* Add query param check
* address comments
* .NET: Remove IsPackable=false in preparation for nuget release (#2142 )
* Python: Move `azurefunctions` to `azure` for import (#2141 )
* Move import to Azure
* fix mypy
* Update python/packages/azurefunctions/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Add missing types
* Address comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/packages/azurefunctions/pyproject.toml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/packages/azurefunctions/agent_framework_azurefunctions/__init__.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix imports
* Address PR feedback from westey-m (#2150 )
- Adds a link from the /dotnet/samples/README.md to /dotnet/samples/AzureFunctions
- Make DurableAgentThread deserialization internal for future-proofing
- Update JSON serialization logic to address recently discovered issues with source generator serialization
* Address comments (#2160 )
---------
Co-authored-by: Laveesh Rohra <larohra@microsoft.com >
Co-authored-by: Chris Gillum <cgillum@microsoft.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Anirudh Garg <anirudhg@microsoft.com >
2025-11-13 02:00:53 +00:00
Reuben Bond and GitHub
4b0f724e62
.NET: Expose more agent metadata through DevUI discovery endpoint ( #2138 )
...
* Exposes more agent metadata through DevUI discovery endpoint
* Exposes more agent metadata through DevUI discovery endpoint
* pr feedback
* pr feedback
* Don't expose Workflows as agents to DevUI
2025-11-12 23:38:06 +00:00
180f82373b
.NET: Allow extending agent run options via additional properties ( #1872 )
...
* Allow extending agent run options via additional properties
This mirrors the M.E.AI model in ChatOptions.AdditionalProperties which is very useful when building functionality pipelines.
Fixes https://github.com/microsoft/agent-framework/issues/1815
* Expand XML documentation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Add AdditionalProperties tests to AgentRunOptions
Co-authored-by: kzu <169707+kzu@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: kzu <169707+kzu@users.noreply.github.com >
2025-11-11 20:00:59 +00:00
Korolev Dmitry and GitHub
866b4198bf
.NET: assign AgentCard's URL to mapped-endpoint if not defined explicitly ( #2047 )
...
* fix serialization in chat completions on tools
* nit
* write e2e test for agent card resolve + adjust behavior
* nit
2025-11-10 12:06:59 +00:00
Korolev Dmitry and GitHub
42da3cb6a4
.NET: fix ChatCompletions Tools serialization ( #2043 )
...
* fix serialization in chat completions on tools
* nit
2025-11-10 11:35:54 +00:00
Javier Calvarro Nelson and GitHub
45dc0ff073
.NET [AG-UI]: Adds support for shared state. ( #1996 )
...
* Product changes
* Tests
* Dojo project
* Cleanups
2025-11-10 09:50:11 +00:00
4201b9a122
DevUI: Serialize workflow input as string to maintain conformance with OpenAI Responses format ( #2021 )
...
Co-authored-by: Victor Dibia <chuvidi2003@gmail.com >
2025-11-08 03:25:08 +00:00
Reuben Bond and GitHub
f71faa80f9
Python: DevUI: Use metadata.entity_id instead of model field ( #1984 )
...
* DevUI: Use metadata.entity_id for agent/workflow name instead of model field
* OpenAI Responses: add explicit request validation
* Review feedback
2025-11-07 22:16:55 +00:00
Peter Ibekwe and GitHub
778a9fec5c
.NET: Add unit tests for declarative executor SetMultipleVariables ( #2016 )
...
* Add unit tests for create conversation executor
* Update indentation and comment typo.
* Added unit tests for declarative executor SetMultipleVariablesExecutor
* Updated comments and syntactic sugar
2025-11-07 21:44:22 +00:00