SE の雑記

SQL Server の情報をメインに Microsoft 製品の勉強内容を日々投稿

Archive for 3月 2nd, 2026

2026/03/02 時点では、Microsoft Agent 365 SDK の Python のクイックスタートを動かすだけであれば、OpenAI Agent SDK を使用したほうが楽だと思った件について

leave a comment

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

Read the rest of this entry »

Written by Masayuki.Ozawa

3月 2nd, 2026 at 9:11 am

Posted in Agent 365

Tagged with