Jacob Alber and GitHub
5902bcb10a
.NET: [BREAKING] Propagate CancellationToken into Workflow Executors and message handlers ( #1280 )
...
* feat: Propagate CancellationToken to Executors
* Also adds cancellation propagation to `Executor`-accessible APIs
* Adds registrators for cancellable handlers to `RouteBuilder`
* [BREAKING]: Adds `CancellationToken` to `IMessageHandler.HandleAsync`
* test: Re-enable Concurrent Orchestration test
* refactor: Delete unused IInputCoordinator
* refactor: Remove superfluous argument qualifications
2025-10-08 00:28:44 +00:00
Chris and GitHub
eb049c43a6
.NET Workflows - Enhance support and validation for image input ( #1274 )
...
* Updated
* Comments
* Namespace
* Comment
* Cleanup
* Update agent definition
* Disable
* Config
* Enable
2025-10-08 00:00:34 +00:00
wuweng and GitHub
362652b966
.NET: Add Azure Monitor OpenTelemetry Exporter samples ( #1231 )
...
* Add Azure Monitor OpenTelemetry Exporter to enhance observability in agent samples
* add another sample code for application isnights
2025-10-07 23:16:32 +00:00
westey and GitHub
127bf68748
Reference the correct JsonUtilities class ( #1270 )
2025-10-07 22:02:19 +00:00
Chris and GitHub
1a81ed202e
Updated ( #1272 )
2025-10-07 19:09:41 +00:00
Tao Chen and GitHub
df5477921b
.NET: Add Orchestration SK->AF migration samples ( #1044 )
...
* Add Orchestration SK->AF migration samples
* fix samples
* clean up
* Add handoff
* Comments
* Address comments
* Fix build error
* Comments
2025-10-07 18:54:41 +00:00
Mark Wallace and GitHub
2b2d3a44a5
Version preview.251007.1 ( #1271 )
2025-10-07 18:30:12 +00:00
westey and GitHub
554e1617b3
Rename AsAIAgent to GetAIAgent and update for foundry as well ( #1257 )
2025-10-07 18:19:18 +00:00
SergeyMenshykh and GitHub
1cff86b4ff
enable enum serialization as strings and relaxed json escaping ( #1267 )
2025-10-07 17:07:13 +00:00
Stephen Toub and GitHub
959e5842c2
Removing duplicating update coalescing logic in AgentRunResponseExtensions ( #1169 )
2025-10-07 13:42:01 +00:00
d10b44d6bb
.NET: Enable access to hosted AIAgents via OpenAI Responses ( #947 )
...
* init
* wip
* wip wip wip
* wip wip
* open up API
* enable for multiple agents
* more wip
* make frontend respond.
* wip
* not sure if proper setup
* define type
* cleanup
* frontend streaming wip
* use System.Net.ServerSentEvents
* usings
* reformat via ichatclient
* merge main renaming + refactor
* fix main merge + fix sample (a2a change)
* fix sample
* some rebase (not working yet)
* make it at least build somehow
* make non-stream work without internal types
* Input without custom models
* implement streaming
* test frontend
* enable alerts and fix
* build fixes & rereview
* Update dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI.Responses/Microsoft.Agents.AI.Hosting.OpenAI.Responses.csproj
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI.Responses/Utils/ResponseItemJsonConverter.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix agent discovery
* rename
* rename project into Microsoft.Agents.AI.Hosting.OpenAI (no responses in name)
* PR address comments x1
* address PR comments x2
* correctly instantiate OpenAIResponse
* address PR comments x3
* reconfigure JSON serialization & handle AOT warnings
* fix build
* proper ref
* check update differently
* correct check
* exclude dotnet format diagnostics for IL2026 and IL3050
* space :)
* re-review
* add comments
* remove unnecessary using
* always take last openai response item
* set responseItem Id explicitly
* add agent.name validation for uri
* cleanup
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
2025-10-07 12:39:08 +00:00
SergeyMenshykh and GitHub
3fd5768b34
.NET: Improve structured output for chat client agent ( #1172 )
...
* improve structured output for chat client agent
* add comment to the result property
* remove code duplication and add tests
* refactor the CreateAIAgent extension methods to return specific types, so consumers can avoid unnecessary downcasting.
* fix type and remove unused using.
* add ChatClientAgentRunResponse and move AgentRunResponse to the abstractions package to reuse later.
* seal ChatClientAgentRunResponse
* update xml comment
* remove funcitons from sample
* rename agent for streaming
2025-10-07 12:04:26 +00:00
westey and GitHub
3dc14dac79
.NET: Add a CreateAIAgent extension method to IChatClient ( #1223 )
...
* Add a CreateAIAgent extension method to IChatClient
* Fix unit tests
* Add tests with null chat clients to ensure appropriate failure
* Switch to similar constructor
* Add ChatClientBuilder BuildAgent extensions
* Address code review comments.
2025-10-07 09:47:33 +00:00
74905af778
.NET: Fix bug where ChatClientAgent throws when providing a ChatMessageStore with a service that requries service storage ( #1229 )
...
* Fix bug where ChatClientAgent throws when providing a ChatMessageStore with a service that requries service storage
* Update dotnet/tests/Microsoft.Agents.AI.UnitTests/ChatClient/ChatClientAgentTests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-07 08:31:34 +00:00
7506046f43
.NET: Add sample to show ChatReducer usage ( #1221 )
...
* Add sample to show ChatReducer usage
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-07 08:17:31 +00:00
7ebe00ec3d
[BREAKING] .NET: Workflow Off-Thread Execution Mode ( #1233 )
...
* Updates to async run loop.
* fix: Workflow Onwership can be release by nonowner
* fix: Incorrect handling of blockOnPending in StreamingRun
Depending on whether we are running in streaming on non-streaming mode, we may be using the StreamingRun in different ways. Unfortunately, the only place we can really know what is the actual state of execution is in the RunEventStream implementations.
This resulted in blocking where blocking was unneeded and occasionally not-blocking when blocking was needed.
The fix is to move the logic of handling this blocking into RunEventStream implementations.
* fix: Fix cleanup on error and end run
This ensures we clean up the background resources correctly.
* fix: Ensure we let the run loop proceed when shutting down
* fix: Add timeout for Input Waiting
* fix: Make the samples properly clean up `Run`s and `StreamingRun`s
* fix: Simplify Declarative Workflow Run disposal pattern
* Also fixes missing .Disposal() in Integration tests
---------
Co-authored-by: Ben Thomas <ben.thomas@microsoft.com >
2025-10-07 01:07:38 +00:00
0113e0466d
.NET Workflows - Fix code generation cases ( #1242 )
...
* Updated
* Passing
* Ready
* Update dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Workflows/ConversationMessages.yaml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Comment
* Code analysis
* Unit-tests/provider signature
* Comment
* Consistent
* Checkpoint
* Fixed
* Revert
* Test display name
* Enable tests
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-06 23:34:46 +00:00
00d5a09e01
Bump Aspire.Microsoft.Azure.Cosmos from 9.5.0 to 9.5.1 ( #1201 )
...
---
updated-dependencies:
- dependency-name: Aspire.Microsoft.Azure.Cosmos
dependency-version: 9.5.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-06 23:26:07 +00:00
f81b4a5abe
.NET Workflows - Fix converation behaviors for declarative worfklows ( #1237 )
...
* Updated
* Passing
* Ready
* Update dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Workflows/ConversationMessages.yaml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Comment
* Code analysis
* Unit-tests/provider signature
* Comment
* Consistent
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-06 22:04:41 +00:00
Michael McKechney and GitHub
f1694b0507
Correcting parameter assignment and using parameter naming vs relying on position ( #1239 )
2025-10-06 21:46:37 +00:00
Victor Dibia and GitHub
ee8d95b3dc
test: Make ChatClientAgent no-message test less flaky ( #1196 )
...
Capitalize instruction and relax assertion to accept any non-empty response instead of requiring exact text match. Fixes flaky test failures with reasoning models.
2025-10-06 19:09:01 +00:00
b2ab9931fd
Bump AWSSDK.Extensions.Bedrock.MEAI from 4.0.3.2 to 4.0.3.5 ( #1102 )
...
---
updated-dependencies:
- dependency-name: AWSSDK.Extensions.Bedrock.MEAI
dependency-version: 4.0.3.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-06 15:16:35 +00:00
b839669eee
Add Devcontainers to allow easy use of the AF repo from github codespaces ( #1224 )
...
* Add dev containers
* Add workspace folder and cs dev extension
* Try other workspace folder format
* Add default solution.
* Move default solution to settings.json
* Fix repo open
* Remove duplicate python codespace and rename folder
* Add recommended C# extensions and a default build task
* Add vscode icons extension by default
* Add python setup and customizations, plus ai studio for all
* Add bash command
* Try running devsetup from workspace folder
* Remove echo and cd
* Change workspace mount
* Change dotnet workspace name
* Revert workspacemount addition
* Try workspace mount to root
* remove trailing slash
* Try workspacefolder with var
* Revert to original approach
* Modify dev containers to work in main repo.
* Remove trailing comma
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-06 14:20:34 +00:00
62854197aa
.NET: Fix A2A conversion routines to ignore unknown content types instead of throwing exceptions ( #1154 )
...
* Initial plan
* Update A2A conversion routines to ignore unknown content types
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com >
* Fix dotnet format
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com >
Co-authored-by: Stephen Toub <stoub@microsoft.com >
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
2025-10-06 10:29:43 +00:00
Andrew Nikolin and GitHub
4c5c6d0f98
Align skill naming ( #1207 )
...
Fixing what looks like a simple copy-paste naming issue
2025-10-06 07:43:04 +00:00
Victor Dibia and GitHub
5a7ca13af6
feat: Add name and description support to workflows ( #1183 )
...
Add optional name and description fields to workflows in both Python and .NET implementations, matching the existing agent API pattern.
Python changes:
- Add name/description parameters to WorkflowBuilder.__init__
- Add name/description attributes to Workflow class
- Include name/description in to_dict() serialization
- Add WORKFLOW_NAME and WORKFLOW_DESCRIPTION OTEL attributes
- Add tests in test_serialization.py and test_workflow_observability.py
.NET changes:
- Add Name and Description properties to Workflow and Workflow<T>
- Add WithName() and WithDescription() fluent methods to WorkflowBuilder
- Add WorkflowName and WorkflowDescription OTEL tags
- Add test in WorkflowBuilderSmokeTests.cs
This enables applications like DevUI to display human-readable workflow names (e.g., 'Data Processing Pipeline') instead of auto-generated UUIDs (e.g., 'Workflow 50fdd917').
Fixes : #1181
2025-10-04 15:20:17 +00:00
Chris and GitHub
61ac6d43b2
.NET Workflows - Update ObjectModel and PowerFx packages ( #1125 )
...
* Update
* Update package version
* Update package version
* This is "IT"!!!
2025-10-03 22:03:11 +00:00
50c532b4ae
docs: Update References to Agent2Agent protocol to use correct terminology ( #1162 )
...
Should be `Agent2Agent Protocol` not `Agent-to-Agent` unless talking about general agent to agent communication
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com >
2025-10-03 19:10:05 +00:00
Jacob Alber and GitHub
32e7ff00b5
.NET: Add support for Subworkflows and many threading fixes ( #1066 )
...
* feat: Add support for Workflow-as-Executor
* Fixes routing of 'object' compile-typed variables to properly take in type information
* Fixes a concurrency issue in StepTracer
* fix: Make Subworkflow ExternalRequests work properly
* fix: Threading and Concurrency fixes; prep for OffThread Mode
* refactor: Remove dead code around OffStreamRunEventStream
Currently not used, and will be replaced with a rewrite when brought back, so having it in the change is not valuable.
* ci: Work around issues with dotnet-format not properly analyzing the source
* fix: Fix the logic of AsyncCoordinator and AsyncBarrier
* Prevent individual wait cancellations from canceling the entire barrier
* Propagate information about whether the wait was completed or cancelled, and whether any waiters were present when released
* fix: Remove superfluous acces to .Keys in InProcStepTracer
* refactor: Clean up AsyncCoordinator's use of AsyncBarrier
2025-10-03 17:26:30 +00:00
880a99ca05
.NET Workflows - Enable "human in the loop" case for declarative integration tests ( #1171 )
...
* Enabled
* Rollback visitor
* Update dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Framework/WorkflowTest.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-03 17:24:22 +00:00
westey and GitHub
3ee7461b59
Fix createdAt merging for agent run updates ( #1161 )
2025-10-03 16:04:06 +00:00
Jacob Alber and GitHub
cfcb90bfe0
fix: Make CheckpointInfo constructor public ( #1156 )
...
In order to be able to restore checkpoints (and even implement ICheckpointStore)
2025-10-03 15:42:04 +00:00
westey and GitHub
6a4e759965
Add sample showing how to use any foundry model ( #1159 )
2025-10-03 15:34:16 +00:00
SergeyMenshykh and GitHub
ca9f6fe21d
update a2a sample to work with latest a2a library ( #1149 )
2025-10-03 12:04:43 +00:00
cf831b0348
Update A2A library to 0.3.1-preview ( #1141 )
...
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
2025-10-03 09:31:31 +00:00
Stephen Toub and GitHub
4daeeb0f07
Add some DebuggerDisplays / DebuggerTypeProxys to abstraction types ( #1144 )
2025-10-03 08:51:49 +00:00
5a208ab1e1
Bump Microsoft.Identity.Client.Extensions.Msal from 4.77.0 to 4.77.1 ( #1103 )
...
---
updated-dependencies:
- dependency-name: Microsoft.Identity.Client.Extensions.Msal
dependency-version: 4.77.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-03 02:26:37 +00:00
3bbb01c095
Bump Anthropic.SDK from 5.5.2 to 5.5.3 ( #1101 )
...
---
updated-dependencies:
- dependency-name: Anthropic.SDK
dependency-version: 5.5.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-03 01:49:41 +00:00
58e2e58787
Bump Microsoft.NET.Test.Sdk from 17.14.1 to 18.0.0 ( #1105 )
...
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-version: 18.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-03 01:49:20 +00:00
390cc541ea
.NET Workflows - Clean-up declarative docs and product-context. ( #1134 )
...
* Clean-up
* Rollback sample
---------
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
2025-10-02 20:06:40 +00:00
bbf7e9c4cc
Ignore CS8002 warnign when building packages ( #1136 )
...
Co-authored-by: Mark Wallace <markwallace@microsoft.com >
2025-10-02 21:04:20 +01:00
caf051637f
Version preview.251002.1 ( #1112 )
...
Co-authored-by: Mark Wallace <markwallace@microsoft.com >
2025-10-02 21:03:55 +01:00
074529e5a0
.NET: dotnet sample for OTEL -> Application Insights + Grafana ( #1083 )
...
* Add Azure Monitor OpenTelemetry Exporter to AgentOpenTelemetry sample
* Update README to include Application Insights setup and Grafana dashboard links
* Update dotnet/samples/GettingStarted/AgentOpenTelemetry/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-02 15:21:11 +00:00
79def868b6
.NET: Add Prompt to support and improve AI Agent SK->AF Migration Results ( #1081 )
...
* Prompt progress
* Enriched prompt + Added to SLN visibility
* Set starting point for Copilot Migration
* Address prompt detail + prepare copilot migration to work with Agent nugets
* Address more prompt details
* Prompt update
* Improve description for migration
* Improve description for migration
* Improve description for migration
* Improve description for migration
* SLnx Upgrade Assistant use-case
* Extra tweaks to the migration prompt
* Update prompt
* Adding the migration guida as a visible reference to the project
* Improvements
* IMprovement
* Small improvements
* AI Guidance Overhaul.
* Update migration guide with better straightforward examples
* Update breaking glass instructions
* Namespace change + address feedback
* ChatComletionService considerations
* Add middleware guidance + public packages
* Removing + ignoring future generated files
* Potential gh bug?
* Prompt progress
* Enriched prompt + Added to SLN visibility
* Set starting point for Copilot Migration
* Address prompt detail + prepare copilot migration to work with Agent nugets
* Address more prompt details
* Prompt update
* Improve description for migration
* Improve description for migration
* Improve description for migration
* Improve description for migration
* SLnx Upgrade Assistant use-case
* Extra tweaks to the migration prompt
* Update prompt
* Adding the migration guida as a visible reference to the project
* Improvements
* IMprovement
* Small improvements
* AI Guidance Overhaul.
* Update migration guide with better straightforward examples
* Update breaking glass instructions
* Namespace change + address feedback
* ChatComletionService considerations
* Add middleware guidance + public packages
* Removing + ignoring future generated files
* Potential gh bug?
* Version bump
* Address observation
* Address observation
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-10-02 15:00:19 +00:00
Chris and GitHub
08ea625de0
.NET: NET Workflows - Skip conversation initialization when identifier is provided ( #1087 )
...
* Fix
* Code-gen case
* Tests
* Autosend logic
* Build fix
* Namespace
* Validation enhancement
2025-10-02 14:27:46 +00:00
westey and GitHub
cb62407fb8
.NET: Improve some core types xml docs ( #1115 )
...
* Improve some core types xml docs
* Consistent period usage
2025-10-02 14:18:22 +00:00
56beb52124
.NET: Fix lists in XML comments so they render properly in the documentation. ( #1113 )
...
* fix lists in XML comments so they render properly in documentation.
* Update dotnet/src/Microsoft.Agents.AI.A2A/A2AHostAgent.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI.A2A/A2AHostAgent.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI.A2A/A2AHostAgent.cs
Co-authored-by: Stephen Toub <stoub@microsoft.com >
* Update dotnet/src/Microsoft.Agents.AI.A2A/A2AHostAgent.cs
Co-authored-by: Stephen Toub <stoub@microsoft.com >
* Update dotnet/src/Microsoft.Agents.AI.A2A/A2AHostAgent.cs
Co-authored-by: Stephen Toub <stoub@microsoft.com >
* Update dotnet/src/Microsoft.Agents.AI.A2A/Extensions/A2ACardResolverExtensions.cs
Co-authored-by: Stephen Toub <stoub@microsoft.com >
* Update dotnet/src/Microsoft.Agents.AI.A2A/A2AHostAgent.cs
Co-authored-by: Stephen Toub <stoub@microsoft.com >
* Update dotnet/src/Microsoft.Agents.AI.A2A/A2AHostAgent.cs
Co-authored-by: Stephen Toub <stoub@microsoft.com >
* Update dotnet/src/Microsoft.Agents.AI.A2A/A2AHostAgent.cs
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 >
2025-10-02 13:58:11 +00:00
b1282254df
.NET: Move the AsAIAgent extension methods to the correct class ( #1106 )
...
* Move the AsAIAgent extension methods to the correct class
* Fix format issue
* Disable unit test, see issue #1109
---------
Co-authored-by: Mark Wallace <markwallace@microsoft.com >
2025-10-02 12:41:22 +00:00
Stephen Toub and GitHub
3ae9065b6b
Tweak AgentAbstractionsJsonUtilities to better match AIJsonUtilities ( #1094 )
...
Functional change includes setting the encoder used by the options and employing JsonStringEnumConverter.
2025-10-02 05:19:27 +00:00
6d0f28eb9b
.NET Workflows - Re-enable Declarative Integration Tests ( #1080 )
...
* Investigate
* Next
* Update initialization
* Should be ok
* Agent definition dx
* Link agent definitions
* Link agent definitions
* Path resolution #2
* Fix path resolution
* Another pass
* Another
* Better
* One more
* Whoopsie
* Update dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Framework/AgentFactory.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Namespace
* Cleanup
* Temp config for pipeline
* Another temp workaround
* Test config: Bing Grounding Tool
* Update template
* Next pass
* Ok now
* Cleanup
* Test note
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-01 22:21:45 +00:00