Dmytro Struk and GitHub
407fb3025e
Python: Add BaseAgent implementation for GitHub Copilot SDK ( #3404 )
...
* Added GithubCopilotAgent
* Fixed errors
* Updated examples
* Updated naming and tests
* Resolved comments and more tests
* Updated tool handling
* Updated tool handling
* Small fixes
* Removed default permission handler
* Resolved comments
* Updated positional args
* Updated docstrings
* Small fixes and more examples
* Added example with MCP
2026-01-26 18:09:04 +00:00
Giles Odigwe and GitHub
330c2607ad
update package versions ( #3421 )
2026-01-23 23:40:20 +00:00
Evan Mattson and GitHub
7b8777d1fc
Python: add(azure-ai): support reasoning config for AzureAIClient ( #3403 )
...
* add(azure-ai): support reasoning config for AzureAIClient
* Update sample
* Merge main
* improvements
* improve sample
2026-01-23 09:37:23 +00:00
Giles Odigwe and GitHub
a97bc322ac
Python: Azure AI mapping HostedImageGenerationTool to ImageGenTool ( #3263 )
...
* azureai image gen sample fix
* mypy fixes
* addressed comments + mapping updates
* image model fix
* content type fix
2026-01-23 06:11:16 +00:00
Giles Odigwe and GitHub
e8b32ca337
Python: Prefer runtime kwargs for conversation_id in OpenAI Responses client ( #3312 )
...
* prefer kwargs conversation_id over options
* addressed comments
2026-01-23 06:05:00 +00:00
Giles Odigwe and GitHub
e229dfa7e5
Python: Added tests for OpenAI content types + Unit test improvement ( #3259 )
...
* added tests for content types+ unit test improvement
* small fixes
* small fix
2026-01-23 06:04:36 +00:00
Evan Mattson and GitHub
50c2539f3a
Python: fix(core): filter out internal args when passing kwargs to MCP tools ( #3292 )
...
* fix(core): filter conversation_id when passing kwargs to MCP tools
* Filter out options too
* Fix uv.lock conflict
2026-01-23 06:03:10 +00:00
Evan Mattson and GitHub
5436354a83
Python: [BREAKING] simplify ag-ui run logic, fix mcp bugs, fix anthropic client issues in ag-ui ( #3322 )
...
* Refactor ag-ui to simplify flow
* Refactoring
* Fix backend tool
* Update tests
* Improvements
* Fix mypy
* Fixes
* Fix json serialize errors
2026-01-23 05:10:46 +00:00
Gavin Aguiar and GitHub
b072df32c5
Python: Fix azurefunctions MCP tool invocation to use correct agent ( #3339 )
...
* MCP tool fix for azurefunctions
* Moving logic to check for thread id
2026-01-22 22:36:44 +00:00
87c9d74bd7
Python: Fix: Verify types during checkpoint deserialization to prevent marker spoofing ( #3243 )
...
* Initial plan
* Add validation for reserved keywords in checkpoint encoding/decoding
Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com >
* Refactor to eliminate duplicate code in model protocol detection
Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com >
* Fix pyright type narrowing issue for dataclass check
Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com >
* Add comprehensive unit tests for checkpoint encoding
Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com >
* Remove serialization-time reserved keyword validation to fix failing tests
The serialization-time validation was too aggressive and blocked legitimate use cases
where encoded data was being re-encoded. Security is now enforced only at deserialization
time by validating that classes marked with DATACLASS_MARKER are actual dataclasses and
classes marked with MODEL_MARKER actually support the model protocol.
Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com >
* Apply ruff formatting to checkpoint encoding file
Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com >
* Changes before error encountered
Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com >
* Revert "Changes before error encountered"
This reverts commit f515b880dc .
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com >
Co-authored-by: Tao Chen <taochen@microsoft.com >
2026-01-22 19:07:39 +00:00
Darren Cohen and GitHub
89285a5f1c
Set min version of dependent azure-ai-projects to 2.0.0b3 ( #3347 )
2026-01-22 12:56:25 +09:00
Sukeesh and GitHub
082f39e77e
Python: feat(anthropic): Add response_format support for structured outputs ( #3301 )
...
* fix(anthropic): Add response_format support for structured outputs
* only use from options
* use native way of response format
* ruff lint fix
* address comment; handle dict
2026-01-21 15:08:13 +00:00
d402d92a47
Bump pyasn1 from 0.6.1 to 0.6.2 in /python ( #3257 )
...
Bumps [pyasn1](https://github.com/pyasn1/pyasn1 ) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/pyasn1/pyasn1/releases )
- [Changelog](https://github.com/pyasn1/pyasn1/blob/main/CHANGES.rst )
- [Commits](https://github.com/pyasn1/pyasn1/compare/v0.6.1...v0.6.2 )
---
updated-dependencies:
- dependency-name: pyasn1
dependency-version: 0.6.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-21 12:56:40 +00:00
Giles Odigwe and GitHub
88e0ee1a2c
Python: Fix local MCP tools with AzureAIProjectAgentProvider ( #3315 )
...
* azureai v2 local mcp fix
* addressed copilot comments
2026-01-21 12:43:05 +00:00
77236bf0ec
Bump tomli from 2.3.0 to 2.4.0 in /python ( #3182 )
...
Bumps [tomli](https://github.com/hukkin/tomli ) from 2.3.0 to 2.4.0.
- [Changelog](https://github.com/hukkin/tomli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hukkin/tomli/compare/2.3.0...2.4.0 )
---
updated-dependencies:
- dependency-name: tomli
dependency-version: 2.4.0
dependency-type: direct:development
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>
2026-01-21 05:38:12 +00:00
Evan Mattson and GitHub
6d7690e485
Python: fix(ag-ui): properly handle json serialize with handoff workflows as agent ( #3275 )
...
* fix(ag-ui): properly handle json serialize with handoff workflows as agent
* Other improvements around handling non-serializable objects
2026-01-21 02:43:14 +00:00
Evan Mattson and GitHub
6b5437e4ec
Python: fix(core): handle anyio cancel scope errors during MCP connection cleanup ( #3277 )
...
* fix(core): handle anyio cancel scope errors during MCP connection cleanup
* Address Copilot feedback
2026-01-21 01:49:07 +00:00
Eduard van Valkenburg and GitHub
83e6229c11
Python: [Breaking] Simplified Content types to a single class with classmethod constructors. ( #3252 )
...
* ported Content to a new model
* fixed linting
* fixes
* fixed data format handling
* fix for 3.10 mypy
* fix
* fix int test
2026-01-20 22:09:39 +00:00
f8c84d4ee6
Python: Fix: Add system_instructions to ChatClient LLM span tracing ( #3164 )
...
* Fix: Add system_instructions to ChatClient LLM span tracing
- Add system_instructions parameter to _capture_messages() calls in
_trace_get_response() and _trace_get_streaming_response()
- Extract instructions from chat_options in kwargs
- Add unit tests to verify system_instructions are captured correctly
When using ChatClient with ChatOptions.instructions, the OpenTelemetry
LLM span was missing system messages in gen_ai.input.messages and the
gen_ai.system_instructions attribute was not being set.
This fix aligns the ChatClient-level tracing with the Agent-level
tracing which already correctly passes system_instructions.
Fixes #3163
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
* Add edge case tests for system_instructions
- Add test for empty string instructions (should not set attribute)
- Add test for list-type instructions (verify multiple items captured)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
* Simplify: use options.get('instructions') directly instead of kwargs.get('chat_options')
Addresses reviewer feedback:
- Removed unnecessary chat_options variable from kwargs
- Directly access instructions from the options parameter
- Updated tests to use dict syntax for options (TypedDict convention)
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-20 14:04:31 +00:00
8ee379d344
Bump tar from 7.4.3 to 7.5.3 in /python/packages/devui/frontend ( #3267 )
...
Bumps [tar](https://github.com/isaacs/node-tar ) from 7.4.3 to 7.5.3.
- [Release notes](https://github.com/isaacs/node-tar/releases )
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/isaacs/node-tar/compare/v7.4.3...v7.5.3 )
---
updated-dependencies:
- dependency-name: tar
dependency-version: 7.5.3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-20 07:26:34 +00:00
2a43caefaa
Bump ruff from 0.14.11 to 0.14.13 in /python ( #3287 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.14.11 to 0.14.13.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.14.11...0.14.13 )
---
updated-dependencies:
- dependency-name: ruff
dependency-version: 0.14.13
dependency-type: direct:development
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>
2026-01-20 07:26:06 +00:00
f54248b79f
Bump uv from 0.9.25 to 0.9.26 in /python ( #3288 )
...
Bumps [uv](https://github.com/astral-sh/uv ) from 0.9.25 to 0.9.26.
- [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.9.25...0.9.26 )
---
updated-dependencies:
- dependency-name: uv
dependency-version: 0.9.26
dependency-type: direct:development
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>
2026-01-20 07:25:45 +00:00
Victor Dibia and GitHub
0f29637b86
fix #3171 , ensure proper form rendering for int ( #3201 )
2026-01-20 07:25:12 +00:00
Evan Mattson and GitHub
e0b9be7e08
Python: fix(declarative): Fix MCP tool connection not passed from YAML to Azure AI agent creation API ( #3248 )
...
* fix(declarative): Fix MCP tool connection not passed from YAML
* Add samples to README
* Fix mypy
* Fix mypy again
* Address PR comments
2026-01-20 07:24:20 +00:00
Dmytro Struk and GitHub
83e8965c8e
Python: [BREAKING] Make response_format validation errors visible to users ( #3274 )
...
* Make response_format validation errors visible to users
* Small fix
* Addressed comments
2026-01-19 17:20:46 +00:00
3243652df6
Python: Filter conversation_id when passing kwargs to agent as tool ( #3266 )
...
* Filter conversation_id when passing kwargs to agent as tool
* Small fix
* Update python/samples/getting_started/agents/azure_ai/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/samples/getting_started/agents/openai/openai_responses_client_with_agent_as_tool.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/samples/getting_started/agents/azure_ai/azure_ai_with_agent_as_tool.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-19 12:54:06 +00:00
Dmytro Struk and GitHub
915df3b404
Python: Added rai_config to Azure AI agent creation ( #3265 )
...
* Add kwargs to create_agent method
* Added test for kwargs
* Addressed comment
* Added doc string
2026-01-19 12:51:27 +00:00
Dmytro Struk and GitHub
f87e55ba33
Python: Fixed use_agent_middleware calling private _normalize_messages ( #3264 )
...
* Fix use_agent_middleware calling private _normalize_messages
* Fixed A2A and Copilot Studio agent
2026-01-19 12:50:14 +00:00
Dmytro Struk and GitHub
9bfa1a913c
Python: Fixed Azure chat client for asynchronous filtering ( #3260 )
...
* Fixed Azure chat client for asynchronous filtering
* Updated test
2026-01-19 12:49:23 +00:00
Giles Odigwe and GitHub
9e3b2fa09a
Python: Update package version ( #3258 )
...
* package version 260116
* removed name tags
2026-01-16 21:06:30 +00:00
Dmytro Struk and GitHub
5687e13221
Python: [BREAKING] Renamed create_agent to as_agent ( #3249 )
...
* Renamed create_agent to as_agent
* Override for as_agent
* Added override
2026-01-16 19:21:52 +00:00
Dmytro Struk and GitHub
b773830e4b
Create/Get Agent API - fixes and example improvements ( #3246 )
2026-01-16 04:36:34 +00:00
Hao Luo and GitHub
975884f32d
Python: (AG-UI) Support service-managed thread on AG-UI ( #3136 )
...
* added service thread support
* set service_thread_id to only supplied_thread_id
* uses raw_representation to extract the conversation_id
* removed accidental edit
* updated test to use raw_representation
* resolves copilot review feedback
* revert back StubAgent, since not used
* removed relative module import
* removed hasattr check per PR feedback
2026-01-16 03:28:13 +00:00
Dmytro Struk and GitHub
b5ca0c8eda
Python: Create/Get Agent API for OpenAI Assistants ( #3208 )
...
* Added provider implementation
* Added example with response format
* Small improvements
2026-01-15 22:52:32 +00:00
dd3e2b6e53
Bump azure-core from 1.37.0 to 1.38.0 in /python ( #3209 )
...
Bumps [azure-core](https://github.com/Azure/azure-sdk-for-python ) from 1.37.0 to 1.38.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-python/releases )
- [Commits](https://github.com/Azure/azure-sdk-for-python/compare/azure-core_1.37.0...azure-core_1.38.0 )
---
updated-dependencies:
- dependency-name: azure-core
dependency-version: 1.38.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-15 22:25:41 +00:00
Dmytro Struk and GitHub
48d124efbe
Python: Create/Get Agent API for Azure V1 ( #3192 )
...
* Added provider implementation for Azure AI V1
* Small fixes
* Fixed OpenAPI example
* Fixed local MCP example
* Fixed hosted MCP example
* Fixed file search sample
* Small fixes
* Resolved comments
* Doc updates
2026-01-15 22:19:03 +00:00
Dmytro Struk and GitHub
6e9420f614
Updated DurableAIAgent and fixed integration tests ( #3241 )
2026-01-15 21:43:26 +00:00
Evan Mattson and GitHub
15d0c34d9f
Python: Properly configure structured outputs based on new options dict ( #3213 )
...
* Properly configure structured outputs based on new options dict
* Fix mypy
2026-01-15 11:41:46 +09:00
Evan Mattson and GitHub
620da7a829
Python: fix(ag-ui): add MCP tool support for AG-UI approval flows ( #3212 )
...
* add MCP tool support for AG-UI approval flows
* use attribute in place of property
2026-01-15 02:34:11 +00:00
Evan Mattson and GitHub
80b25a782b
fix(workflows): rename WorkflowOutputEvent.source_executor_id to executor_id for API consistency ( #3166 )
2026-01-15 02:11:25 +00:00
Evan Mattson and GitHub
ffe2e787ba
Python: fix(core): correct FunctionResultContent ordering in WorkflowAgent.merge_updates ( #3168 )
...
* fix(core): simplify FunctionResultContent ordering in WorkflowAgent.merge_updates
* improve comment
* Fix name
2026-01-15 01:54:44 +00:00
cb2862d4c3
update package versions ( #3223 )
...
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com >
2026-01-14 23:26:50 +00:00
Giles Odigwe and GitHub
9b9a0f178c
Python: Added AzureAI sample for downloading code interpreter generated files ( #3189 )
...
* added azure ai code interpreter file download sample
* copilot fix suggestions
* function name fixes + readme update
* small fix
2026-01-14 22:50:07 +00:00
Tao Chen and GitHub
6c956ec596
Python: Add more specific exceptions to Workflow ( #3188 )
...
* Add more specifc workflow exceptions
* Fix tests
* AI comments
* Misc
2026-01-14 20:10:52 +00:00
99c5718696
Python: Create/Get Agent API for Azure V2 ( #3059 )
...
* Added get_agent method to Azure AI V2
* Small fixes
* Small fix
* Removed AzureAIAgentProvider
* Added create_agent method
* Small fixes
* Fixed code interpreter tool mapping
* Added agent provider for V2 client
* Updated response format handling
* Added provider example
* Fixed errors
* Update python/samples/getting_started/agents/azure_ai/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Small fix
* Updates from merge
* Resolved comments
* Resolved comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-14 19:35:01 +00:00
Eduard van Valkenburg and GitHub
d8cf8361bd
renamed all ( #3207 )
2026-01-14 05:54:07 +00:00
Evan Mattson and GitHub
1ae0b09e42
Python: Add dependencies param to ag-ui FastAPI endpoint ( #3191 )
...
* Add dependencies param to ag-ui FastAPI endpoint
* Address Copilot feedback
2026-01-13 22:31:33 +00:00
Tao Chen and GitHub
0b152418b6
[BREAKING] Python: Refactor orchestrations ( #3023 )
...
* Group chat refactoring Part 1; Next: HIL and handoff
* Add agent approval flow; next samples
* WIP: samples
* WIP: HIL samples
* Group chat HIL working; next: handoff
* Fix group chat tool approval sample
* WIP: refactor handoff; next handoff handling
* Handoff done; next handoff samples and concurrent and sequential
* Handoff samples, concurrent, and sequential done; next Magentic
* WIP: magentic; next test with samples + HIL
* Magentic Working; next fix all samples and tests
* Fix handoff samples; next tests
* WIP: fixing tests; some orchestration as agent samples are failing
* Group chat unit tests done
* Handoff unit tests done
* Remove old orchestration_request_info and fix related tests
* Magentic unit tests done
* Fix samples
* Fix test
* Fix test 2
* mypy
* Address comments
* Update readme
* Address comments
* Address comments 2
* Replace display name
2026-01-13 18:40:26 +00:00
Eduard van Valkenburg and GitHub
3e97425245
Python: [BREAKING]: Introducing Options as TypedDict and Generic ( #3140 )
...
* WIP typeddict for options
* updated all clients and ChatAgents
* updated everything
* added ADR
* fix mypy
* proper typevar imports
* fixed import
* fixed other imports
* slight update in the sample
* updated from feedback
* fixes
* fixed missing covariants and test fixes
* fixed typing
* updated anthropic thinking config
* ruff fixes
* fixed int tests
* fix tests and mypy
* updated integration tests
* updated docstring and test fix
* improved options handling in obser
* mypy fix
* updated a host of integration tests
* fix tests
* bedrock fix
2026-01-13 16:41:05 +00:00
Evan Mattson and GitHub
9c094573e8
Python: Add declarative workflow runtime ( #2815 )
...
* Further support for declarative python workflows
* Add tests. Clean up for typing and formatting
* Improvements and cleanup
* Typing cleanup. Improve docstrings
* Proper code in docstrings
* Fix malformed code-block directive in docstring
* Remove dead links
* PR feedback
* Address PR feedback
* Address PR feedback
* Remove sl
* Update devui frontend
* More cleanup
* Fix uv lock
* Skip Py 3.14 tests as powerfx doesn't support it
* Fix mypy error
* Fix for tool calls
* Removed stale docstring
* Fix lint
* Standardize on .NET namespaces. Revert DevUI changes (bring in later)
* Implement remaining items for Python declarative support to match dotnet
2026-01-13 07:11:21 +00:00