Migrating to AutoGen python-v0.6.4
Version python-v0.6.4 introduces 2 breaking changes. This guide details how to update your code.
Released: 7/9/2025
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
GraphFlowGraphFlowManagerStopAgent_StopAgentTaskResultMcpWorkbenchStaticWorkbenchAssistantAgentSingleThreadedAgentRuntimeDuckDuckGoSearchToolBreaking Changes
●Issue #1
The inner StopAgent has been removed from GraphFlow. The last message will no longer come from StopAgent; instead, check the stop_reason field in TaskResult.
●Issue #2
GraphFlow now retains execution state after termination conditions are hit, requiring an explicit finish (no available next agents) to reset state automatically.
Migration Steps
- 1Update code that relies on receiving a final message from StopAgent to instead inspect the 'stop_reason' field in the 'TaskResult' object.
- 2Review GraphFlow implementations to ensure logic accounts for state retention between tasks until the graph fully completes.
Release Summary
This release improves GraphFlow state persistence and termination logic, adds tool override capabilities to Workbench implementations, and expands model support for Claude and Qwen2.5-VL.
Need More Details?
View the full release notes and all changes for AutoGen python-v0.6.4.
View Full Changelog