5e056b672e
Python: [BREAKING] Python: Provider-leading client design & OpenAI package extraction ( #4818 )
...
* Python: Provider-leading client design & OpenAI package extraction
Major refactoring of the Python Agent Framework client architecture:
- Extract OpenAI clients into new `agent-framework-openai` package
- Core package no longer depends on openai, azure-identity, azure-ai-projects
- Rename clients for discoverability: OpenAIResponsesClient → OpenAIChatClient,
OpenAIChatClient → OpenAIChatCompletionClient
- Unify `model_id`/`deployment_name`/`model_deployment_name` → `model` param
- New FoundryChatClient for Azure AI Foundry Responses API
- New FoundryAgent/FoundryAgentClient for connecting to pre-configured Foundry agents
- Remove OpenAIBase/OpenAIConfigMixin from non-deprecated client MRO
- Deprecate AzureOpenAI* clients, AzureAIClient, OpenAIAssistantsClient
- Reorganize samples: azure_openai+azure_ai+azure_ai_agent → azure/
- ADR-0020: Provider-Leading Client Design
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* fix: missing Agent imports in samples, .model_id → .model in foundry_local sample
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* fix: CI failures — mypy errors, coverage targets, sample imports
- azure-ai mypy: add type ignores for TypedDict total=, model arg, forward ref
- Coverage: replace core.azure/openai targets with openai package target
- project_provider: add type annotation for opts dict
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* fix: populate openai .pyi stub, fix broken README links, coverage targets
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* fixes
* updated observabilitty
* reset azure init.pyi
* fix errors
* updated adr number
* fix foundry local
* fixed not renamed docstrings and comments, and added deprecated markers to old classes
* fix tests and pyprojects
* fix test vars
* updated function tests
* update durable
* updated test setup for functions
* Fix Foundry auth in workflow samples
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Stabilize Python integration workflows
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Update hosting samples for Foundry
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Trigger full CI rerun
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Trigger CI rerun again
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* trigger rerun
* trigger rerun
* fix for litellm
* undo durabletask changes
* Move Foundry APIs into foundry namespace
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Fix Foundry pyproject formatting
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Split provider samples by Foundry surface
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Restore hosting sample requirements
Also fix the Foundry Local sample link after the provider sample move.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* updated tests
* udpated foundry integration tests
* removed dist from azurefunctions tests
* Use separate Foundry clients for concurrent agents
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* fix client setup in azfunc and durable
* disabled two tests
* updated setup for some function and durable tests
* improved azure openai setup with new clients
* ignore deprecated
* fixes
* skip 11
* remove openai assistants int tests
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-25 09:56:29 +00:00
f48c4512d3
Python: Simplify Python Poe tasks and unify package selectors ( #4722 )
...
* updated automation tasks and commands, with alias for the time being
* Restore aggregate test exclusions
Preserve the legacy all-tests scope for test --all by excluding lab and devui from the default aggregate sweep, while still allowing explicit package selection. Also ignore hidden/generated test directories such as .mypy_cache during aggregate discovery.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* updated versions in pre-commit
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-18 18:39:11 +00:00
Eduard van Valkenburg and GitHub
b7990908fe
fix duplicate names between supplied tools and mcp servers ( #4649 )
2026-03-13 08:22:56 +00:00
23ebfbc937
Python: Support skill scripts execution ( #4558 )
...
* support skill scripts execution
* fix mixed line endings
* address comments and fix syntax issues
* use few try/except instead of one
* change samples
* validate either script path or script resource is set not both
* fix: separate LLM args from runtime kwargs in skill script execution
* address pr review comments
* address PR review comments
* Update python/packages/core/agent_framework/_skills.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/packages/core/agent_framework/_skills.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/packages/core/agent_framework/_skills.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* 1. Fixing the caching bug where parameters_schema would re-inspect on every call when the result was None
2. Updating the arguments tool description to be more generic (not CLI-specific)
* fix failing tests
* address pr review comments
* address pr review comments
* allow resource function returning any instead of sting
* address PR review comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-11 18:28:30 +00:00
SergeyMenshykh and GitHub
8bf4235f4e
Python: Forward runtime kwargs to skill resource functions ( #4417 )
...
* support code skills
* address pr review comments
* address package and syntax checks
* address pr review comments
* address pr review comment
* address failed check
* rename agentskill and agetnskillprovider
* move agent skills related assets to _skills.py
* address pr review comments
* address review comments
* support kwargs
* address pr review feedback
2026-03-05 18:01:25 +00:00
SergeyMenshykh and GitHub
4dad26fcae
Python: [BREAKING] Support code-defined agent skills ( #4387 )
...
* support code skills
* address pr review comments
* address package and syntax checks
* address pr review comments
* address pr review comment
* address failed check
* rename agentskill and agetnskillprovider
* move agent skills related assets to _skills.py
* address pr review comments
* address review comments
2026-03-04 18:36:02 +00:00
4dc35e9bb0
Python: Support Agent Skills ( #4210 )
...
* Python: Support Agent Skills
Add FileAgentSkillsProvider, a context provider that discovers and exposes
Agent Skills from filesystem directories following the Agent Skills
specification (https://agentskills.io/ ) progressive disclosure pattern:
advertise, load, read resources.
Changes:
- FileAgentSkillsProvider - discovers SKILL.md files from configured
directories, advertises skills via system prompt injection, and provides
load_skill / read_skill_resource tools for on-demand access.
- Internal helpers for skill discovery, frontmatter parsing, and secure
resource reading (path traversal / symlink guards).
- Unit tests covering discovery, loading, resource reading, and security
scenarios.
- Sample (basic_file_skills) demonstrating usage with an expense-report skill.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* Python: Move skills sample to samples/02-agents/basic_skills/
Align sample directory name with .NET equivalent (Agent_Step01_BasicSkills).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
* fix code quality checks
* address pr review comment and code quality check issue
* address pr review comments
* move the sample to the skills folder
* update readme
* reame consts and use types for them
* leverage pathlib for working with files
* refactor the test
* supply schema to functions
* update readme
* update sample name
* address pr review comments
* fix failing lint check
* address failing check
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-02-25 13:02:26 +00:00