140ec35cf2
Bump MishaKav/pytest-coverage-comment from 1.1.56 to 1.1.57 ( #742 )
...
Bumps [MishaKav/pytest-coverage-comment](https://github.com/mishakav/pytest-coverage-comment ) from 1.1.56 to 1.1.57.
- [Release notes](https://github.com/mishakav/pytest-coverage-comment/releases )
- [Changelog](https://github.com/MishaKav/pytest-coverage-comment/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mishakav/pytest-coverage-comment/compare/v1.1.56...v1.1.57 )
---
updated-dependencies:
- dependency-name: MishaKav/pytest-coverage-comment
dependency-version: 1.1.57
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-14 20:23:13 +00:00
0331331dbc
.NET [WIP]: introduce Hosting extensions for Workflows ( #1359 )
...
* skeleton
* wip
* rename + fix tests
* implement workflow tests
* fix comments
* Update dotnet/src/Microsoft.Agents.AI.Hosting/HostApplicationBuilderWorkflowExtensions.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fixes
* fix worfklow build logic
* rollback + new overload on workflow builder
* address PR comments
* :)
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-14 19:44:58 +00:00
Korolev Dmitry and GitHub
f42a3ee6b9
.NET: Enable access to hosted AIAgents via OpenAI Chat Completions ( #1302 )
...
* non-streaming chat completion
* support streaming
* simplify frontend clients + nit
* nit
* use baseaddress
* rm unnecessary
* refactor
* remove conversation id for chatcompletions agent client
* nits
2025-10-14 18:38:02 +00:00
ea8f751108
Added support boundaries for AI services, and Copilot Studio ( #1391 )
...
* Added support boundaries for AI services, and Copilot Studio
* Update SUPPORT.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-14 19:51:46 +01:00
1f0faff623
.NET: Add sample showing how to create ai function per a2a skill ( #1452 )
...
* add sample showing how to create ai function per a2a skill
* Update dotnet/src/Microsoft.Agents.AI.A2A/Extensions/A2AAgentCardExtensions.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/A2A/A2AAgent_AsFunctionTools/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/A2A/A2AAgent_AsFunctionTools/Program.cs
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
* address pr review comments
* rename local function
* add readmes
* fix broken links
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
2025-10-14 17:57:19 +00:00
9148392d00
Python: Enhanced documentation for dependency injection and serialization features ( #1324 )
...
* improvements in dep injection and sample
* fix for falsy default
* fix mypy
* update to use a nested dict instead of a string.
* clarify docs
* Update python/packages/core/agent_framework/_tools.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/packages/core/agent_framework/_tools.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/packages/core/agent_framework/_tools.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/packages/core/agent_framework/_serialization.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* format
---------
Co-authored-by: eavanvalkenburg <github@vanvalkenburg.eu >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
dotnet-1.0.0-nightly-251014.1
2025-10-13 20:34:27 +00:00
Tao Chen and GitHub
fc12ab9fed
Python: Refactor RequestInfoExecutor ( #1403 )
...
* Refactor RequestInfoExecutor
* Update AI script
* Fix formatting
* Address comments
* fix unit test
2025-10-13 19:18:17 +00:00
baf59ca1ed
Python: Added URL Citation Support to Azure AI Agent ( #1397 )
...
* added url citation to agentrunresponse
* small fix
* fix
* Update python/packages/azure-ai/agent_framework_azure_ai/_chat_client.py
Co-authored-by: Tao Chen <taochen@microsoft.com >
---------
Co-authored-by: Tao Chen <taochen@microsoft.com >
2025-10-13 19:04:08 +00:00
166aa8fd54
Update uv requirement from <0.9.0,>=0.8.2 to >=0.8.2,<0.10.0 in /python ( #1430 )
...
Updates the requirements on [uv](https://github.com/astral-sh/uv ) to permit the latest version.
- [Release notes](https://github.com/astral-sh/uv/releases )
- [Changelog](https://github.com/astral-sh/uv/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/uv/compare/0.8.2...0.9.2 )
---
updated-dependencies:
- dependency-name: uv
dependency-version: 0.9.2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com >
2025-10-13 18:26:26 +00:00
64b57639b8
.NET: Mitigation for issue 1315 ( #1432 )
...
* Adding mitigation for issue 1315, will follow up with long-term plan.
* Apply suggestion from @lokitoth
Co-authored-by: Jacob Alber <jaalber@microsoft.com >
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Extracting common updates to a helper method.
* Fixing spelling mistake.
* Update per PR feedback.
---------
Co-authored-by: Jacob Alber <jaalber@microsoft.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-13 18:06:58 +00:00
d1ac2d9331
Python: Update README to list all available examples ( #1394 )
...
* Initial plan
* Update Python samples README with comprehensive example tables
Co-authored-by: dmytrostruk <13853051+dmytrostruk@users.noreply.github.com >
* Fix relative links to use ./ prefix in README
Co-authored-by: dmytrostruk <13853051+dmytrostruk@users.noreply.github.com >
* Remove ./ prefix from link display text while keeping it in URLs
Co-authored-by: dmytrostruk <13853051+dmytrostruk@users.noreply.github.com >
* Add missing MCP authentication example to README
Co-authored-by: dmytrostruk <13853051+dmytrostruk@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: dmytrostruk <13853051+dmytrostruk@users.noreply.github.com >
2025-10-13 17:17:03 +00:00
Korolev Dmitry and GitHub
7e8a3fa0e5
.NET: support .NET8 for hosting projects ( #1426 )
...
* support net8.0 for hosting projects
* enable CI to run on net8
* correctly setup tfms
* correct fixes (avoid net8)
* nit
* fix hosting.a2a.tests tfm
* update TFM for hosting.unitTests
* remove .net8 CI target
* revert hosting.tests
2025-10-13 13:05:49 +00:00
Chris and GitHub
5fa153642e
.NET Workflows - Update State Serialization for JSON Checkpointing ( #1388 )
...
* Checkpoint
* Checkpoint
* Namespace
* All ready
* Namespace
* Clean
* Fix
dotnet-1.0.0-nightly-251013.1
dotnet-1.0.0-nightly-251012.1
dotnet-1.0.0-nightly-251011.1
dotnet-1.0.0-nightly-251010.3
2025-10-10 20:10:17 +00:00
29cb87b805
Added example with MCP and authentication ( #1389 )
...
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com >
2025-10-10 19:10:24 +00:00
350cdfc1cd
Python: Fix AI Search Tool Sample and improve AI Search Exceptions ( #1206 )
...
* Python: Fix AI Search Tool Sample and improve AI Search Exceptions
* Python: Fix AI Search Tool Test
---------
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com >
2025-10-10 18:46:57 +00:00
Victor Dibia and GitHub
e032fe3993
Python: Fix Failure with Function Approval Messages in Chat Clients ( #1322 )
...
* Python: set role=tool when processing approval responses
* Python: set role=tool when processing approval responses
* Fix approval mode with OpenAIChatClient and threads: add approval requests to assistant message, fix deduplication/rejection call_id, filter approval content, add tests and example
* update test tools after change
* Rename _collect_approval_todos to _collect_approval_responses and filter empty call_ids
2025-10-10 18:38:23 +00:00
westey and GitHub
d6fdb91480
.NET: Inline const values in samples where used only once ( #1387 )
...
* Inline const values in samples where used only once
* Fix some spacing issues and use consistent ordering of settings/params
2025-10-10 16:50:53 +00:00
3730db3e94
.NET: Sanitize agent name ( #1368 )
...
* sanitize agent name
* simplify
* Update dotnet/src/Microsoft.Agents.AI/AgentExtensions.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI/AgentExtensions.cs
Co-authored-by: Stephen Toub <stoub@microsoft.com >
* Update dotnet/src/Microsoft.Agents.AI/AgentExtensions.cs
Co-authored-by: Stephen Toub <stoub@microsoft.com >
* Update dotnet/tests/Microsoft.Agents.AI.UnitTests/AgentExtensionsTests.cs
Co-authored-by: Stephen Toub <stoub@microsoft.com >
* change regex to flag underscores as well so their sequence can be replaced with a single one.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Stephen Toub <stoub@microsoft.com >
2025-10-10 16:49:56 +00:00
Dmytro Struk and GitHub
00a124dae6
Added git tag property ( #1386 )
2025-10-10 15:37:14 +00:00
Chris and GitHub
7e1fd67e76
.NET Workflows - Capture the identifier of the LastMessage (the workflow input) ( #1372 )
...
* Fixed
* Test fix
dotnet-1.0.0-nightly-251010.1
2025-10-10 06:45:09 +00:00
Stephen Toub and GitHub
2c9cf6f59d
Remove unused PackageVersions from Directory.Packages.props ( #1334 )
2025-10-09 21:28:00 +00:00
Giles Odigwe and GitHub
7238cde5af
Python: AzureAI Bing Connection Name Support ( #1364 )
...
* bing connection name support
* error handling + unit tests
* connection id and name handling
2025-10-09 21:13:07 +00:00
Jacob Alber and GitHub
4cd81fe8e7
.NET: fix: Make State Persistence APIs work better with PortableValue ( #1367 )
...
* fix: Make State Persistence APIs work better with PortableValue
* test: Temporarily disable checking for T=object in ReadStateAsync
2025-10-09 20:24:55 +00:00
2f53ce4abd
Python: A2A AuthInterceptor Support ( #1317 )
...
* a2a authinterceptor support
* Update python/packages/a2a/agent_framework_a2a/_agent.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* small fix
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-09 18:56:54 +00:00
9fe4a61dd0
Python: Added function approval example with streaming ( #1365 )
...
* Added function approval example with streaming
* Update python/samples/getting_started/tools/ai_tool_with_approval.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-09 17:31:36 +00:00
Dmytro Struk and GitHub
a02b82f022
Python: Fixed instructions duplication in model clients ( #1332 )
...
* Small fix
* Updated instruction handling in chat clients
2025-10-09 14:49:03 +00:00
Christian Glessner and GitHub
8967269d3e
Fix: Add missing ChatMessage[] handler to ChatProtocolExecutor ( #1337 )
...
- Added ChatMessage[] handler to ConfigureRoutes to support array dispatch
- Workflow runtime can dispatch messages as either List<ChatMessage> or ChatMessage[]
- Added 10 comprehensive unit tests validating message routing behavior
- Tests ensure functionality and protect against future refactoring (issue #782 )
- Updated code comments to reflect exact-type-matching requirement
Fixes issue where raw WorkflowBuilder with AIAgent nodes failed to receive
initial messages due to missing array type handler.
dotnet-1.0.0-preview.251009.1
2025-10-09 10:00:09 +00:00
d16d56b555
Bump AWSSDK.Extensions.Bedrock.MEAI from 4.0.3.5 to 4.0.3.6 ( #1340 )
...
---
updated-dependencies:
- dependency-name: AWSSDK.Extensions.Bedrock.MEAI
dependency-version: 4.0.3.6
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-09 09:39:48 +00:00
f17bf0a502
Bump FluentAssertions from 8.7.0 to 8.7.1 ( #1341 )
...
---
updated-dependencies:
- dependency-name: FluentAssertions
dependency-version: 8.7.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-09 09:39:20 +00:00
Mark Wallace and GitHub
1b5e20b5b0
Version preview.251009.1 ( #1339 )
2025-10-09 08:42:49 +00:00
Tao Chen and GitHub
2397795c1d
Python: Fix deadlock in Magentic workflow ( #1325 )
...
* Fix deadlock in Magentic workflow
* Fix unit test
dotnet-1.0.0-nightly-251009.1
2025-10-09 00:23:46 +00:00
SergeyMenshykh and GitHub
15afc966ce
.NET: Add missing workflow properties to the workflow.definition tag ( #1261 )
...
* add workflow edge data properties to the workflow.definition tag.
* use workflow info classes for workflow.definition tag value
* add unit test
* fix test
* fix formatting issue
* remove flaky unit test
* remove unused package dependency
2025-10-08 21:51:59 +00:00
Chris and GitHub
988623e7b8
.NET Workflow - Update declarative code patterns ( #1313 )
...
* It hurts
* Fixed
* Namespace
* Namespace
2025-10-08 21:32:47 +00:00
Stephen Toub and GitHub
74864f353d
Update to latest OpenAI ( #1286 )
2025-10-08 21:09:52 +00:00
3d31a4a204
Python: samples: add api_key for Ollama sample usage ( #1240 )
...
* samples: add api_key for Ollama sample usage
* Update python/samples/getting_started/agents/ollama/ollama_with_openai_chat_client.py
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com >
* fix: update Ollama API key to an unused constant
---------
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com >
2025-10-08 20:45:24 +00:00
Dmytro Struk and GitHub
7e891fab39
Python: Included existing agent definition in requests to Azure AI ( #1285 )
...
* Fixed instructions handling for existing Azure AI agents
* Updated tool handling for existing agents
* Small update
* Added more comments
2025-10-08 20:33:57 +00:00
Victor Dibia and GitHub
c341ee7ed2
Python: DevUI - Internal Refactor, Conversations API support, and per… ( #1235 )
...
* Python: DevUI - Internal Refactor, Conversations API support, and performance improvements
Comprehensive refactor of DevUI package including samples relocation,
frontend reorganization, OpenAI Conversations API support, and critical
performance and code quality improvements.
Key Changes:
Architecture & Organization
- Moved DevUI samples to python/samples/getting_started/devui/
- Consolidated with other framework samples for better discoverability
- Added .env.example files and comprehensive README
- Restructured frontend components into feature-based folders (agent, workflow, gallery, layout)
- Created new OpenAI-compliant message renderers (devui should render oai responses types primarily)
New Features
- Added _conversations.py (467 lines) - Full conversation storage abstraction, replaces the /threads endpoint to better match oai conversations api
- Implements OpenAI Conversations API for thread management, Supports in-memory and extensible storage backends
API Simplification
- Use 'model' field as entity_id (agent/workflow name) instead of extra_body
- Use standard OpenAI 'conversation' field for conversation context.
Performance & Quality Improvements
- Improved context management in MessageMapper with bounded memory (~500KB max)
- Implemented hybrid LRU + cleanup approach to prevent unbounded memory growth
- General QOL improvement - Eliminated ~150 lines of dead/duplicate code, Consolidated helper functions into _utils.py, Extracted magic numbers to module-level constants, Optimized conversation item lookups with index-based approach
Testing
- Added test_conversations.py (13 tests)
- Added test_performance_fixes.py (9 tests)
- Updated existing tests for code consolidation
- 53 tests passing
Impact: 76 files changed: +4,106 insertions, -2,373 deletions
All linting and formatting checks passing. No breaking changes - backward compatible.
Migration: Samples moved to python/samples/getting_started/devui/
* readme lint fixes
* initial support for function approval and minor ui fixes
2025-10-08 19:34:30 +00:00
Eduard van Valkenburg and GitHub
f5abbc67ae
Python: sample with Foundry Redteams ( #1306 )
...
* sample with evals
* remove demo output
2025-10-08 19:16:44 +00:00
Eduard van Valkenburg and GitHub
a36e183600
Python: improved thread serialization and deser with better tests ( #1316 )
...
* improved thread serialization and deser with better tests
* update redis with the same
2025-10-08 19:04:11 +00:00
Tao Chen and GitHub
c2c8ec3d4e
Python: Reorganize workflows modules ( #1282 )
...
* Reorganize modules
* Fix unit tests
* Remove submodules
2025-10-08 17:04:06 +00:00
Eric Zhu and GitHub
1c5e607a1f
Python: fix tool call content not showing up in workflow events ( #1290 )
...
* fix tool call content not showing up in workflow events
* fix lint
* touch up
* add another sample to show function bridge
* missing sample
2025-10-08 16:39:08 +00:00
Giles Odigwe and GitHub
334d52f300
Python: AzureAI Agent AI Search Sample ( #1281 )
...
* azure ai search sample
* small fix
2025-10-08 15:52:02 +00:00
westey and GitHub
523127fbf4
Update readme.md sample to show sample parameter values and switch to openai sdk ( #1265 )
...
* Update readme.md sample to show sample parameter values and make azure sdk pre-release
* Add clarifying comment about params.
* Switch sample to use the OpenAI SDK
2025-10-08 10:56:34 +00:00
Jacob Alber and GitHub
5902bcb10a
.NET: [BREAKING] Propagate CancellationToken into Workflow Executors and message handlers ( #1280 )
...
* feat: Propagate CancellationToken to Executors
* Also adds cancellation propagation to `Executor`-accessible APIs
* Adds registrators for cancellable handlers to `RouteBuilder`
* [BREAKING]: Adds `CancellationToken` to `IMessageHandler.HandleAsync`
* test: Re-enable Concurrent Orchestration test
* refactor: Delete unused IInputCoordinator
* refactor: Remove superfluous argument qualifications
dotnet-1.0.0-nightly-251008.1
2025-10-08 00:28:44 +00:00
Chris and GitHub
eb049c43a6
.NET Workflows - Enhance support and validation for image input ( #1274 )
...
* Updated
* Comments
* Namespace
* Comment
* Cleanup
* Update agent definition
* Disable
* Config
* Enable
2025-10-08 00:00:34 +00:00
wuweng and GitHub
362652b966
.NET: Add Azure Monitor OpenTelemetry Exporter samples ( #1231 )
...
* Add Azure Monitor OpenTelemetry Exporter to enhance observability in agent samples
* add another sample code for application isnights
2025-10-07 23:16:32 +00:00
westey and GitHub
127bf68748
Reference the correct JsonUtilities class ( #1270 )
2025-10-07 22:02:19 +00:00
Eduard van Valkenburg and GitHub
8b73b5b1be
Python: bump version and update changelog ( #1277 )
...
* bump version and update changelog
* undo lab package version bump
* add changelog to exclude pattern for links
* fix for ignore path
* exclude file
python-1.0.0b251007
2025-10-07 21:41:59 +00:00
Eduard van Valkenburg and GitHub
76900f0eab
Python: [BREAKING] parameter naming and other fixes ( #1255 )
...
* parameter naming and other fixes
* fix test
* fix azure openai responses decorator ordering
* fix test
* fix mypy
* fixes in options handling
* fix tests
* final fixes
* exclude macos tests
* fix model param
2025-10-07 21:18:48 +00:00
Chris and GitHub
1a81ed202e
Updated ( #1272 )
2025-10-07 19:09:41 +00:00