Skip to content

Python: ImportError for Magentic classes – version supporting Magentic orchestration needed #2557

@ManilTenuka

Description

@ManilTenuka

Example code:

from agent_framework import (
ChatAgent,
HostedCodeInterpreterTool,
MagenticAgentDeltaEvent,
MagenticAgentMessageEvent,
MagenticBuilder,
MagenticCallbackEvent,
MagenticCallbackMode,
MagenticFinalResultEvent,
MagenticOrchestratorMessageEvent,
WorkflowCompletedEvent,
)

ImportError: cannot import name 'MagenticCallbackEvent' from 'agent_framework'
(C:\Users\DELL\Desktop\agenticAI POc\AI-Agent-PoCs.venv\Lib\site-packages\agent_framework_init_.py)

It seems that the current PyPI release does not include the full set of Magentic orchestration classes.

Could you please provide:

A version of agent-framework that includes the missing Magentic classes.
Or guidance on how to use these classes from GitHub (branch, tag, or installation instructions).

Thank you!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions