Microsoft Agent 365 SDK を使用して、Python で構築されたエージェントを展開する方法のクイックスタートとして、クイックスタート: Python Agent Framework サンプル エージェントの設定と実行 が公開されています。
このクイックスタートでは Agent Framework Sample Agent – Python が使用されていますが、2026/03/02 時点では、このサンプロを利用仕様とすると次のエラーが発生します。
uv run python start_with_generic_host.py
warning: The `tool.uv.dev-dependencies` field (used in `pyproject.toml`) is deprecated and will be removed in a future release; use `dependency-groups.dev` instead
???????????????????? [0/10] Installing wheels… warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
If the cache and target directories are on different filesystems, hardlinking may not be supported.
If this is intentional, set `export UV_LINK_MODE=copy` or use `–link-mode=copy` to suppress this warning.
Installed 10 packages in 1.06s
Import error: cannot import name ‘ChatAgent’ from ‘agent_framework’ (D:\git\Agent365_QuickStart\agent365-agentframework-python_2\.venv\Lib\site-packages\agent_framework\__init__.py)
Please ensure you’re running from the correct directory