Chris and GitHub
00a78d7bc6
.NET Workflows - Sample and Package Update ( #1759 )
...
* Update #1
* Sample comments
* Formatting
* Whitespace
2025-10-28 23:26:55 +00:00
Chris and GitHub
92925a8bc7
.NET Workflows - Add support for tool approval ( #1685 )
...
* Draft
* Nullable init
* Complete
* Consistency
* Test fix
* Typo
* Comment
* Updated
* Fix identifier
* Test fix
* Comment typo
* Better naming
* Comment
* Tweak comment
2025-10-27 17:40:45 +00:00
Jacob Alber and GitHub
0ef4e739d5
refactor: [BREAKING] Remove generic Workflow<T> ( #1551 )
...
Remove input type checking in favour of explicit `.DescribeProtocolAsync()` flow. Also removes `.AsAgentAsync()` as the validation happens at workflow run time. This makes it easier to use Workflows with DI without resorting to async-over-sync.
2025-10-21 00:13:41 +00:00
Chris and GitHub
a6b6937b94
.NET Workflows - Support agent level function invocation for declarative workflow ( #1442 )
...
* Checkpoint
* Checkpoint
* Checkpoint
* Good
* Namespace
* Namespace
* Dun
* Async Test
* AgentId
* Portable pattern
* Portable2
* Portable3
* Respond to comments
* Namespace
* Function call selection
* ToHashSet
* ToHashSet
* Updated
* Parameter name
* Final
* Tests
2025-10-14 20:42:15 +00:00
a4039134de
.NET: Remove reflection samples ( #1460 )
...
* Removing usage of ReflectingExecutor<T> from workflow samples.
* Removing uneeded changes.
* Clean up.
* Update dotnet/samples/GettingStarted/Workflows/_Foundational/01_ExecutorsAndEdges/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/_Foundational/01_ExecutorsAndEdges/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/_Foundational/02_Streaming/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/_Foundational/02_Streaming/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Updates per PR feedback.
* Undo changes to generated file.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-14 20:34:04 +00:00
Chris and GitHub
5fa153642e
.NET Workflows - Update State Serialization for JSON Checkpointing ( #1388 )
...
* Checkpoint
* Checkpoint
* Namespace
* All ready
* Namespace
* Clean
* Fix
2025-10-10 20:10:17 +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
Chris and GitHub
1a81ed202e
Updated ( #1272 )
2025-10-07 19:09:41 +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
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
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
a414461570
.NET: Re-enable ImplicitUsings in samples and clean up NoWarns ( #1060 )
...
* Re-enable ImplicitUsings in samples and clean up NoWarns
* Fix dotnet format
* More dotnet format
* More dotnet format
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-10-01 19:37:03 +00:00
westey and GitHub
364188c44f
.NET: Add link inspector ( #1062 )
...
* Add link inspector
* Comment out excludedirs while it's empty
* Fix broken links
* More links fixes
* Push further fixes
* Fix more links
2025-10-01 16:43:17 +00:00
SergeyMenshykh and GitHub
5f1417ab94
.NET: Align environment variable names ( #1053 )
...
* alignt environment variable names
* rename modelId variable names
2025-10-01 10:49:45 +00:00
77404d165c
.NET Workflows - Code Generation for Declarative Workflow ( #655 )
...
* Notes
* Readme typo
* Update readme
* Checkpoint
* Namespace fix
* Fix ID and namespace
* Checkpoint
* Verified
* Comments
* Isolate "Kit"
* Address note: static
* Checkpoint
* Checkpoint "Executor<>"
* Prefix and internal executors
* Test passing
* Cleanup
* Rename "session" concept
* Revert workflow debug
* Fix template base / pragma
* Tune system scope
* Update dotnet/src/Microsoft.Agents.Workflows.Declarative/CodeGen/ResetVariableTemplate.tt
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix empty template
* Add validation for codegen ut
* Fix test
* Codegen baselines
* Constant
* Prep
* Mark TODO
* Fix
* Namespace
* One more
* Update baselines
* Checkpoint
* Checkpoint
* Checkpoint
* fme
* Checkpoint
* Another step
* Fixed up
* Roslyn
* Fix
* More cleaning
* Async
* Fix
* Enum checkpoint
* Refine enum
* Checkpoint
* Sync templates
* Checkpoint
* Streamline
* Pre-merge analyzer updates
* Foreach
* Placeholders
* Checkpoint
* Clean-up
* Sample path resolution
* Checkpoint
* Checkpoint - Workflow Code Building
* Validation
* Test cleanup
* Update test basline
* Update test baseline
* Fix DefaultTemplate usage
* Validation checkpoint
* Fix break/continue edges
* Verify generated code builds
* Fix merge
* Fix build validation
* Update template handling of literal string values.
* Test for metadata case
* Update baselines
* Fix merge
* Checkpoint
* Checkpoint: Conditions
* Invoke Agent Checkpoint
* Namespace
* Address code-analysis issues
* Cross platform test support
* Invoke agent checkpoint
* Clean sample
* Checkpoint: Agent Invoke Input Messages
* Checkpoint - Passing
* Checkpoint
* Regenerate all template + port conversation fix
* Checkpoint: Tests good
* Fix test for unbuntu
* Fix build command
* Checkpoint - E2E
* Test fix
* Update integration tests
* Fix merge
* Update
* Checkpoint !!!
* Baby steps
* Checkpoint
* Checkpoint E2E !!!
* So close...
* Integrate test validation
* Fix merge
* Rebase tests
* Namespace
* Namespace
* Test cleanup
* Sample comment cleanup
* Checkpoint: List conversion
* Include these
* CheckPoint: ParseValue
* Namespace
* Fix sampel
* More namspace
* Comments
* Test updates
* Test fix
* Better build
* Shared code
* Sort solution
* Fix build
* Prune solution
* One more
* Conversion matrix
* Final table conversion
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-30 21:56:14 +00:00
Chris and GitHub
1e53fb458f
.NET Workflows - Fix "Human In Loop" sample and update "AutoSend" behavior ( #991 )
...
* Fix sample and autosend
* Specify "ConversationId"
* Namespace
* Perf fix
* Namespace
* Filter for appropriate message
2025-09-30 16:13:15 +00:00
Ben Thomas and GitHub
647db9635a
.NET: Rename workflows projects ( #975 )
...
* Renaming Microsoft.Agent.Workflows to Microsoft.Agents.AI.Workflows
* Removing local settings.
* Removing remining old files from merge.
2025-09-29 18:30:45 +00:00
Aditya Mandaleeka and GitHub
28ad256931
.NET: Change Runtime namespaces to Microsoft.Agents.AI.Runtime ( #957 )
...
* Rename MEAI.Runtime to MAAI.Runtime.
* Missed.
2025-09-27 06:10:14 +00:00
Jacob Alber and GitHub
39e071c430
.NET: Update Workflow Input/Output Redesign ( #881 )
...
* feat: Make Executor id field mandatory
When checkpointing is involved, it is critical to keep executor ids consistent between runs, even when recreating a new object tree for the workflow.
The default id-setting mechanism generated a guid for part of the id, making it not work when restoring from a checkpoint.
This change prevents this situation from arising.
* feat: Enable running untyped Workflows
With the change to enable delay-instantiation of executors and support for async Executor factory methods, we must instantiate the starting executor to know what are the valid input types for the workflow.
To avoid forcing instantiation every time, and to better support workflows with multiple input types, we enable support for build and interacting with the base Workflow type without type annotations, and remove the requirement to know a valid input type when initiating a run.
* feat: Support Output from any executor and multiple outputs.
2025-09-25 02:03:22 +00:00
06827e9f1a
.NET Workflows - Improvements to Declarative Framework ( #838 )
...
* Closure
* Verified
* Update dotnet/src/Microsoft.Agents.Workflows.Declarative/Interpreter/DeclarativeWorkflowContext.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Sample folder
* System scope fix
* Fix link
* Integrate Foundry SDK fix
* File naming fix
* Update dotnet/src/Microsoft.Agents.Workflows.Declarative/Interpreter/DeclarativeWorkflowContext.cs
Co-authored-by: Tao Chen <taochen@microsoft.com >
* Namespace
* Optimize bind
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Tao Chen <taochen@microsoft.com >
2025-09-23 21:08:07 +00:00
0f913bcdeb
.NET Workflows - Integrate Element Aliasing ( #835 )
...
* Checkpoint
* Update test workflows
* Update workflows/MathChat.yaml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update folder
* Cleanup
* Signed package version
* Rollback nuget.config
* Cleanup
* Set `ProductContext`
* Move product initialization.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-23 18:08:35 +00:00
7cd45e313b
.NET Workflows - Rename folder containing sample workflows ( #836 )
...
* coolio
* Update dotnet/samples/GettingStarted/Workflows/Declarative/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-19 17:40:51 +00:00
Chris and GitHub
387b15997d
Fix sample ( #816 )
2025-09-18 15:20:30 +00:00
Stephen Toub and GitHub
5e5761b288
Enable more analyzers and various code tweaks/cleanup ( #738 )
2025-09-18 01:48:25 +00:00
2015f0dc09
.NET: [BREAKING] Support Checkpoint Serialization ( #735 )
...
* feat: Support Checkpoint Serialization
* Implements serialization roundtripping for checkpoints.
* Adds support for JSON serialization
* Adds FileSystem-based checkpoint persistence
* fix: Executor State does not deserialize correctly
The StateManager was not properly handling delay-deserialized values.
* Fix PortableValue handling in StateManager (this makes it delegate to PortableValue the uwnrapping)
* Fix UnitTest to actually test checkpoint serialization
* Additional review comment fixes
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-09-17 19:57:19 +00:00
b2d2019874
.NET Workflow - Declarative Workflow Event Fix ( #765 )
...
* Checkpoint
* Update workflows/DeepResearch.yaml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Comment
* Fix comment
* Update package version
* Fix nuget haxx
* Checkpoint
* Code complete
* Testing
* Message content workaround
* Add sequential flow
* Checkpoint
* Integration test project
* Checkpoint
* Checkpoint cleanup
* Complete
* Checkpoint
* Fix tests
* Comment cleanup
* Namespace
* Formatting
* Analyzer updates
* Workflow update
* Fixed!
* Update dotnet/tests/Microsoft.Agents.Workflows.Declarative.UnitTests/DeclarativeWorkflowTest.cs
Co-authored-by: Tao Chen <taochen@microsoft.com >
* Fix build error
* Purge "immutable" set and dictionary
* Fix as task
* Collection expression
* Another
* Frozen => Readonly (perf)
* Fix
* Namespace
* Checkpoint
* Add test
* Fix
* Rollback workflow edit
* nitty
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Tao Chen <taochen@microsoft.com >
2025-09-16 18:57:07 +00:00
74879489a4
.NET Workflow - Integrated updated CPS Object Model ( #681 )
...
* Checkpoint
* Update workflows/DeepResearch.yaml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Comment
* Fix comment
* Update package version
* Fix nuget haxx
* Checkpoint
* Code complete
* Testing
* Message content workaround
* Add sequential flow
* Checkpoint
* Integration test project
* Checkpoint
* Checkpoint cleanup
* Complete
* Update package
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-15 20:41:07 +00:00
Tao Chen and GitHub
89c8418705
.NET: Workflow getting started samples in .Net (Second batch) ( #650 )
...
* Add loop and agents in workflows samples
* Add foundry agent and workflow as agent samples
* Checkpoint sample WIP
* Checkpoint sample 1 Done
* Add HIL samples
* Fix formatting
* Force folder name change step 1
* Force folder name change step 2
* Fix formatting
* Fix formatting
* Add checkpoint and rehydrate sample
* _Foundational
* Fix formatting
2025-09-10 18:47:13 +00:00
Chris and GitHub
adb901cf19
.NET Workflows - Add declarative action events ( #679 )
...
* Updated
* Typos
* Update sample
* Typo
* Add parent and prior action ids to event
2025-09-10 17:45:11 +00:00
Chris and GitHub
0fa6883691
Clean-up ( #677 )
2025-09-09 22:29:25 +00:00
Chris and GitHub
240edb00cd
.NET Workflows - Update structure of samples ( #645 )
...
* Updated
* Typos
* Update readme fwiw
2025-09-08 23:16:29 +00:00