Stephen Toub and GitHub
52790b9f6a
Add AgentWorkflowBuilder with Sequential, Concurrent, Handoff ( #792 )
2025-09-19 19:16:07 +00:00
aba094b5cf
Python: [BREAKING] Python: Make executor ID required, improvements around handling rehydrating checkpoints ( #832 )
...
* Make executor ID required, improvements around handling rehydrating checkpoints.
* Duplicate executor validation added
* fix remaining issues
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com >
2025-09-19 18:57:09 +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
965918b883
Python: Fix: Add meaningful error message when graphviz binary is not installed ( #826 )
...
* Initial plan
* Fix: Add meaningful error message for missing graphviz binary
Co-authored-by: ekzhu <320302+ekzhu@users.noreply.github.com >
* Fix CI error: Make graphviz test conditional to avoid import errors
Co-authored-by: ekzhu <320302+ekzhu@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: ekzhu <320302+ekzhu@users.noreply.github.com >
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com >
2025-09-19 05:56:49 +00:00
Eric Zhu and GitHub
367a3275d1
Fix typo 'lighting' --> 'lightning'; update labler ( #823 )
2025-09-19 02:17:12 +00:00
99860a5d07
Python: Agent and Function middleware ( #770 )
...
* Initial middleware implementation
* Small fixes
* Small updates
* Small updates in samples
* Moved middleware functionality to decorator
* Removed obsolete file
* Renamed AgentInvocationContext to AzureRunContext
* Added unit tests
* Small settings update for test discovery in VS Code
* Added unit tests
* Reverted changes in environment settings
* Added context result override
* Renaming and updates to logic
* Added more samples
* Updated DEV_SETUP.md
* Addressed PR feedback
* Addressed PR feedback
* Removed unused parameter
* Small fix
* Small fix in telemetry logic
* Revert "Small fix in telemetry logic"
This reverts commit 6f82660d2d .
* Small fix
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-09-18 23:30:05 +00:00
538be4c149
Update link for Orchestration Samples in README ( #825 )
...
Fix broken link to sample
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-09-18 22:03:06 +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
960196cd52
Python: Workflow event source updates ( #789 )
...
* Workflow event source updates
* Add WorkflowLifecycleEvent TypeAlias. Update docstrings
* Updates
* Rename
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-09-18 15:17:55 +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
1dba779f76
Python: Enhance tool call handling and function result processing ( #790 )
...
* Tool call enhancement
* add tests
* fix comments
* resolve comments
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com >
2025-09-18 04:13:30 +00:00
4c80e7017d
Python: Fix falsy values being filtered out in ChatOptions.to_provider_settings ( #787 )
...
* Python: Fix temperature=0 filtered out in chat options
* fix failing tests
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-09-18 03:57:37 +00:00
Stephen Toub and GitHub
5e5761b288
Enable more analyzers and various code tweaks/cleanup ( #738 )
2025-09-18 01:48:25 +00:00
f3264966ff
Python: Fix Multimodal input bug ( #799 )
...
* fix multimodal bug python
* update file names
* precommit fixes
* Update python/samples/getting_started/multimodal_input/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* udpate readme
* add copyright line, remove audio example function
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-17 21:44:42 +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
3050c8c8bd
Python: Add base_url support to OpenAI settings and improve initialization ( #788 )
...
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-09-17 07:56:11 +00:00
Eric Zhu and GitHub
a1b0a28f9c
Python: Introduce Agent Framework Lab with GAIA Benchmark and Lighting project for RL ( #719 )
...
* prepare eval package
* add gaia benchmark to eval package
* update telemetry
* renaming
* organization
* organize into namespace packages; rename to labs
* update cookie cutter instruction
* update gaia runner
* use temp directory
* Rename "labs" --> "lab"
* update
* update gaia sample
* update status
* Add lighting project
* Add listing for lighting
2025-09-17 05:59:21 +00:00
a7e35a4fea
Bump actions/setup-dotnet from 4.3.1 to 5.0.0 ( #746 )
...
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet ) from 4.3.1 to 5.0.0.
- [Release notes](https://github.com/actions/setup-dotnet/releases )
- [Commits](https://github.com/actions/setup-dotnet/compare/v4.3.1...v5.0.0 )
---
updated-dependencies:
- dependency-name: actions/setup-dotnet
dependency-version: 5.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-09-17 03:46:51 +00:00
024722373e
Bump danielpalme/ReportGenerator-GitHub-Action from 5.4.11 to 5.4.13 ( #745 )
...
Bumps [danielpalme/ReportGenerator-GitHub-Action](https://github.com/danielpalme/reportgenerator-github-action ) from 5.4.11 to 5.4.13.
- [Release notes](https://github.com/danielpalme/reportgenerator-github-action/releases )
- [Commits](https://github.com/danielpalme/reportgenerator-github-action/compare/5.4.11...5.4.13 )
---
updated-dependencies:
- dependency-name: danielpalme/ReportGenerator-GitHub-Action
dependency-version: 5.4.13
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-17 03:46:33 +00:00
2de6855bf6
Bump actions/github-script from 7 to 8 ( #743 )
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 7 to 8.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v7...v8 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-version: '8'
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-09-17 03:46:13 +00:00
a5cf64b979
Bump actions/checkout from 4 to 5 ( #744 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
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-09-17 03:45:58 +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
6b91d41a73
Python: Add Entra ID Credentials Support for Azure Monitor Telemetry ( #778 )
...
* Adds Azure Monitor Entra ID authentication support
Enables token-based authentication for Application Insights by adding an optional credential parameter to telemetry setup functions.
* Fix linting errors
* Documentation: Add Entra ID authentication details to README for Application Insights
* Documentation: Add Entra ID authentication details to README for Application Insights
* Update python/packages/main/agent_framework/telemetry.py
Co-authored-by: Eduard van Valkenburg <eavanvalkenburg@users.noreply.github.com >
* Update python/samples/getting_started/telemetry/README.md
Co-authored-by: Eduard van Valkenburg <eavanvalkenburg@users.noreply.github.com >
* Update python/packages/main/agent_framework/telemetry.py
Co-authored-by: Eduard van Valkenburg <eavanvalkenburg@users.noreply.github.com >
* Rename application_insights_credential to credential
---------
Co-authored-by: Eduard van Valkenburg <eavanvalkenburg@users.noreply.github.com >
2025-09-16 16:42:04 +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
Evan Mattson and GitHub
732d9f6cd7
Python: [BREAKING] Move workflow to main package ( #767 )
...
* Move workflow to main package
* Remove workflow specific unit test config
* Remove workflow-specific version info
* Revert unintended telemetry changes
* Removed the obsolete packages/workflow/tests target
* Rename dir workflow to _workflow
* Fix test imports
2025-09-16 12:04:07 +00:00
Eduard van Valkenburg and GitHub
65dd48aa1d
Python: api doc generation setup ( #342 )
...
* api doc generation setup
* remove old log file
* improved check md function
* update with sample code in docstring
* updated script
* docs update
* docs update and action
* removed all-extras
* fixed sync command
* moved install
* moved action
* renamed folder
* fixed syntax
* add python path
* fix mypy and reused steps
* updated merge test
* undo change
* slight update in poe commands
* dev setup update
* updated uvlock
2025-09-16 10:02:53 +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
Eduard van Valkenburg and GitHub
89cb94b5c2
replaced HEADERS with user_agent ( #732 )
2025-09-16 07:57:37 +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
Evan Mattson and GitHub
5c0b037e2c
Python: Add Sequential orchestration builder support. Samples. Tests. ( #703 )
...
* Add support for the Sequential Builder. Add samples. Add tests
* AgentExecutor: always compute full convo during response
* Upgrade azure-ai-agents ToolOutput to FunctionToolOutput
* Explicit notes around allows types for custom agent executors
2025-09-16 01:52:34 +00:00
Evan Mattson and GitHub
68b76e6726
Python: Workflow run state and structured error events, sample updates, tests ( #725 )
...
* Add workflow event types to surface workflow state, status, and failures.
* Address PR feedback
* Updates to use new workflow run state enums
2025-09-16 01:36:25 +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
Eduard van Valkenburg and GitHub
db58a10a37
Python: added args and results to function call span ( #733 )
...
* added args and results to function call span
* add ignores for mypy
* improved serialization
* also add None result
* improved handling
* log args when None
* slight tweak
* fix tests
2025-09-15 18:28:01 +00:00
Eduard van Valkenburg and GitHub
ba9a1a61e1
enable uv ecosystem for dependabot ( #751 )
2025-09-15 18:16:26 +00:00
Ben Thomas and GitHub
e1e5100afe
Removing fallback to DefaultAzureCredential outside of testing. ( #755 )
2025-09-15 16:55:28 +00:00
0715e0f8d3
.NET: Python: OpenAI Responses Agent Completeness ( #721 )
...
* OpenAI Responses Agent Completeness
* prepare options
* added unit tests
* azure responses test fix
* resolved conflict
* pre commit fix
* Revert "Merge remote changes and resolve conflicts"
This reverts commit 56787f25a4 , reversing
changes made to f71a27ebfe .
* Fixes
* azure responses file search fix
* Fix corrupted uv.lock file
---------
Co-authored-by: Giles Odigwe <gilesodigwe@microsoft.com >
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com >
2025-09-15 16:19:53 +00:00
westey and GitHub
674a514cae
Add user approval ADR document ( #731 )
...
* Add user approval adr
* Address PR comments
2025-09-15 10:45:27 +00:00
Evan Mattson and GitHub
d00538eb26
Foundry client ToolOutput to FunctionToolOutput ( #749 )
2025-09-15 09:06:43 +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