Title: Python Agent Framework sample fails to import with currently resolved SDK dependencies
Description:
Summary
The Python Agent Framework sample uses SDK APIs that are unavailable in the dependency versions resolved during setup.
I encountered this in a local copy of the sample. I also checked upstream main on September 9, 2026 and confirmed that it contains the same imports and unconstrained Agent Framework dependency.
Sample: https://github.com/microsoft/Agent365-Samples/tree/main/python/agent-framework/sample-agent
Environment
- macOS, Apple Silicon ARM64
- Python 3.11.15
agent-framework-core==1.17.0
agent-framework-openai==1.14.2
agent-framework-azure-ai==1.0.0rc6
microsoft-agents-a365-tooling-extensions-agentframework==1.0.0
Steps to Reproduce
From an unmodified copy of the sample directory:
uv venv --python 3.11
source .venv/bin/activate
uv pip install -e .
python -c "import agent"
Dependency resolution can change over time; the versions above describe the environment where I observed the failure.
Actual Behavior
Importing the sample fails before startup or credential validation:
ImportError: cannot import name 'ChatAgent' from 'agent_framework'
After updating that import and its constructor locally, the next import fails:
ImportError: cannot import name 'AzureOpenAIChatClient' from 'agent_framework.azure'
Expected Behavior
Following the documented installation steps should produce an application that imports successfully with the resolved dependencies.
Suggested Resolution
Update the sample to APIs compatible with the Agent 365 integration and provide a tested dependency set. An import and agent-construction smoke test would help catch future SDK incompatibilities.
Title: Python Agent Framework sample fails to import with currently resolved SDK dependencies
Description:
Summary
The Python Agent Framework sample uses SDK APIs that are unavailable in the dependency versions resolved during setup.
I encountered this in a local copy of the sample. I also checked upstream
mainon September 9, 2026 and confirmed that it contains the same imports and unconstrained Agent Framework dependency.Sample: https://github.com/microsoft/Agent365-Samples/tree/main/python/agent-framework/sample-agent
Environment
agent-framework-core==1.17.0agent-framework-openai==1.14.2agent-framework-azure-ai==1.0.0rc6microsoft-agents-a365-tooling-extensions-agentframework==1.0.0Steps to Reproduce
From an unmodified copy of the sample directory:
Dependency resolution can change over time; the versions above describe the environment where I observed the failure.
Actual Behavior
Importing the sample fails before startup or credential validation:
After updating that import and its constructor locally, the next import fails:
Expected Behavior
Following the documented installation steps should produce an application that imports successfully with the resolved dependencies.
Suggested Resolution
Update the sample to APIs compatible with the Agent 365 integration and provide a tested dependency set. An import and agent-construction smoke test would help catch future SDK incompatibilities.