westey and GitHub
08275f657b
.NET: Improve session cast error message quality and consistency ( #3973 )
...
* Improve session cast error messge consistency
* Update changelog
2026-02-17 15:51:30 +00:00
westey and GitHub
8015e00f56
.NET: Surface downstream experimental flags and remove unnecessary suppressions ( #3968 )
...
* Surface downstream experimental flags and remove unecessary suppressions
* Fix format error
* Fix file encoding.
* Address PR comments.
2026-02-17 12:53:33 +00:00
9506fb28f6
.NET: [Breaking] Structured Output improvements ( #3761 )
...
* .NET: Delete AgentResponse.{Try}Deserialize<T> methods (#3518 )
* delete deserialize method of agent response
* order usings
* Update dotnet/samples/GettingStarted/FoundryAgents/FoundryAgents_Step05_StructuredOutput/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/_Foundational/08_WriterCriticWorkflow/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/AGUI/Step05_StateManagement/Server/SharedStateAgent.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/AGUIClientServer/AGUIDojoServer/SharedState/SharedStateAgent.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/M365Agent/Agents/WeatherForecastAgent.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .NET:[Breaking] Add support for structured output (#3658 )
* add support for so
* restore lost xml comment part
* fix using ordering
* Update dotnet/src/Microsoft.Agents.AI.Abstractions/AIAgentStructuredOutput.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI.Abstractions/AIAgentStructuredOutput.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/tests/Microsoft.Agents.AI.UnitTests/ChatClient/ChatClientAgent_SO_WithFormatResponseTests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* addressw pr review comments
* address pr review feedback
* address pr review comments
* fix compilation issues after the latest merge with main
* remove unnecessry options
* remove RunAsync<object> methods
* address code review feedback
* address pr review feedback
* make copy constructor protected
* address pr review feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .NET: Add decorator for structured output support (#3694 )
* add decorator that adds structured output support to agents that don't natively support it.
* Update dotnet/src/Microsoft.Agents.AI/StructuredOutput/StructuredOutputAgentResponse.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Agents/Agent_Step05_StructuredOutput/Program.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* address pr review feedback
---------
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* .NET: Support primitives and arrays for SO (#3696 )
* wrap primitives and arrays
* fix file encoding
* address review comments
* add adr
* add missed change
* fix compilation issue
* address review comments
* rename adr file name
* reflect decision to have SO decorator as a reference implementation in samples
* .NET: Move SO agent to samples (#3820 )
* move SO agent to samples
* change file encoding
* fix files encoding
* .NET: Preserve caller context (#3803 )
* fix stuck orchestration
* add previously removed RunAsync<T> method to DurableAIAgent
* suppress IDE0005 warning
* update changelog and remove unused constructor of AgentResponse<T>
* updatge the changelog
* address PR review feedback
* .NET: Disable irrelevant integration test (#3913 )
* disable irrelevant integration test
* Update dotnet/tests/AzureAI.IntegrationTests/AIProjectClientAgentStructuredOutputRunTests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* forgotten change
* address pr review feedback
* disable intermittently failing integration test.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
2026-02-13 17:03:51 +00:00
3168eb4870
.NET: [BREAKING] Add session StateBag for state storage and support multiple providers on the Agent ( #3806 )
...
* .NET: [BREAKING] Add session statebag to use for state storage instead of inside providers (#3737 )
* Add a StateBag to AgentSession and pass Agent and AgentSession to AIContextProvider and ChatHistoryProviders
* Convert all AIContextProviders to use the statebag
* Update InMemoryChatHistoryProvider to use StateBag
* Update Comsos and Workflow ChatHistoryProviders
* Update 3rd party chat history storage sample.
* Remove serialize method from providers
* Replacing provider factories with properties
* Remove Providers from Session and flatten state bag serialization
* Update samples to use getservice on agent
* Updated additional session types to serialize statebag
* Fix regression
* Address PR comments
* Address PR comments.
* Fix formatting
* Fix unit tests
* Remove InMemoryAgentSession since it is not required anymore.
* Address PR comments
* Convert sessions for A2AAgent, ChatClientAgent, CopilotStudioAgent and GithubCopilotAgent to use regular json serialization.
* Fix durable agent session jso usgae
* Add jso to InMemory and Workflow ChatHistoryProviders
* Update InMemoryChatHistoryProvider to use an options class for it's many optional settings.
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address PR feedback
* Fix verification bug.
* Improve state bag thread safety
* Address PR comments and fix unit tests
* Address PR comments
* Fix unit test
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Add a public StateKey property to providers (#3810 )
* .NET: [BREAKING] Update providers in such a way that they can participate in a pipeline (#3846 )
* Make providers pipeline capable
* Fix unit tests
* Move source stamping to providers from base class
* Also update samples.
* Address PR comments
* Rename AsAgentRequestMessageSourcedMessage to WithAgentRequestMessageSource
* .NET: [BREAKING] Add consistent message filtering to all providers. (#3851 )
* Add consistent message filtering to all providers.
* Remove old chat history filtering classes
* Fix merge issues
* Fix unit test
* Enforce non-nullable property
* Fix merging bug and make troubleshooting source info easier by adding tostring implementation
* .NET: [BREAKING] Add support for multiple AIContextProviders on a ChatClientAgent (#3863 )
* Add support for multiple AIContextProviders on a ChatClientAgent
* Address PR comments and fix tests
* Address PR comments.
* .NET: [BREAKING]Delay AIContext Materialization until the end of the pipeline is reached. (#3883 )
* Delay AIContext Materialization until the end of the pipeline is reached.
* Address PR comments.
* Address PR comments
* Modify InvokedContext to be immutable (#3888 )
* .NET: Address Feedback on StateBag feature branch PR (#3910 )
* Address Feedback on statebag feature branch PR
* Update dotnet/src/Microsoft.Agents.AI.DurableTask/CHANGELOG.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address PR comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-13 14:08:07 +00:00
westey and GitHub
6a88c7b1a1
.NET: [BREAKING] Change SerializeSession to be Async ( #3879 )
...
* Change SerializeSession to be Async
* Update Changelog
2026-02-12 11:56:42 +00:00
westey and GitHub
ac17adb595
.NET: Introduce Core implementation methods for session methods on AIAgent ( #3699 )
...
* Introduce Core implementation methods for session methods on AIAgent
* Update changelog
2026-02-06 13:25:20 +00:00
westey and GitHub
a2d1e69652
.NET: [BREAKING] Rename session state json param ( #3681 )
...
* Rename session state json param to ensure consistency
* Fix merge failures and PR comments.
2026-02-04 18:54:10 +00:00
westey and GitHub
6255abd687
.NET: [BREAKING] Move AgentSession.Serialize to AIAgent ( #3650 )
...
* Move AgentSession.Serialize to AIAgent
* Address PR comments.
* Improve code and fix unit test
* Update test agents to return a default json element instead of throwing where the the result of the serialization is never used.
* Update further tests to actually serialize the session
2026-02-04 15:52:15 +00:00
westey and GitHub
6fdf6111e6
.NET: [BREAKING] Rename GetNewSession to CreateSession ( #3501 )
...
* Rename GetNewSession to CreateSession
* Address copilot feedback
* Suppress warning
* Suppress warning
* Fix further warnings.
2026-02-03 11:33:50 +00:00
westey and GitHub
a3a9147e61
.NET: [BREAKING] Rename AgentThread to AgentSession ( #3430 )
...
* Rename AgentThread to AgentSession
* Add more renames
* Update readme files
* Revert nullable variable change and further fixes.
* Revert change in header name
* Fix some comments and tests
* Update changelog.
* Address PR feedback.
* Fixing code review comments.
* Fix new errors after merging latest code.
2026-01-26 16:30:25 +00:00
db8a59bd3d
.NET: Durable Agent samples and automated validation for non-Azure Functions ( #3042 )
...
* Durable Agent samples and automated validation for non-Azure Functions
* Update test projects
* fix file encoding
* Remove AgentThreadMetadata usage
* Absorb breaking change from #3152
* Absorb newer breaking changes (AgentRunResponse --> AgentResponse)
* Absorb more breaking changes (see #3222 )
* Improve integration test reliability (isolated task hubs, etc.)
* Fix flakey streaming test
---------
Co-authored-by: Mark Wallace <127216156+markwallace-microsoft@users.noreply.github.com >
2026-01-20 22:45:10 +00:00
SergeyMenshykh and GitHub
c70e594e6c
.NET: [Breaking] RenameAgentRunResponse and AgentRunResponseUpdate classes ( #3197 )
...
* rename AgentRunResponse and AgentRunResponseUpdate classes - part1
* rename varialbles, parameters, methods and tests
* rollback unnecessary changes
2026-01-14 10:27:41 +00:00
westey and GitHub
bb6ecd9c71
.NET: [BREAKING] Change GetNewThread and DeserializeThread to async ( #3152 )
...
* Change GetNewThread and DeserializeThread plus ChatMessageStore and AIContextProvider Factories to async
* Merge fixes
2026-01-12 11:25:51 +00:00
westey and GitHub
0aba02c402
[BREAKING] Remove unused AgentThreadMetadata ( #3067 )
...
* Remove unused AgentThreadMetadata
* Update DurableTask Changelog
2026-01-05 14:03:18 +00:00
8b4f7d5e29
.NET: [Breaking] Introduce RunCoreAsync/RunCoreStreamingAsync delegation pattern in AIAgent ( #2749 )
...
* Initial plan
* Refactor AIAgent: Make RunAsync and RunStreamingAsync non-abstract, add RunCoreAsync and RunCoreStreamingAsync
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Fix infinite recursion in test implementations
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Make RunAsync and RunStreamingAsync non-virtual as requested
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Fix DelegatingAIAgent subclasses to use RunCoreAsync/RunCoreStreamingAsync
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Fix XML documentation references in AnonymousDelegatingAIAgent
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Restore <see cref> tags with proper qualified signatures in AnonymousDelegatingAIAgent
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Rollback unnecessary XML documentation changes in AnonymousDelegatingAIAgent
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Remove pragma and update crefs to RunCoreAsync/RunCoreStreamingAsync
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Fix EntityAgentWrapper to call base.RunCoreAsync/RunCoreStreamingAsync
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* fix compilation issues
* fix compilatio issue
* fix tests
* fix unit tests
* fix unit test
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
Co-authored-by: SergeyMenshykh <sergemenshikh@gmail.com >
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-12-30 12:24:09 +00:00
Phillip Hoff and GitHub
03a403d2fa
.NET: Switch to new "Run" method name. ( #2843 )
...
* Switch to new "RunAgent" method name.
* Try to disable false positive naming warning.
* Add comment about disabled warnings.
* Rename `RunAgent` to just `Run`.
* Update CHANGELOG.
2025-12-16 22:07:59 +00:00
Chris Gillum and GitHub
754dfb2c9d
.NET: Add TTLs to durable agent sessions ( #2679 )
...
* .NET: Add TTLs to durable agent sessions
* Remove unnecessary async
* PR feedback: clarify UTC
* PR feedback: limit minimum signal delay to <= 5 minutes
* PR feedback: Fix TTL disablement
* Linter: use auto-property
* Fix build break from OpenAI SDK change
* Updated CHANGELOG.md
* PR feedback
* Reduce default TTL to 14 days to work around DTS bug
2025-12-16 18:11:44 +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
Stephen Toub and GitHub
b01fd23cd2
Update analyzers for .NET 10 SDK ( #2611 )
2025-12-10 10:34:56 +00:00
2caf1bb151
.NET: [Durable Agents] Update CHANGELOG with release notes for past releases ( #2669 )
...
* .NET: [Durable Agents] Update CHANGELOG with release notes for past releases
Backfills the CHANGELOG.md files with the last several updates.
* Update dotnet/src/Microsoft.Agents.AI.DurableTask/CHANGELOG.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update the Azure Functions changelog and add GHCP changelog instructions for these projects
* Tweak instructions
* Remove the timestamp requirement
* Rename instructions file
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-09 20:27:24 +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
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
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
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