Skip to content

python/agent-framework/sample-agent no longer works due to breaking changes in Agent Framework #221

@shunishii

Description

@shunishii

Description

Due to recent breaking changes in the Agent Framework, Agent Framework Sample Agent - Python no longer works as expected.
The sample appears to rely on APIs or behaviors that were changed or removed in newer versions of the Agent Framework.

Expected behavior

Align the code with the current Agent Framework APIs.
Alternatively, explicitly fix the library version to a pre-breaking-change release (1.0.0b260210) to avoid confusion for users.

SDK Version

agent-framework-core 1.0.0b260212

Language/Runtime

Python

OS

Windows

How to Reproduce

Follow the quickstart documentation.

  1. Clone and open the sample code.
  2. Run uv pip install -e . --prerelease=allow to install the packages written in pyproject.toml
  3. Run uv run python start_with_generic_host.py

Output

Import error: cannot import name 'ChatAgent' from 'agent_framework'

Screenshots

No response

Code of Conduct

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions