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
SergeyMenshykh and GitHub
6000b737e9
use DefaultAzureCredential instead of AzureCliCredential ( #3860 )
2026-02-12 12:27:54 +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
Dmytro Struk and GitHub
2ab859dd94
.NET: [BREAKING] Renamed CreateAIAgent/GetAIAgent to AsAIAgent ( #3222 )
...
* Renamed chat client extension method
* Additional renaming
* Updated documentation
* Fixed tests
* Small fix
* Small fix
2026-01-15 16:01:15 +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
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
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
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
Javier Calvarro Nelson and GitHub
eb06faea2d
.NET: AG-UI Docs samples ( #2194 )
...
* Add AG-UI Blazor sample
* Add AG-UI getting started samples
* Cleanups
* Update the dojo samples
* cleanups
* Fix readme
* Address feedback and further cleanups
* Fix build
* Missing fixes
2025-12-08 00:42:06 +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
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
1aaf37dab8
.NET: Remove launchSettings.json from .gitignore in dotnet/samples ( #2006 )
...
* Remove launchSettings.json from .gitignore in dotnet/samples
* Update dotnet/samples/GettingStarted/DevUI/DevUI_Step01_BasicUsage/Properties/launchSettings.json
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/AGUIClientServer/AGUIServer/Properties/launchSettings.json
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-07 23:45:15 +00:00
Javier Calvarro Nelson and GitHub
e859edc2a4
.NET: AG-UI support for .NET: Support for tool calling ( #1896 )
...
* Initial implementation
* tmp
* Replace function calling with a FunctionInvokingChatClient
* Cleanups
* Remove custom thread
* Fixing function calling server and client
* Cleanup
* Cleanup serialization
* Run dotnet format
* Pass logger factory
* Populate message properties
* Remove files
* Cleanups
* cleanup
* Cleanups
* More cleanup
* Simplify things
* Cleanup
* Clean up json serialization
* Additional tests
* Add service collection extensions for serialization
* Combine options in AGUIChatClient
* Additional tests
* Include tool calling in the sample, fix mixed server and client tool calls
* Fix tests
* More cleanups
* Fix tests
* Cleanups
* Dojo project and fixes
* Fix build
* Remove dojo
* Cleanup
* Address feedback
* address feedback
* Additional feedback
* Fix build
* Fix build
* Make packages packable
2025-11-07 17:23:21 +00:00
Javier Calvarro Nelson and GitHub
b03a4fb95e
.NET: AG-UI support for .NET ( #1776 )
...
* Initial plan
* Infrastructure setup
* Plan for minimal client
* Plan update
* Basic agentic chat
* cleanup
* Cleanups
* More cleanups
* Cleanups
* More cleanups
* Test plan
* Sample
* Fix streaming and error handling
* Fix notifications
* Cleanups
* cleanup sample
* Additional tests
* Additional tests
* Run dotnet format
* Remove unnecessary files
* Mark packages as non packable
* Fix build
* Address feedback
* Fix build
* Fix remaining warnings
* Feedback
* Feedback and cleanup
* Cleanup
* Cleanups
* Cleanups
* Cleanups
* Retrieve existing messages from the store to send them along the way and update the sample client
* Run dotnet format
* Add ADR for AG-UI
* Switch to use the SG and use a convention for run ids
* Cleanup MapAGUI API
* Fix formatting
* Fix solution
* Fix solution
2025-11-05 15:51:37 +00:00