Stephen Toub and GitHub
09bdd64dcb
Add a sample using multiple services ( #851 )
2025-09-23 01:07:51 +00:00
Stephen Toub and GitHub
c5e6735b7a
Some more analyzer cleanup ( #815 )
2025-09-22 13:20:32 +00:00
c587103753
Bump Azure.AI.Agents.Persistent from 1.2.0-beta.4 to 1.2.0-beta.5 ( #855 )
...
---
updated-dependencies:
- dependency-name: Azure.AI.Agents.Persistent
dependency-version: 1.2.0-beta.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-09-22 10:06:43 +00:00
Stephen Toub and GitHub
52790b9f6a
Add AgentWorkflowBuilder with Sequential, Concurrent, Handoff ( #792 )
2025-09-19 19:16:07 +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
de416b3f81
Bump Azure.Identity from 1.15.0 to 1.16.0 ( #807 )
...
---
updated-dependencies:
- dependency-name: Azure.Identity
dependency-version: 1.16.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-18 21:57:33 +00:00
daee44d583
.NET: Add provider sample for OpenAI Assistants ( #812 )
...
* Add provider sample for OpenAI Assistants
* Suggestions from pr
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Add deprecation warnings for OpenAI Assistants
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-18 15:22:06 +00:00
edf114b5e2
Bump Microsoft.ML.OnnxRuntimeGenAI from 0.9.1 to 0.9.2 ( #808 )
...
---
updated-dependencies:
- dependency-name: Microsoft.ML.OnnxRuntimeGenAI
dependency-version: 0.9.2
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>
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
2025-09-18 15:20:45 +00:00
Chris and GitHub
387b15997d
Fix sample ( #816 )
2025-09-18 15:20:30 +00:00
6a66ad517a
Bump OllamaSharp from 5.3.6 to 5.4.4 ( #810 )
...
---
updated-dependencies:
- dependency-name: OllamaSharp
dependency-version: 5.4.4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-18 14:13:46 +00:00
6c7d674af6
Bump Newtonsoft.Json from 13.0.3 to 13.0.4 ( #809 )
...
---
updated-dependencies:
- dependency-name: Newtonsoft.Json
dependency-version: 13.0.4
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-09-18 14:11:34 +00:00
Mark Wallace and GitHub
3e5d398bf8
Fix step number for memory usage sample ( #803 )
...
Updated the link for the 'Using memory with an agent' sample to reflect the new step number.
2025-09-18 15:04:29 +01: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
2a04c4197e
Bump Microsoft.Identity.Client.Extensions.Msal from 4.74.1 to 4.77.0 ( #741 )
...
---
updated-dependencies:
- dependency-name: Microsoft.Identity.Client.Extensions.Msal
dependency-version: 4.77.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-17 15:25:41 +00:00
4247fc26dd
.NET: Update AgentThread, MessageStores and Context Providers to deserialize via constructor. ( #779 )
...
* Update AgentThread, MessageStores and Context Providers to deserialize via constructor.
* Fix pr comment.
* Add additional validation for AgentThread deserialization
* Update WorkflowMessageStore desreialize to improve error checking.
* Reduce allocations in InMemoryChatMessageStore
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-09-17 10:08:13 +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
0dd49e4a67
.NET: Add missing OpenAI GetAIAgent extensions ( #690 )
...
* Wip
* Add missing extensions for OpenAI agents
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Remove duplicate xmldoc
* Address comment
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-16 15:06:48 +00:00
westey and GitHub
66fe1c957c
.NET: Add AIContextProvider support ( #691 )
...
* Add AIContextProvider support
* Address feedback.
* Address PR comments.
* Switch to valuetask and remove parallel calls for AIContextProvider
* Remove Model from ModelInvokingAsync method name
* Remove agent thread id again and remove it from context provider interface
* Add AIContextProvider serialization support to AgentThread and update sample to show this feature
* Address PR comments
* Improve memory sample
* Update sample comment.
* Remove AggregateAIContextProvider for now since it makes too many assumptions. We can include it later as a sample if needed.
* Update AIContextProviders to have an Invoked method instead of MessagesAddingAsync.
* Remove unused using.
* Address PR comments.
* Address PR comment.
* Update comment.
* Update comment
* Address PR comments.
2025-09-16 09:54:18 +00:00
fb513c38a6
.NET Workflow - Declarative State Consolidation ( #759 )
...
* 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
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Tao Chen <taochen@microsoft.com >
2025-09-16 03:09:12 +00:00
Stephen Toub and GitHub
a0664201e2
Use LangVersion 13 rather than 12 ( #760 )
2025-09-16 02:49:00 +00:00
Dmytro Struk and GitHub
e7cd03b32e
Python: Added Copilot Studio Agent ( #722 )
...
* Small fix in dotnet conformance tests
* Added CopilotStudioAgent implementation
* Added examples
* Updated package README
* Small fixes
* Small improvements
* Fixed dotnet tests
* Add unit tests
* Updated tests
* Small updates
* Small test fixes
* Revert "Small test fixes"
This reverts commit 983ac44a70 .
* Small fixes in documentation
* Updated test configuration
* Revert "Updated test configuration"
This reverts commit 2a16fea815 .
* Small fix
* Reverted TODO item
* Small suppressions
* More fixes
* Small fixes
* Fixed tests
* Removed disallow_any_unimported rule in all packages
* Fixes
2025-09-15 23:21: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
Ben Thomas and GitHub
e1e5100afe
Removing fallback to DefaultAzureCredential outside of testing. ( #755 )
2025-09-15 16:55:28 +00:00
636e3acf37
.NET: [BREAKING] Change implementation to use AsFunctionTool extension method to create a function from an agent ( #686 )
...
* Change implementation to use AsFunctionTool extension method to create a function from an agent
* Update dotnet/tests/Microsoft.Extensions.AI.Agents.UnitTests/AgentExtensionsTests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address code review feedback and add a new sample
* Address some code review feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-15 08:39:38 +00:00
Jianguo Ma and GitHub
2a75482777
.NET: Fix Semantic Kernel migration samples ( #739 )
...
* use GetOpenAIResponseClient
Signed-off-by: Jianguo Ma <jiangma@microsoft.com >
* use PersistentAgentsClient
Signed-off-by: Jianguo Ma <jiangma@microsoft.com >
---------
Signed-off-by: Jianguo Ma <jiangma@microsoft.com >
2025-09-15 07:49:41 +00:00
westey and GitHub
8af4918f56
.NET: BREAKING Update AIAgent.Run to take IEnumerable instead of IReadonlyCollection ( #729 )
...
* Update AIAgent,Run to take IEnumerable instead of IReadonlyCollection
* Address PR comment.
* Cast to IReadonlyCollection since this is typically all that is required to avoid unecessary allocation.
* Update OrchestratingAgent protected methods as well.
2025-09-12 14:58:46 +00:00
44a248addb
Bump FluentAssertions from 8.5.0 to 8.6.0 ( #709 )
...
---
updated-dependencies:
- dependency-name: FluentAssertions
dependency-version: 8.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-12 12:48:16 +00:00
d4cc254b0b
Bump Microsoft.Agents.CopilotStudio.Client from 1.1.151 to 1.2.41 ( #710 )
...
---
updated-dependencies:
- dependency-name: Microsoft.Agents.CopilotStudio.Client
dependency-version: 1.2.41
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-12 12:11:08 +00:00
d54b0f0849
Bump Microsoft.ML.OnnxRuntimeGenAI from 0.9.0 to 0.9.1 ( #712 )
...
---
updated-dependencies:
- dependency-name: Microsoft.ML.OnnxRuntimeGenAI
dependency-version: 0.9.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-09-12 11:24:56 +00:00
westey and GitHub
3c0926b670
.NET: Add support for IChatReducer to InMemoryChatMessageStore ( #462 )
...
* Add support for IChatReducer to InMemoryChatMessageStore
* Fix typos.
2025-09-11 17:17:53 +00:00
Roger Barreto and GitHub
e91b6b08ce
.NET: Adding Delegating AIAgent ( #708 )
...
* Delegating AIAgent impl
* Warning fix
* Fix duplicate
2025-09-11 10:38:29 +00:00
Stephen Toub and GitHub
f9e133237d
Update M.E.AI and delete a bunch of dead code ( #676 )
2025-09-11 00:40:58 +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
Roger Barreto and GitHub
2393351a03
.NET: Adding Image Multi Modality Sample ( #688 )
...
* Adding Multi Modal Sample
* Address typos
* Update sample to Azure OpenAI
* Update readme
* Update readme
* Update readme
* Use thread
2025-09-10 18:34:08 +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
Jacob Alber and GitHub
3b81164a6d
.NET: fix: MessageMerger crashes when there are no dangling messages ( #660 )
...
* fix: MessageMerger crashes when there are no dangling messages
* refactor: Better logic for AgentId in Workflow-as-Agent
If the parent "agent" instance received an Id or Name when being instantiated, we should avoid stomping over it with the subagents' ids. But if there is no parent identifier, and only a single subagent yielded identified messages, pull that in.
2025-09-10 06:10:30 +00:00
7786e2f405
.NET: Add getting started samples that show how to call MCP tools ( #635 )
...
* Add getting started samples that show how to call MCP tools
* Add getting started samples that show how to call MCP tools
* Update dotnet/samples/GettingStarted/ModelContextProtocol/Agent_MCP_Server_Auth/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix README
* Address code review feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-10 05:52:30 +00:00
Chris and GitHub
0fa6883691
Clean-up ( #677 )
2025-09-09 22:29:25 +00:00
Mark Wallace and GitHub
745a05d43c
.NET: Add an A2A client server sample ( #633 )
...
* Add an A2A client server sample
* Address code review feedback
* Start to fix code review feedback
* Start to fix code review feedback
* Start to fix code review feedback
2025-09-09 17:03:10 +00:00
westey and GitHub
ec5ea3c8a8
.NET: Remove AgentThread.GetMessagesAsync ( #668 )
...
* Remove AgentThread.GetMessagesAsync
* Remove unecessary using
2025-09-09 16:40:07 +00:00
5c3c2fe634
.NET: Multiple fixes in Microsoft.Agents.Orchestration to make handoffs work end-to-end ( #568 )
...
* Multiple fixes in Microsoft.Agents.Orchestration:
- Enable multi-turn (via RunAsync) interactions for all orchestrating agents
- Fix tool calling in HandoffOrchestration (multiple issues)
- Fixes for chat history serialization involving tool calls
* GHCP PR feedback
* Fix issue with returning old responses
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-09-09 15:23:00 +00:00
b2a6b64d72
.NET: Add Ollama and custom agent samples, plus ONNX improvements ( #639 )
...
* Add ollama and custom agent samples, plus onnx improvements
* Update dotnet/samples/GettingStarted/AgentProviders/Agent_With_CustomImplementation/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address PR comments.
* Address pr comments.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-09 11:04:31 +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
Jacob Alber and GitHub
e8f1f4e785
fix: Fix Checkpoint Restore when Rehydrating Run ( #642 )
...
When checkpointing we did not persist the set of instantiated executors. This means, in turn, when we restore from a checkpoint when using Resume(Stream) rather than restoring a checkpoint in the context of an already existing (Streaming)Run, the executors never got reinstantiated and there were no executors to notify that a state should be loaded.
The fix is to ensure we persist the list and reinstantiate the executors on rehydration.
* Also adds a rehydration restore test
2025-09-08 19:22:41 +00:00
Jacob Alber and GitHub
0cae1e0adf
.NET: Improve DevEx for simple Executors ( #626 )
...
* feat: Improve DevEx for simple Executors
* Add abstract types for executors that will only handle one type of message
* Add FunctionExecutor and configuration capability on delegates
* Add support for late-instantiated Executors
* refactor: Remove open-typed extension method
* refactor: Switch to TaskFactory pattern for async--from-sync
* docs: Update XML docs for publics and fix formatting
* refactor: Better naming for ExecutorIsh configuration methods
* docs: Fix typo in ExecutorIshConfigurationExtensions.ConfigureFactory
2025-09-08 19:11:53 +00:00
Tao Chen and GitHub
cd0587c5f6
.NET: Workflow getting started samples in .Net (First batch) ( #554 )
...
* First batch of workflow getting started samples in .Net
* Add Switch Case Edge group
* Add multi selection group
* Add comments
* Add readme
* Fix formatting
* clean project file
* WIP: Revise sample structures
* Update readme
* Update readme
* Fix file encoding
* Update sample format
* Address comments
* Fix formatting
* Remove unwanted file
* Fix unit tests
* Remove unwanted file
2025-09-05 19:10:00 +00:00
e1fda51d6a
Fix the environment variable name used for the model id ( #622 )
...
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com >
2025-09-05 17:09:47 +00:00
Roger Barreto and GitHub
8d13809922
Remove the ambiguity by removing extensions for chat options ( #620 )
2025-09-05 14:19:39 +00:00
dbc961c869
.NET: AI agent as an MCP tool ( #612 )
...
* add sample demostrating how to expose ai-agent as an mcp tool
* Update dotnet/samples/GettingStarted/Agents/Agent_Step10_AsMcpTool/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Agents/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* remove threadId parameter
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-05 09:57:30 +00:00