Frustrated - Microsoft Agent Libraries not working ? How to fix it ?

Henry-Philippe Dumont 20 Reputation points
2026-02-13T11:19:26.2233333+00:00

Microsoft Agent Framework Workflows Orchestrations - Magentic

I have been exploring the Microsoft Agent Framework because it enables the creation of Magentic workflows within Azure AI Foundry, which could provide significant added value for orchestrating agent-based processes.

However, after installing the library using:

pip install agent-framework --pre
# or
pip install agent-framework

some modules are not functioning as expected. For example, the following imports fail:

from agent_framework import Agent, HostedCodeInterpreterTool
from agent_framework.openai import OpenAIChatClient, OpenAIResponsesClient

When are you gonna fix those modules ?

Foundry Tools
Foundry Tools

Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform


Answer accepted by question author
Manas R Mohanty 17,270 Reputation points Moderator
2026-02-18T14:31:45.76+00:00

Was this answer helpful?


1 additional answer

Sort by: Most helpful
  1. Henry-Philippe Dumont 20 Reputation points
    2026-02-24T13:35:20.6133333+00:00

    I came across this AI-related content and I’m wondering whether parts of the research might be hallucinated. There appears to be a discrepancy between the learning path and the GitHub repository.

    More specifically, there are differences between the examples and tutorials and the actual code, but these differences are not documented or mentioned anywhere.

    In addition, the Microsoft Learn page does not specify which version this content is based on.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.