+29
a5b36dc379
Python: [Durabletask] Update feature-durabletask-python branch with main ( #3068 )
...
* Python: Add factory pattern to concurrent orchestration builder (#2738 )
* Add factory pattern to concurrent orchestration builder
* Update readme
* Address AI comments
* Fix unit tests
* Fix import
* Prevent multiple calls to set participants or factories
* Add comments
* Mitigate warnings
* Fix mypy
* Address comments
* Address Copilot comments
* Fix tests
* Python: fix: GroupChat ManagerSelectionResponse JSON Schema for OpenAI Structured Outpu… (#2750 )
* fix: ManagerSelectionResponse JSON Schema for OpenAI Structured Output Strict Mode
* refactor: install pre-commit then commit again
* Capture file IDs from code interpreter in streaming responses (#2741 )
* .NET: [BREAKING] Prevent nulls in AIAgent property (#2719 )
* prevent nulls in AIAgent property
* address feedback
* code ql sm04598 (#2723 )
Co-authored-by: Mark Wallace <127216156+markwallace-microsoft@users.noreply.github.com >
* .NET: Add Conversation State Sample (Step05) (#2697 )
* Initial plan
* Add Agent_OpenAI_Step05_Conversation sample for conversation state management
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Update Program.cs comment to accurately describe the sample
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Update the code to use the ConversationClient more in line with the samples in OpenAI
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Changing sample to use ChatClientAgent and conversationId in GetNewThread
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Bump AWSSDK.Extensions.Bedrock.MEAI from 4.0.4.7 to 4.0.4.11 (#2777 )
---
updated-dependencies:
- dependency-name: AWSSDK.Extensions.Bedrock.MEAI
dependency-version: 4.0.4.11
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>
* Bump Azure.Identity from 1.17.0 to 1.17.1 (#2780 )
---
updated-dependencies:
- dependency-name: Azure.Identity
dependency-version: 1.17.1
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: Azure.Identity
dependency-version: 1.17.1
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: Azure.Identity
dependency-version: 1.17.1
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: Azure.Identity
dependency-version: 1.17.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>
* Bump Azure.AI.AgentServer.AgentFramework from 1.0.0-beta.4 to 1.0.0-beta.5 (#2778 )
---
updated-dependencies:
- dependency-name: Azure.AI.AgentServer.AgentFramework
dependency-version: 1.0.0-beta.5
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: Azure.AI.AgentServer.AgentFramework
dependency-version: 1.0.0-beta.5
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: Azure.AI.AgentServer.AgentFramework
dependency-version: 1.0.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>
* Python: added more complete parsing for mcp tool arguments (#2756 )
* added more complete parsing for mcp tool arguments
* fixed mypy
* added nonlocal model counter, and some fixes
* fixes in naming logic
* extracted json parsing function, added parametrized test and checked coverage
* Python: Updated package versions (#2784 )
* Updated package versions
* Small fix
* Bump actions/checkout from 5 to 6 (#2404 )
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5 to 6.
- [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/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
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>
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
* .NET: adds support for labels in edges, fixes rendering of labels in dot a… (#1507 )
* adds support for labels in edges, fixes rendering of labels in dot and mermaid, adds rendering of labels in edges
* Update dotnet/src/Microsoft.Agents.AI.Workflows/Visualization/WorkflowVisualizer.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* escaping edge labels, adding tests for labels containing strange characters that would break the diagram and enabling the previous signature so the API has backwards compatibility.
* Unify label in EdgeData
* Edge API adjustments, removed useless "sanitizer"
* fixed test
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Jacob Alber <jaalber@microsoft.com >
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
* Python: Added custom args and thread object to ai_function kwargs (#2769 )
* Added an example of using kwargs in ai_function
* Added thread object to ai_function kwargs
* Updated docs
* Small fix
* Added thread parameter filtering
* Fix WorkflowAgent to include thread convo history. Enable checkpointing. (#2774 )
* Update OpenAIResponses.yaml to match AgentSchema (#2598 )
1. Update `connection` child types -- `kind: ApiKey` to `kind: key` otherwise schema will fail: https://microsoft.github.io/AgentSchema/reference/apikeyconnection/
2. Update `outputSchema`'s `PropertySchema` to be `kind` instead of `type` otherwise schema will fail: https://microsoft.github.io/AgentSchema/reference/propertyschema/
* Python: Remove warnings from workflow builder on not using factories (#2808 )
* Revert concurrent
* Fix comments
* Python: Filter framework kwargs from MCP tool invocations (#2870 )
* Filter framework kwargs from MCP tool invocations
* Fixes
* Python: Fix WorkflowAgent to emit yield_output as agent response (#2866 )
* Fix WorkflowAgent to emit yield_output as agent response
* use raw_representation
* Raw representation handling
* Python: Use agent description in HandoffBuilder auto-generated tools (#2713 ) (#2714 )
## Summary
Enhanced `HandoffBuilder._apply_auto_tools` to use the target agent's
description when creating handoff tools, providing more informative tool
descriptions for LLMs.
## Changes
- Modified `_apply_auto_tools` to extract `description` from
`AgentExecutor._agent` when available
- Updated iteration to use `.items()` for more efficient dict traversal
- Handoff tools now use agent descriptions instead of generic placeholders
## Example
Before: "Handoff to the refund_agent agent."
After: "You handle refund requests. Ask for order details and process refunds."
## Testing
- All handoff tests pass (20/20)
- No breaking changes to existing API
Fixes #2713
Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com >
* Python: [BREAKING] Observability updates (#2782 )
* fixes Python: Add env_file_path parameter to setup_observability() similar to AzureOpenAIChatClient
Fixes #2186
* WIP on updates using configure_azure_monitor
* improved setup and clarity
* fixed root .env.example
* revert changes
* updated files
* updated sample
* updated zero code
* test fixes and fixed links
* fix devui
* removed planning docs
* added enable method and updated readme and samples
* clarified docstring
* add return annotation
* updated naming
* update capatilized version
* updated readme and some fixes
* updated decorator name inline with the rest
* feedback from comments addressed
* Python: Fix middleware terminate flag to exit function calling loop immediately (#2868 )
* Fix middleware terminate flag to exit function calling loop immediately
* Eliminating duck typing
* Improve function exec result handling
* Fix race condition
* Fix mypy issues
* Python: Fix context duplication in handoff workflows when restoring from checkpoint (#2867 )
* Fix context duplication in handoff workflows when restoring from checkpoint
* Address Copilot PR review
* .NET: Update to latest Azure.AI.*, OpenAI, and M.E.AI* (#2850 )
* Update to latest Azure.AI.*, OpenAI, and M.E.AI*
Absorb breaking changes in Responses surface area
* Update dotnet/samples/AgentWebChat/AgentWebChat.AgentHost/Utilities/ChatClientExtensions.cs
* Update dotnet/samples/AgentWebChat/AgentWebChat.AgentHost/Utilities/ChatClientExtensions.cs
* Update dotnet/samples/AgentWebChat/AgentWebChat.AgentHost/Utilities/ChatClientExtensions.cs
* Update dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step04_CreateFromOpenAIResponseClient/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Using patch to remove the model is necessary, updated the response client to actually use the the ForAgent
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
* Bump actions/download-artifact from 6 to 7 (#2862 )
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '7'
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>
* Bump actions/cache from 4 to 5 (#2861 )
Bumps [actions/cache](https://github.com/actions/cache ) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/cache
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>
* Bump actions/upload-artifact from 5 to 6 (#2860 )
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '6'
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>
* Python : Ollama Connector for Agent Framework (#1104 )
* Initial Commit for Olama Connector
* Added Olama Sample
* Add Sample & Fixed Open Telemetry
* Fixed Spelling from Olama to Ollama
* remove"opentelemetry-semantic-conventions-ai ~=0.4.13" since its handled in a different pr
* Added Tool Calling
* Finalizing test cases
* Adjust samples to be more reliable
* Update python/packages/ollama/agent_framework_ollama/_chat_client.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/packages/ollama/pyproject.toml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/packages/ollama/tests/test_ollama_chat_client.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/packages/ollama/agent_framework_ollama/_chat_client.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Improved Docstrings & Sample
* Update python/packages/ollama/agent_framework_ollama/_chat_client.py
Co-authored-by: Eduard van Valkenburg <eavanvalkenburg@users.noreply.github.com >
* Integrate PR Feedback
- Divided Streaming and Non-Streaming into independent Methods
- Catch Ollama Validation Error
- Add OTEL Provider Name
- Checked Ollama Messages
- Add Usage Statistics
* Revert setting, so it can be none
* Validate Message formatting between AF and Ollama
* Catch Ollama Error and raise a ServiceResponse Error
* Fix mypy error
* remove .vscode comma
* Add Reasoning support & adjust to new structure
* Add Ollama Multimodality and Reasoning
* Add test cases for reasoning
* Add Tests for Error Handling in Ollama Client
* Update python/samples/getting_started/multimodal_input/ollama_chat_multimodal.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Integrated Copilot Feedback
* Implement first PR Feedback
* Adjust Readme files for examples
* Adjust argument passing via additional chat options
* Implemented PR Feedback
* Removing Ollama Package from Core and moving samples
* Fix Link & Adding Samples to Main Sample Readme
* Fixing Links in Readme
* Moved Multimodal and Chat Example
* Fixed Link in ChatClient to Ollama
* Fix AgentFramework Links in Ollama Project
* Fix observability breaking change
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Eduard van Valkenburg <eavanvalkenburg@users.noreply.github.com >
* Skip failing IT (#2904 )
* .NET: Cosmos DB UT Fast Skip (For Non-Configured Local envs) (#2906 )
* Cosmos DB UT Fast Skip (Non-Configured Local envs) + Long running UT skip in pipeline when no CosmosDB changes happened
* Force a CosmosDB source code change to trigger the pipeline
* Address possible string boolean mismatch
* Add debug
* Enabling emulator always when running IT
* .NET: Add TTLs to durable agent sessions (#2679 )
* .NET: Add TTLs to durable agent sessions
* Remove unnecessary async
* PR feedback: clarify UTC
* PR feedback: limit minimum signal delay to <= 5 minutes
* PR feedback: Fix TTL disablement
* Linter: use auto-property
* Fix build break from OpenAI SDK change
* Updated CHANGELOG.md
* PR feedback
* Reduce default TTL to 14 days to work around DTS bug
* Python: Update Mem0Provider to use v2 search API `filters` parameter (#2766 )
* short fix to move id parameters to filters object
* added tests
* small fix
* mem0 dependency update
* Updated package versions (#2913 )
* .NET: Switch to new "Run" method name. (#2843 )
* Switch to new "RunAgent" method name.
* Try to disable false positive naming warning.
* Add comment about disabled warnings.
* Rename `RunAgent` to just `Run`.
* Update CHANGELOG.
* Python: Switch to new "run" method name. (#2890 )
* Switch to `run` method.
* Add support for deprecated `run_agent`.
* Fix entity method name.
* Fix method name and improve tests.
* Update comment.
* Update Python CHANGELOG.
* [BREAKING] Python: Add factory pattern to handoff orchestration builder (#2844 )
* WIP: Factory pattern to handoff
* Add factory pattern to concurrent orchestration builder; Next: tests and sample verification
* Add tests and improve comments
* Fix mypy
* Simplify handoff_simple.py
* Simplify handoff_autonoumous.py and bug fix
* Update readme
* Address Copilot comments
* Python: Flow custom kwargs to agents via Workflow SharedState (#2894 )
* Flow custom kwargs to agents via SharedState
* Address Copilot feedback
* Improve sample typing
* Fix test
* Fix Pydantic error when using Literal type for tool params (#2893 )
* Updated Ollama package version (#2920 )
* Python: Azure AI Agent with Bing Grounding Citations Sample (#2892 )
* bing grounding sample with citations
* small fix
* fix
* .NET: Make DelegatingAIAgent abstract (#2797 )
* Initial plan
* Make DelegatingAIAgent abstract
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Added additional arguments for Azure AI agent (#2922 )
* Python: Correction of MCP image type conversion in _mcp.py (#2901 )
* Correction of MCP image type conversion in _mcp.py
* Added a new overload to the init function of the DataContent() type of the Agent Framework, edited the test case to correctly test the usage of the data and uri fields while using DataContent()
* Fixed tests related to the changes of the DataContent type, added testing for both string and byte representations
* Pass kwargs into subworkflows (#2923 )
* Python: Move ollama samples to samples getting started dir (#2921 )
* Move ollama samples to samples getting started dir
* Address feedback
* Python: fix: correct BadRequestError when using Pydantic model in response_fo… (#1843 )
* fix: correct BadRequestError when using Pydantic model in response_format
* Fix lint
---------
Co-authored-by: Evan Mattson <evan.mattson@microsoft.com >
* .NET: [Breaking] Delete display name property (#2758 )
* delete the AIAgent.DisplayName property
* use agent name as a first value for activity display name
* Update dotnet/src/Microsoft.Agents.AI.Workflows/Specialized/HandoffAgentExecutor.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Python: cleanup and refactoring of chat clients (#2937 )
* refactoring and unifying naming schemes of internal methods of chat clients
* set tool_choice to auto
* fix for mypy
* added note on naming and fix #2951
* fix responses
* fixes in azure ai agents client
* Python: Workflow add option to visualize internal executors (#2917 )
* Workflow add option to visualize internal executors
* Address Copilot comments
* Python: Fixes Run ID and Thread ID casing to align with AG-UI Typescript SDK (#2948 )
* added camelCase input to run id and thread id aligning with @ag-ui/core
* fixed per copilot suggestions
* Python: Add workflow cancellation sample (#2732 )
* Add workflow cancellation sample
Add sample demonstrating how to cancel a running workflow using asyncio
tasks. Shows both cancellation mid-execution and normal completion paths.
Useful for implementing timeouts, graceful shutdown, or A2A executors.
* update docstring
* .NET: Update Anthropic package to version 12.0.0 (#2914 )
* Initial plan
* Update Anthropic package to version 12.0.0
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com >
* Python: Add Azure Managed Redis Support with Credential Provider (#2887 )
* azure redis support
* small fixes
* azure managed redis sample
* fixes
* Bump CommunityToolkit.Aspire.OllamaSharp from 13.0.0-beta.440 to 13.0.0 (#2856 )
---
updated-dependencies:
- dependency-name: CommunityToolkit.Aspire.OllamaSharp
dependency-version: 13.0.0
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>
* Bump AWSSDK.Extensions.Bedrock.MEAI from 4.0.4.11 to 4.0.5 (#2853 )
---
updated-dependencies:
- dependency-name: AWSSDK.Extensions.Bedrock.MEAI
dependency-version: 4.0.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>
Co-authored-by: Mark Wallace <127216156+markwallace-microsoft@users.noreply.github.com >
* Bump Azure.AI.AgentServer.AgentFramework from 1.0.0-beta.4 to 1.0.0-beta.5 (#2854 )
---
updated-dependencies:
- dependency-name: Azure.AI.AgentServer.AgentFramework
dependency-version: 1.0.0-beta.5
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: Azure.AI.AgentServer.AgentFramework
dependency-version: 1.0.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>
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
* Python: Fix WorkflowAgent event handling and kwargs forwarding (#2946 )
* Fix kwargs propagation through workflow.as_agent()
* Fix WorkflowAgent to respect AgentExecutor output_response setting
* .NET: Use GrpcEntityRunner instead of TaskEntityDispatcher (#2759 )
* Use GrpcEntityRunner instead of TaskEntityDispatcher
* Pin to Durable worker 1.11.0
* Set the invocation result
* Update all Durable packages
* Update changelog, rename dispatcher to encondedEntityRequest
* Python: Bump Py version to 1.0.0b251218 for a release. Update CHANGELOG (#2968 )
* Bump Py version to 1.0.0b251218 for a release. Update CHANGELOG
* update lock
* Fix formatting
* Fix ChatKit typing
* Python: Introducing Foundry Local Chat Clients (#2915 )
* redo foundry local chat client
* fix mypy and spelling
* better docstring, updated sample
* fixed tests and added tests
* small sample update
* Updated package versions (#2978 )
* Python: Added GitHub MCP sample with PAT (#2967 )
* added github mcp sample with PAT
* addressed copilot fixes
* env fix
* Python: Preserve reasoning blocks with OpenRouter (#2950 )
* Preserve reasoning blocks with OpenRouter
* Put encrypted reasoning in TextReasoningContent
* Remove unneccessary change
* Fix docs
* Support streaming
* Fix handling None in TextReasoningContent.text
* Python: Added response.created and response.in_progress event process to OpenAIBaseResponseClient (#2975 )
* added response.created and response.in_progress to include response.id
* better doc string
* added tests for the new streaming event types
* Python: Introducing support for Bedrock-hosted models (Anthropic, Cohere, etc.) (#2610 )
* Pushing the bedrock related changes to the new branch after addressing the review comments
* 2524 Addressed the second round review comments
* 2524 Addressed few more minor comments on the PR
* resolving the merge conflict
* 2524 resolved the uv.lock conflicts
* 2524 addressed more comments
* 2524 removed the print statement to fix the checks failure
* 2524 resolved the CI failure issues
* 2524 fixing the CI breaks
* 2524 Addressed the review comment
* 2524 resolved conflict
---------
Co-authored-by: Sunil Dutta <sunil.dutta@penske.com >
Co-authored-by: budgetboardingai <apurva.sharma31@gmail.com >
* .NET: [Durable Agents] Reliable streaming sample (#2942 )
* .NET: [Durable Agents] Reliable streaming sample
* Add automated validation for new sample
* Address Copilot PR feedback
* Fix typo in README.md about agent definitions (#2634 )
* Fix typo in README.md about agent definitions
* Update agent-samples/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Python: latency improvements (#3014 )
* latency improvements
* fixed mypy, added coding standards and instructions
* slight logic improvement
* Python: Updated package versions (#3024 )
* Updated package versions
* Updated changelog
* Python: add powerfx safe mode (#3028 )
* add powerfx safe mode
* improved docstring and aligned env_file loading
* ensured test uses reset
* .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 >
* Remove from feature branch
* Remove ollama changes
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Tao Chen <taochen@microsoft.com >
Co-authored-by: Kurt <65111699+q33566@users.noreply.github.com >
Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com >
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
Co-authored-by: Korolev Dmitry <deagle.gross@gmail.com >
Co-authored-by: Mark Wallace <127216156+markwallace-microsoft@users.noreply.github.com >
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eduard van Valkenburg <eavanvalkenburg@users.noreply.github.com >
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com >
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
Co-authored-by: Jose Luis Latorre Millas <joslat@gmail.com >
Co-authored-by: Jacob Alber <jaalber@microsoft.com >
Co-authored-by: Richard Ortega <richardjortega@gmail.com >
Co-authored-by: 刘邦学AI <lbbniu@gmail.com >
Co-authored-by: Stephen Toub <stoub@microsoft.com >
Co-authored-by: Nico Möller <nkm-moeller@mail.de >
Co-authored-by: Chris Gillum <cgillum@microsoft.com >
Co-authored-by: Giles Odigwe <79032838+giles17@users.noreply.github.com >
Co-authored-by: Phillip Hoff <phillip.hoff@gmail.com >
Co-authored-by: Ege Ozan Özyedek <36128615+egeozanozyedek@users.noreply.github.com >
Co-authored-by: samueljohnsiby <66901393+samueljohnsiby@users.noreply.github.com >
Co-authored-by: Evan Mattson <evan.mattson@microsoft.com >
Co-authored-by: Hao Luo <338265+howlowck@users.noreply.github.com >
Co-authored-by: Victor Dibia <chuvidi2003@gmail.com >
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com >
Co-authored-by: Jacob Viau <javia@microsoft.com >
Co-authored-by: SuperKenVery <39673849+SuperKenVery@users.noreply.github.com >
Co-authored-by: Sunil Dutta <dutta.2003@gmail.com >
Co-authored-by: Sunil Dutta <sunil.dutta@penske.com >
Co-authored-by: budgetboardingai <apurva.sharma31@gmail.com >
Co-authored-by: Syrine Chelly <62653967+SyChell@users.noreply.github.com >
Co-authored-by: SergeyMenshykh <sergemenshikh@gmail.com >
2026-01-02 13:13:37 -08:00
Laveesh Rohra and GitHub
87a38bc7da
Python: Rebase durable task feature branch with main ( #2806 )
2025-12-17 14:02:36 -08:00
0d9ae1920d
.NET: use valid Gemini model ( #2695 )
...
* use proper Gemini model
* use named parameters
---------
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
2025-12-10 12:23:06 +00:00
Stephen Toub and GitHub
b01fd23cd2
Update analyzers for .NET 10 SDK ( #2611 )
2025-12-10 10:34:56 +00:00
2f0b2db12a
fix: Standardize OpenAI API key environment variable naming ( #1001 ) ( #2629 )
...
- Replace OPENAI_APIKEY with OPENAI_API_KEY across all samples
- Replace AZURE_FOUNDRY_OPENAI_APIKEY with AZURE_FOUNDRY_OPENAI_API_KEY
- Ensures consistency with OpenAI's standard naming convention
- Applies to .NET and Python samples
Fixes #1001
Co-authored-by: Alexander Zarei <alzarei@users.noreply.github.com >
2025-12-10 10:33:35 +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
Chris and GitHub
1e6aedb3f9
Updated ( #2707 )
2025-12-08 21:30:21 +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
9c1b2f9a3f
.NET: Annotate all public methods of OpenAIAssistantClientExtensions with Obsolete attribute ( #2640 )
...
* Initial plan
* Add Obsolete attribute to all public methods of OpenAIAssistantClientExtensions
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Add pragma warning disable CS0618 to files using deprecated OpenAI Assistants API
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Update Obsolete attribute message to use requested text
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
2025-12-05 12:27:48 +00:00
51721bd9f6
.NET: Add samples for OpenAIChatClientAgent and OpenAIResponseClientAgent ( #2638 )
...
* add samples for OpenAIChatClientAgent and OpenAIResponseClientAgent
* Update dotnet/samples/GettingStarted/AgentWithOpenAI/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step03_CreateFromChatClient/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step03_CreateFromChatClient/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-05 11:03:59 +00:00
db36809744
.NET: Move TextSearchProvider and TextSearchProviderOptions to Microsoft.Agents.AI namespace ( #2639 )
...
* Initial plan
* Move TextSearchProvider and TextSearchProviderOptions to Microsoft.Agents.AI namespace
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Restore AgentWithTextSearchRag project in solution file
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Revert using statement removal in AgentWithRAG_Step01_BasicTextRAG sample
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Revert the previous revert - remove using Microsoft.Agents.AI.Data from AgentWithRAG_Step01_BasicTextRAG
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Revert using statement removal in AgentWithTextSearchRag sample
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
2025-12-05 11:01:53 +00:00
Roger Barreto and GitHub
ee340bef1d
Address vulnerability ( #2631 )
2025-12-04 11:42:35 +00:00
9c2e800189
Remove unnecessary PackageReferences after .NET 10 update ( #2394 )
...
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
2025-12-04 00:09:51 +00:00
6232dd8305
.NET [Breaking] Simplify and Refactor ChatclientAgentOptions Ctor + Instructions ( #1517 )
...
* Point AgentOptions.Instructions to ChatOptions
* Update tests and checks
* Update xml docs
* Removal of agentOptions.Instructions in favor of chatOptions.Instructions
* Instructions and tool check consistency
* Instructions and tool check consistency
* Address comment
* Update .github/upgrades/prompts/SemanticKernelToAgentFramework.md
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* Address PR Comment
* Update latest changes to comply with the PR proposal
* Address feedback
* Update dotnet/tests/Microsoft.Agents.AI.UnitTests/ChatClient/ChatClientAgentTests.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* Address instructions
* Update declarative to use promptAgent.Instrucitons with chatOptions.Instructions
---------
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
Co-authored-by: Mark Wallace <127216156+markwallace-microsoft@users.noreply.github.com >
2025-12-03 13:39:47 +00:00
ceaea46765
.NET: Change Anthropic Azure sample to use Athropic.Foundry package + cachi… ( #2578 )
...
* Change Anthropic Azure sample to use Athropic.Foundry package + caching token
* Fix apikey null
* Update dotnet/samples/GettingStarted/AgentProviders/Agent_With_Anthropic/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address copilot feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-02 16:50:14 +00:00
Roger Barreto and GitHub
139c292807
.NET: Add Google ChatClientAgent provider sample using with Gemini model ( #2554 )
...
* Add Gemini model sample
* Update Readme
* Address Comments
* Address format
2025-12-01 18:51:15 +00:00
Mark Wallace and GitHub
b26108975d
.NET: Declarative Agents ( #2476 )
...
* Update the declarative agent samples
* Add the Microsoft.Agents.AI.Declarative project
* Make the package non packable
* Use the RecalcEngine when creating the ChatOptions
* Ignore VSTHRD200
* Add geting started samples
* Address code review feedback
2025-12-01 15:15:18 +00:00
a3909b8b5b
Change sample to use official Anthropic C# package ( #2471 )
...
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
2025-11-28 19:10:54 +00:00
0723f1d183
.NET: Foundry V2 - Update Sample and Docs for clear distinction between Classic/New Foundry Agents. ( #2459 )
...
* Address potential confusion around agent version vs API version
* Address potential confusion around agent version vs API version
* Add extra documentation for clarity
* Remove V2 remainers
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
2025-11-26 14:37:03 +00:00
westey and GitHub
b6c3b8d3f2
[BREAKING] Remove NotifyThreadOfNewMessagesAsync AIAgent helper ( #2450 )
...
* Remove NotifyThreadOfNewMessagesAsync helper from AIAgent
* Fix bug
* Update comment
2025-11-25 11:59:26 +00:00
1dde57981e
.NET: Add Anthropic Agent Package ( #2359 )
...
* WIP
* WIP
* Simple call working
* Update Thinking sample
* Non-Streaming Function calling working
* Update Anthropic Impl
* Public Preps
* UT + IT working
* Update documentation + samples
* Update variable
* Revert nuget.config
* Add IT for BetaService implementation
* Remove polyfill + enable IT to run for netstandard 2.0
* Skipping Anthropic IT's for manual execution and avoid pipeline execution
* Fix compilation error
* Address error in UT
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix warning
* Net 10 update
* Update for NET 10, remove Anthropic.Foundry due to vulnerability
* Final missing adjustments for NET 10
* Address PR comments
* Remove unused code
* Address feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-25 11:53:18 +00:00
SergeyMenshykh and GitHub
a89c15d6e6
.NET: Change type of props representing continuation token ( #2430 )
...
* change type of props representing continuation token
* use explict cast instead of the as operator
2025-11-25 09:59:43 +00:00
a610a4769c
.NET: Add support for background responses to A2A agent ( #2381 )
...
* add support for baackground responses to a2a agent
* fix line endings
* address pr review comments
* address pr review comments
* update sample to net10.0
* Update dotnet/samples/GettingStarted/A2A/A2AAgent_PollingForTaskCompletion/README.md
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI.A2A/Extensions/A2AAgentTaskExtensions.cs
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/A2A/A2AAgent_PollingForTaskCompletion/Program.cs
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
* address pr review feedback
* add clarification regarding background responses
---------
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
2025-11-24 19:41: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
ce738cc6bc
.NET: Add sample to show how to do RAG using Foundry's built-in service ( #2324 )
...
* Add sample to show how to do RAG using Foundry's built-in service
* Update README.me
* Update dotnet/samples/GettingStarted/AgentWithRAG/AgentWithRAG_Step04_FoundryServiceRAG/Program.cs
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
---------
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
2025-11-20 18:55:21 +00:00
Roger Barreto and GitHub
f6cd329a32
.NET: Post bugbash updates ( #2279 )
...
* Add missing README.md
* Address bugbash comments
* Address bugbash issues and suggestions
2025-11-18 09:50:22 +00:00
Roger Barreto and GitHub
e7ac655b82
Add missing README.md ( #2278 )
2025-11-17 16:33:00 +00:00
+2
e706f07868
.NET: Add Microsoft.Agents.AI.AzureAI (Azure.AI.Project 1.2) Support ( #1662 )
...
* WIP
* Fixed build errors (#1638 )
Comment and nullable type alignment
* .NET: Azure.AI.Agents Package Split + Initial Extensions (#1657 )
* Move packages
* Update nuget.config
* Address Xmldoc
* Remove format from branches checks
* Address Xmldocs
* Add more details to the implementation
* Moving Agent logic to ChatClient
* Adding Name and Id overrides to AzureAIAgent
* Updating extensions
* Add GetAiAgent extensions
* Adding support for version as name can conflict 409 using the Agents API with same name
* Addressing more updates to the extensions
* More improvements
* Remove debugging code from sample
* Address copilot feedback
* Apply suggestions from co-pilot code review
* Update Directory.Packages.props
Fix package version rollback:
Azure.AI.Agents.Persistent (beta-6 => beta-7)
* .NET: Add comprehensive unit tests for Microsoft.Agents.AI.AzureAIAgents extension methods (#1786 )
* Initial plan
* Add comprehensive unit test project for Microsoft.Agents.AI.AzureAIAgents
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Add README documenting test project and package dependency requirements
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Fix documentation URL to use learn.microsoft.com
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Bump back AAAP 1.2.0-beta.7
* Address AI generated UT's
* Remove UT Readme
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .NET: Change model to be required just for prompt agent definition specific extensions (#1812 )
* Remove unneeded model from extensions
* Add noop justification
* Update Package Nameing: V1 -> AzureAI.Persistent / V2 -> AzureAI (#1829 )
* .NET: Update Extensions for Strict Agent Definitions + Improvements (#1892 )
* Update Package Nameing: V1 -> AzureAI.Persistent / V2 -> AzureAI
* Update agents and extensions to comply with strict agent definitions
* More static updates
* Address UT, and ResponseTool support
* Improving reusability extensions
* Addressing ResponseTools Unit Tests and extension setup
* Adapted workaround on breaking AAA with OpenAI 2.6.0
* Small updates
* Remove strictness when retrieving agents, improved XmlDocs
* Improve sample comments
* Update dotnet/tests/Microsoft.Agents.AI.AzureAI.UnitTests/AgentsClientExtensionsTests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address PR comments
* Address UT failing
* Address Copilot feedback
* Address Copilot feedback
* Address comment typo
* Address PR feedback
* Address typo
* Add missing Extensions with ChatClientAgentOptions
* Address comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Version update (#1901 )
* Updated package version (#1906 )
* .NET: Allow Declarative AIAgents Extensions (#1931 )
* Improve reusability of extension code and additional option to losen the strictiness of in-proc tools
* Add missing UT scenarios
* Add missing UT test scenarios
* Normalize changes
* Updated (#1948 )
* .NET: AgentDefinition extensions method simplification (#1967 )
* Update extensions methods that accepts AgentDefinition type to not be restrictive
* Update Unit Tests
* Revert yarn/package-lock
* Revert yarn/package-lock
* Address copilot feedback
* Fix bad merge
* .NET Workflows - WIP Declarative action update (#1761 )
* WIP
* Fixed build errors (#1638 )
Comment and nullable type alignment
* Sync to SDK update
* Checkpoint
* Checkpoint: Tests passing
* Checkpoint: EndWorkflow
* Add trace
* .NET: Azure.AI.Agents Package Split + Initial Extensions (#1657 )
* Move packages
* Update nuget.config
* Address Xmldoc
* Remove format from branches checks
* Address Xmldocs
* Add more details to the implementation
* Moving Agent logic to ChatClient
* Adding Name and Id overrides to AzureAIAgent
* Updating extensions
* Add GetAiAgent extensions
* Adding support for version as name can conflict 409 using the Agents API with same name
* Addressing more updates to the extensions
* More improvements
* Remove debugging code from sample
* Address copilot feedback
* Apply suggestions from co-pilot code review
* Checkpoint
* Update Directory.Packages.props
Fix package version rollback:
Azure.AI.Agents.Persistent (beta-6 => beta-7)
* Add project reference
* .NET: Add comprehensive unit tests for Microsoft.Agents.AI.AzureAIAgents extension methods (#1786 )
* Initial plan
* Add comprehensive unit test project for Microsoft.Agents.AI.AzureAIAgents
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Add README documenting test project and package dependency requirements
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Fix documentation URL to use learn.microsoft.com
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Bump back AAAP 1.2.0-beta.7
* Address AI generated UT's
* Remove UT Readme
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .NET: Change model to be required just for prompt agent definition specific extensions (#1812 )
* Remove unneeded model from extensions
* Add noop justification
* Update Package Nameing: V1 -> AzureAI.Persistent / V2 -> AzureAI (#1829 )
* Checkpoint for merge
* No build errors
* .NET: Update Extensions for Strict Agent Definitions + Improvements (#1892 )
* Update Package Nameing: V1 -> AzureAI.Persistent / V2 -> AzureAI
* Update agents and extensions to comply with strict agent definitions
* More static updates
* Address UT, and ResponseTool support
* Improving reusability extensions
* Addressing ResponseTools Unit Tests and extension setup
* Adapted workaround on breaking AAA with OpenAI 2.6.0
* Small updates
* Remove strictness when retrieving agents, improved XmlDocs
* Improve sample comments
* Update dotnet/tests/Microsoft.Agents.AI.AzureAI.UnitTests/AgentsClientExtensionsTests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address PR comments
* Address UT failing
* Address Copilot feedback
* Address Copilot feedback
* Address comment typo
* Address PR feedback
* Address typo
* Add missing Extensions with ChatClientAgentOptions
* Address comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Updated package version (#1897 )
* Version update (#1901 )
* Checkpoint
* Updated package version (#1906 )
* Checkpoint
* Checkpoint
* Checkpoint
* Align with azure ai agent
* Update dotnet/samples/GettingStarted/Workflows/Declarative/StudentTeacher/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/Declarative/MCPToolApproval/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/Declarative/DeepResearch/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Refactored external input
* Update dotnet/samples/GettingStarted/Workflows/Declarative/MCPToolApproval/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Agent tools patch
* Demos validated
* Checkpoint
* Hygiene
* Checkpoint - Samples
* Update dotnet/samples/GettingStarted/Workflows/Declarative/StudentTeacher/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/Declarative/StudentTeacher/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Checkpoint
* Checkpoint - Deep Research
* Update baseline
* Update
* Typo
* Checkpoint
* Typos
* Sample cleanup
* Update dotnet/src/Microsoft.Agents.AI.Workflows.Declarative/AzureAgentProvider.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI.AzureAI/AgentsClientExtensions.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/Declarative/FunctionTools/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/Declarative/StudentTeacher/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/Declarative/ToolApproval/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Workflows/Declarative/DeepResearch/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Typo
* Typo
* Fix input loop
* Sample - Function Calling / External Input
* Typo
* Finessed
* Checkpoint
* Fix feed
* Checkpoint - so close
* Ding dong!
* "there" ***
* Fixup comments
* Fix sample
* Code analysis
* Header
* Typo (variableName)
* Remove dead code
* Skip test (agent api ratchet)
* Comment
* Update dotnet/samples/GettingStarted/Workflows/Declarative/StudentTeacher/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Typo
---------
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com >
* .NET: Latest updates Pre/Post V2 Bugbash Findings (#2040 )
* Improve V2 logic before/after bugbash prep
* Apply suggestions from code review
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 >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .NET: Update Foundry Agents to latest 2.0.0 alpha.20251107.3 (#2050 )
* Update extensions for new CreateVersionOptions structure
* Update unit tests
* Addresss capitalized
* Update AgentsClientExtensionsTests.cs
Fix invalid cast format failure
* .NET: Feature foundry agent + user agent (#2058 )
* Update unit tests
* Add user-agent protocol calls
* Update unit tests
* Update unit tests with http handler confirmation
* UT fix
* Fix xmldoc
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address copilot feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .NET: Update Extensions to be less restrictive for GetAIAgents (#2091 )
* Update behavior / restrictiveness when retrieving agents
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address format
* Address copilot feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
* .NET Workflows - Support "structured inputs" feature for declarative workflows (#2053 )
* Bump version for release
* .NET Workflows - Separate Foundry/AzureAI Provider into its own package (#2078 )
* Remove unused using directive in AzureAgentProvider
Removed unused using directive for Extensions.
* .NET: Updates to Foundry Agents Package (#2125 )
* Remove the conversation creation always
* Update unit tests + address IL + refactor
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Internalize unused methods
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix declarative workflows integration testcase
* .NET: Feature foundry agent/agent reference extension (Python Parity with Name + Version option) (#2147 )
* Add agent reference extensions
* Add UT covering AgentReference and ModelId
* .NET: Add GettingStarted Samples for Agents V2. (#2159 )
* Add gettingstarted samples for Foundry Agents
* Address structured outputs
* Net 10 -> Net 9 Temporary
* Net 10 -> Net 9 Temporary
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address missing docs + old
* Drop var for samples
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address copilot feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .NET: Foundry Agents V2 - Add CodeInterpreter Sample (#2180 )
* Adding Code Interpreter sample and AgentName naming validation
* Add agent name check UT
* Improve sample code
* Apply suggestion
* Apply suggestion
* Fixed (#2190 )
* .NET Workflows - Add "CustomerSupport" sample (#2102 )
* .NET Workflows - Add sample for hosted declarative workflow (#2199 )
* fwiw
* Less blank lines
* Fixed (#2204 )
* Update version (#2206 )
* .NET: Feature foundry agent/update breaking v2.0 to v1.2 (#2212 )
* Migration WIP Checkpoint 1
* Build + UT + Workflow passing
* Address latest commits after break
* Revert rename in unrelated files
* Address PR comments
* Class renames
* Allow dotnet-format workflow on feature branches
Revert unintentional edit
* .NET: Add Conformance Integration Tests for AzureAI Package (#2237 )
* Conformance tests added and passing
* Correct namespace
* Update Azure.AI.Project to latest public nuget version
* .NET: Added Computer use tool sample (#2235 )
* Initial computer use sample implementation.
* Added background thread to allow polling for long running requests.
* Removed unrequired try-catch block and added missing thread for agent call.
* Removed irrelevant chatOptions and updated code based on feedback.
* Updated image assets and fixed response issue.
* Updated based on PR comments.
* Update to Azure.AI.Project
---------
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
* Package descriptions
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com >
Co-authored-by: Chris Rickman <crickman@microsoft.com >
Co-authored-by: Stephen Toub <stoub@microsoft.com >
Co-authored-by: Mark Wallace <127216156+markwallace-microsoft@users.noreply.github.com >
Co-authored-by: Peter Ibekwe <109177538+peibekwe@users.noreply.github.com >
2025-11-15 10:43:02 +00:00
Reuben Bond and GitHub
4b0f724e62
.NET: Expose more agent metadata through DevUI discovery endpoint ( #2138 )
...
* Exposes more agent metadata through DevUI discovery endpoint
* Exposes more agent metadata through DevUI discovery endpoint
* pr feedback
* pr feedback
* Don't expose Workflows as agents to DevUI
2025-11-12 23:38:06 +00:00
SergeyMenshykh and GitHub
caf3c4b92d
.NET: Move deep research sample ( #2094 )
...
* move catalog samples to the HostedAgents folder
* move the catalog samples' projects to the HostedAgents folder
* move deep research sample out of the HostedAgents folder
2025-11-12 09:22:11 +00:00
Chris and GitHub
ad2ebfc0c8
Updated ( #2076 )
2025-11-11 17:17:34 +00:00
Jacob Alber and GitHub
a39e6561fd
.NET: fix: WorkflowAsAgent Sample ( #1787 )
...
* fix: WorkflowAsAgent Sample
* Also makes ChatForwardingExecutor public
* feat: Expand ChatForwardingExecutor handled types
Make ChatForwardingExecutor match the input types of ChatProtocolExecutor.
* fix: Update for the new AgentRunResponseUpdate merge logic
AIAgent always sends out List<ChatMessage> now.
2025-11-11 16:35:22 +00:00
wuweng and GitHub
177b0c95be
Update README.md to change Grafana links to Azure portal links for dashboard access ( #1983 )
2025-11-11 05:08:33 +00:00
westey and GitHub
c0c12df851
.NET: Separate all memory and rag samples into their own folders ( #2000 )
...
* Separate all memory and rag samples into their own folders
* Fix broken link.
2025-11-10 15:34:20 +00:00
01f3a3d881
.NET: Remove moved OpenAPI sample and point to SK one. ( #1997 )
...
* Remove moved OpenAPI sample and point to SK one.
* Update dotnet/samples/GettingStarted/Agents/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-10 12:29:26 +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
85484c0259
.NET: DevUI - Do not automatically add/map OpenAI services/endpoints ( #2014 )
...
* Don't add OpenAIResponses as part of Dev UI
You should be able to add and remove Dev UI without impacting your other production endpoints.
* Remove `AddDevUI()` and do not map OpenAI endpoints from `MapDevUI()`
* Fix comment wording
* Revise documentation
---------
Co-authored-by: Daniel Roth <daroth@microsoft.com >
2025-11-07 23:03:54 +00:00
Reuben Bond and GitHub
3d94ae57ed
.NET: DevUI: Use relative URLs for backend API by default ( #2005 )
...
* DevUI: Use relative URLs for backend API by default
* dotnet format
* rebuild application
2025-11-07 17:01:04 +00:00
Korolev Dmitry and GitHub
b7cddaaba8
.NET: Remove sequential\concurrent workflow extensions ( #1731 )
...
* remove non-standard workflow extensions, create overloads for IHostedAgentBuilder
* rework
* rollback extensions in a2a
2025-11-07 11:58:21 +00:00
e5d9d74c2d
.NET: Chathistory memory provider add ( #1867 )
...
* Add ChatHistoryMemoryProvider with unit tests
* Set new project to not packable.
* Fix bugs
* Add serialization support.
* Update dotnet/src/Microsoft.Agents.AI.VectorDataMemory/ChatHistoryMemoryProvider.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Remove unnecessary line
* Convert ChatHistoryMemoryProvider to use Dynamic collections.
* Sealing options and scope classes.
* Add sample, add scope to logs and improve scope validation
* Move ChatHistoryMemoryProvider to MAAI project.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-07 11:46:35 +00:00
westey and GitHub
6e205445be
.NET: Add tool calling sample with OpenAPI ( #1968 )
...
* Add tool calling sample with OpenAPI
* Address PR comments.
* Rename folders and moved literal to inline.
* Fix broken link.
2025-11-06 14:34:27 +00:00
Reuben Bond and GitHub
8855bfb065
.NET: Add DevUI package for .NET ( #1603 )
...
* Implement DevUI
* Review feedback
* Fix build
2025-11-05 20:02:48 +00:00
Jacob Alber and GitHub
94a5ba3448
.NET: [BREAKING] refactor: Normalize WorkflowBuilder APIs ( #1935 )
...
* [BREAKING] refactor: Normalize WorkflowBuilder APIs
* "partitioner" => "assigner"
* normalize ordering so sources always to the left of targets for edges
* normalize parameter ordering so sources and targets are always first arguments
* remove `params` (users should use collection expressions instead)
* refactor: Align name with Python
2025-11-05 19:50:01 +00:00
Roger Barreto and GitHub
6ca907f23f
.NET: [Breaking Change] Moving MAAI.AzureAI V1 Package -> MAAI.AzureAI.Persistent (V1) ( #1902 )
...
* Update AzureAI -> AzureAI.Persistent
* Fix sample reference
2025-11-05 13:28:00 +00:00
westey and GitHub
5e38c63455
.NET: [BREAKING] Simplify TextSearchProvider construction and improve Mem0Provider scoping. ( #1905 )
...
* Simplify TextSearchProvider construction and improve Mem0Provider scoping
* Fixing indentation.
2025-11-05 13:00:18 +00:00
f415959d33
.NET: Add Writer-Critic Iterative Refinement Workflow Sample ( #1790 )
...
* Adding Sample for writer-critic workflow implemented using Worfklow, custom executors, agents, switch, custom states, different entry points for the executors.
* Update dotnet/samples/GettingStarted/Workflows/_Foundational/08_WriterCriticWorkflow/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 >
* using now structured output, with streaming for UX responsiveness.
* improved comments and order, so comments directly precede what they're describing
* fixing issue with internal class that the analyzer doesn't recognize that CriticDecision is instantiated, just indirectly via JSON deserialization
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-11-04 23:50:41 +00:00
westey and GitHub
ada5b83c80
.NET: Add rag samples with sample TextSearchStore ( #1664 )
...
* Port store for adding text to a vector store to AF
* Fix typo.
* Change TextSearchStore to sample, and add sample to use it and do rag with a custom schema
* Add more tests and fix broken ones
* Fix merge issue
* Fix sample after merge.
* Convert TextSearchStore to use Dynamic mode to be AOT compatible.
* Add some more clarification on when to use assistant messages in rag searches.
2025-11-04 16:24:26 +00:00
64fc3f381f
.NET: Response & foundry agent hosted MCP sample ( #1568 )
...
* Adding sample demonstrating hosted MCP with Responses
* Add mcp readme.md to slnx
* Update FoundryAgent sample to use MCP types from abstraction and to show how to do approval
* Fix param name after package update.
* Fix environment variable name for consistency
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-04 15:54:20 +00:00
Tao Chen and GitHub
b0ee7028a6
.NET: Add workflow as an agent with observability sample ( #1612 )
...
* Add workflow as an agent with observability sample
* Address comment
* Fix formatting
* enable sensitive data
* enable sensitive data for sub agents
* adjust aggregator handlers
2025-11-03 20:36:33 +00:00
Jacob Alber and GitHub
b25b0af49b
.NET: [BREAKING] Unify ExecutorIsh and ExecutorRegistration, unify/simplify APIs ( #1637 )
...
* refactor: Unify ExecutorIsh and ExecutorRegistration => ExecutorBinding
* Switch to more modern Record type-tree for Sum Types
* Unify APIs for getting ExecutorBinding
* Fix an issue where workflows consisting entirely of cross-run shareable executors which are not instance-resettable do not properly clear state when running non-concurrently.
* feat: Simplify function-to-executor pattern
* refactor: Normalize API naming
2025-11-03 18:20:35 +00:00